Normally, Festival will try to play audio. When you are logged in remotely, it cannot do this and may actually crash when it is denied access to the audio device. You need to adjust the way audio is handled like this:
festival> (Parameter.set 'Audio_Method 'Audio_Command) festival> (Parameter.set 'Audio_Required_Rate 16000) festival> (Parameter.set 'Audio_Required_Format 'riff) festival> (Parameter.set 'Audio_Command "cp $FILE ~/Documents/output.wav") festival> (set! myutt (SayText "Example Sentence"))
after which you will find the file output.wav
in your Documents
folder. You can access this file from your personal computer in order to listen to it. (Mac tip: select the file in the Finder and use the space bar to play it; no need to open any application.)
You may prefer to save the file somewhere other than your Documents
folder. It may be best to make a special folder just for this purpose, which contains as few files as possible. Browsing folders with many files and sub-folders using your operating systems’ graphical interface can be slow over the network.