Am currently working on a project that uses Festival TTS engine on the RPi.
Have used it plenty before. I have also used pyfestival to do basic stuff. I am currently trying to generate the viseme file for a piece of text. This works perfectly if done in the Festival command interpreter, I need to do the exact same but in bash or python.
festival> (set! mytext (SayText "Hello word")) festival> (utt.save.segs mytext "hw_viseme_file")
Have searched high and low for this info but have drawn a blank. Can someone give an example of how the 2 lines of code above can be called from either bash or Python?
Many thanks.
DP.