diff --git a/EN-Taranis-Daniel.csv b/EN-Taranis-Daniel.csv index f74ef63..ccf7124 100755 --- a/EN-Taranis-Daniel.csv +++ b/EN-Taranis-Daniel.csv @@ -245,4 +245,4 @@ SOUNDS/en;disarm.wav;dis armed SOUNDS/en;slflvl.wav;self-levelling SOUNDS/en;acro.wav;oh god crash mode SOUNDS/en;slflv.wav;safe nice mode - ahh -SOUNDS/en;tcas.wav;Terrain! Pull up! \ No newline at end of file +SOUNDS/en;tcas.wav;Pull up: terrain! diff --git a/README.md b/README.md index 0748b47..d8603a8 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ A Mac shell script to generate voice files for the Taranis series of RC radio control systems. # Simple Instructions (or if you're not on a mac) -1. Click the *Clone or Download* button. -1. Click *Download Zip*. -1. Copy the SOUNDS folder to your Taranis SD card. +1. Click the **Clone or Download** button. +1. Click **Download Zip**. +1. Copy the **SOUNDS** folder to your Taranis SD card. 1. [This is a great tutorial on setting up Taranis sounds](https://oscarliang.com/taranis-play-sound-track-mp3-files/). # Customisation Instructions diff --git a/SOUNDS/en/tcas.wav b/SOUNDS/en/tcas.wav new file mode 100644 index 0000000..0627b2f Binary files /dev/null and b/SOUNDS/en/tcas.wav differ diff --git a/Taranis-Voicebot.sh b/Taranis-Voicebot.sh index a8c0a0e..676033c 100755 --- a/Taranis-Voicebot.sh +++ b/Taranis-Voicebot.sh @@ -1,11 +1,13 @@ #!/bin/bash -echo "Creating folders..." +echo -n "Creating folders..." mkdir -p SOUNDS/en/SYSTEM -echo "Done!" +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!" \ No newline at end of file +IFS=';' +while read location filename words + do + echo -n "Generating $location/$filename..." + say --file-format=WAVE --data-format=LEI16@32000 --channels=1 -v Daniel -o "$location/$filename" "$words" + echo "Done" + done < $1 +echo "All finished!" \ No newline at end of file