Trying to make sound files play nicely with pulse.
This commit is contained in:
parent
1bbe334782
commit
3fe5dd87a4
@ -401,7 +401,7 @@ if [ "$speakTime" == "true" ] ; then
|
|||||||
"gama_tts")
|
"gama_tts")
|
||||||
gama_tts_wav="$(mktemp --suffix gama_talking_clock.wav)"
|
gama_tts_wav="$(mktemp --suffix gama_talking_clock.wav)"
|
||||||
echo "$timeString" | gama_tts tts "${gama_tts_path:-/usr/local/share/gama_tts/data/english/vtm5}" $gama_tts_wav &> /dev/null
|
echo "$timeString" | gama_tts tts "${gama_tts_path:-/usr/local/share/gama_tts/data/english/vtm5}" $gama_tts_wav &> /dev/null
|
||||||
$soundCommand $gama_tts_wav
|
XDG_RUNTIME_DIR=/run/user/$UID $soundCommand $gama_tts_wav
|
||||||
rm $gama_tts_wav
|
rm $gama_tts_wav
|
||||||
;;
|
;;
|
||||||
"googletts")
|
"googletts")
|
||||||
|
Loading…
Reference in New Issue
Block a user