You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
188 B
Bash
12 lines
188 B
Bash
1 year ago
|
#!/bin/sh
|
||
|
|
||
|
echo " $1"
|
||
|
|
||
|
if [ "$2" = "1" ]; then
|
||
|
aplay ~/.seiscomp/siren03.wav
|
||
|
echo " $1" | sed 's/,/, ,/g' | festival --tts;
|
||
|
else
|
||
|
echo " $1" | sed 's/,/, ,/g' | festival --tts;
|
||
|
fi
|
||
|
|