|
|
|
@ -166,7 +166,7 @@ textFont(font); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// generated via e.g. |
|
|
|
|
// P=ReadingNotes.TurtlesTermitesAndTrafficJams; grep ^text= $P | sed "s/%0a/\\n/g" | sed "s/[^a-zA-Z]/ /g" > $P.txt && espeak -f $P.txt -w $P.wav && oggenc $P.wav && rm $P.wav |
|
|
|
|
// P=ReadingNotes.TheThingsWeDo; grep ^text= $P | sed "s/%0a/\\n/g" | sed "s/[^a-zA-Z]/ /g" > $P.txt && espeak -f $P.txt -w ../pub/audio/$P.wav && oggenc ../pub/audio/$P.wav && rm ../pub/audio/$P.wav $P.txt |
|
|
|
|
// note that the output could be improved by better parsing and exploring SSML/HTML support |
|
|
|
|
// details on the HTML markup |
|
|
|
|
// https://developer.mozilla.org/en/HTML/Element/audio |
|
|
|
|