Taranis-Voicebot/Taranis-Voicebot.sh

11 lines
329 B
Bash
Raw Normal View History

2017-03-08 15:21:52 +11:00
#!/bin/bash
echo "Creating folders..."
mkdir -p SOUNDS/en/SYSTEM
echo "Done!"
echo "Generating sounds..."
while IFS=';' read location filename words
do
say --file-format=WAVE --data-format=LEI16@32000 --channels=1 -v Daniel -o "$location/$filename" "$words"
echo "Generating $location/$filename..."
done < $1
echo "Done!"