Created
December 6, 2011 18:44
-
-
Save Iktomist/1439360 to your computer and use it in GitHub Desktop.
reads audouard coordinates aloud. requires proper formatting. uses raw audio for speed. edit the lame command to your needs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
sox -n -r 16000 -s "silents.raw" trim 0 5 | |
#NB, each game should contain one move on each line, followed by a period. quadrant names such as a and b need to be followed by a space in order to make sense to festival. otherwise they will come out as b four three, etc. | |
while IFS= read -r line; do | |
echo "$line" | text2wave -otype raw -F 16000 >> temp.raw | |
cat silents.raw temp.raw >> output.raw | |
rm -rf temp.raw | |
done < $@ | |
mv output.raw [email protected] | |
sox -r 16000 -b 16 -e signed-integer [email protected] [email protected] | |
ffmpeg -i [email protected] [email protected] | |
lame -V 08 --tt $@ --tl --ta [email protected] [email protected] | |
rm -rf [email protected] [email protected] [email protected] silents.raw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment