I have just installed the Festival 2.5.0, and in its interface when I type (SayText "hello"), I get no output sound at all. It only gives me this error:
festival> (SayText "hello")
FindNextComponent
Error setting input audio stream format.
#<Utterance 0x136893780>
I have tried different (Parameter.set) and all of them did not work.
However, when I type this following code, I could generate the wavefile in my local laptop and has no problem hearing it:
(set! myutt (Utterance Text "test"))
(utt.synth myutt)
(utt.save.wave myutt "myutt.wav" 'riff)
I am completely new in Festival and I have no clue why this error occurs. How could I fix this problem?
Not sure what operating system you are on, but I had the same problem on macOS. My solution was to set the following parameters from the Festival prompt:
After that I could say ‘hello’ with:
If you are on Linux, you could attempt to install
soxand replaceafplaywithplayin theParameter.setcall above.