missing parameter

master
Fabien Benetou 14 years ago
parent 233a4fd9d8
commit 2ce4c26f98
  1. 2
      pmwiki_recipes/pim_functions.php

@ -168,7 +168,7 @@ textFont(font);
/*
details at http://fabien.benetou.fr/MemoryRecalls/ImprovingPIM#AudioPIM
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
details on the HTML markup
https://developer.mozilla.org/en/HTML/Element/audio

Loading…
Cancel
Save