Search code examples
comatlsapi

SAPI TTS Engine with multiple Voice


I'd like to know if it's possible to handle multiple voices in a TTS Engine. Now I have an simple TTS engine which supports one voice. I'd like to extend it to support multiple voices in the same engine and switch to different voice internally within the engine. I want this just to avoid creating number of projects for each voice based on language or other parameters.

Thanks


Solution

  • Yes, you can. Typically you would do this underneath your ISpObjectWithToken implementation (as described in the TTS Engine Vendor Porting Guide).