improved audio generation line (still not that good though)

master
Fabien Benetou 14 years ago
parent 10995b4e4a
commit eb520ecd50
  1. 2
      pmwiki_recipes/pim_functions.php

@ -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

Loading…
Cancel
Save