added TCAS warning

This commit is contained in:
jameswood 2017-03-08 17:06:29 +11:00
parent 0ac9459c7f
commit 8a186187fb
4 changed files with 14 additions and 12 deletions

View File

@ -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!
SOUNDS/en;tcas.wav;Pull up: terrain!

1 SOUNDS/en/SYSTEM 0000.wav 0
245 SOUNDS/en slflvl.wav self-levelling
246 SOUNDS/en acro.wav oh god crash mode
247 SOUNDS/en slflv.wav safe nice mode - ahh
248 SOUNDS/en tcas.wav Terrain! Pull up! Pull up: terrain!

View File

@ -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

BIN
SOUNDS/en/tcas.wav Normal file

Binary file not shown.

View File

@ -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!"
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!"