How to save a text to speech into a wav-file?
Solved
General and Desktop
-
That's not supported.
-
according to SAPI5.4 (works for windows text to speech) , interface ISpVoice has a function named SetOutput() which may save the text to speech voice as a wav.file. the problem is that qspeech creates an ttsEngine object which declares a (ISpVoice* m_pVoice) as a private object. you can't access it from the uplevel object which means you can't access ISpVoice interface directly to be able to use any fuctions it supports.
Does anybody know why is it?
thanks a lot. -
Hi and welcome to devnet,
Likely a feature that nobody thought about yet. The module is pretty young, you are welcome to make suggestions to improve it.