|
|
@ -168,7 +168,7 @@ textFont(font); |
|
|
|
/* |
|
|
|
/* |
|
|
|
details at http://fabien.benetou.fr/MemoryRecalls/ImprovingPIM#AudioPIM |
|
|
|
details at http://fabien.benetou.fr/MemoryRecalls/ImprovingPIM#AudioPIM |
|
|
|
generated via e.g. |
|
|
|
generated via e.g. |
|
|
|
P=ReadingNotes.TheThingsWeDo; grep ^text= $P | sed "s/%0a/\\n/g" | sed 's/^!/TITLE /' | sed "s/[^a-zA-Z]/ /g" | sed "s/^TITLE\(.*\)/<voice gender=\"female\">\1<\/voice>/" > $P.txt && espeak -m $P.txt -w ../pub/audio/$P.wav && oggenc ../pub/audio/$P.wav && rm ../pub/audio/$P.wav $P.txt |
|
|
|
P=ReadingNotes.TheThingsWeDo; grep ^text= $P | sed "s/%0a/\\n/g" | sed 's/^!/TITLE /' | sed "s/[^a-zA-Z]/ /g" | sed "s/^TITLE\(.*\)/<voice gender=\"female\">\1<\/voice>/" > $P.txt && espeak -m -f $P.txt -w ../pub/audio/$P.wav && oggenc ../pub/audio/$P.wav && rm ../pub/audio/$P.wav $P.txt |
|
|
|
the output should be improved by better parsing |
|
|
|
the output should be improved by better parsing |
|
|
|
details on the HTML markup |
|
|
|
details on the HTML markup |
|
|
|
https://developer.mozilla.org/en/HTML/Element/audio |
|
|
|
https://developer.mozilla.org/en/HTML/Element/audio |
|
|
|