pause speech synthesizer from my code
Hello everyone,
I am presently working on speech synthesis on Ubuntu 10.04. So far I've been using festival but I discovered espeak by reading other people's previous questions and answers. My main goal is to develop a communication system whereby festival or espeak can speak to the end user and also can be paused/temporarily stopped if given a command from the user. I know that while using the interactive section of festival, one can pause using ctrl+z but I want another means to pause festival. I'll give a brief example:
--from my code festival is given a file to read:- less example.txt | festival --tts
(so it starts reading the file)
--then from my code, I want to give a command that will pause festival...
--thereafter, from my code, I want to continue running festival from where it stopped reading.
Please anyone who has a clue to this will make my day.
Thanks in advance!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu espeak Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Faby for more information if necessary.