11 lines
329 B
Bash
Executable File
11 lines
329 B
Bash
Executable File
#!/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!" |