Search code examples
c++text-to-speechsapi

SAPI5 voices / using 32bit voices


After spending a whole lot of time on searching the web I think it's time to ask.

I'm trying to implement some text to speech with SAPI5 in C++. The only available 64bit voice is Anna. With Anna everything is fine, but I also need a german voice. So I found Hedda(Microsoft) and Steffi(Realspeak).

I already feel like implementing some dating service.

Neither Hedda nor Steffi are added to the registry. So both of them are not detected by SAPI while it checks "HKLM\SOFTWARE\Microsoft\Speech\Voices" to get the required tokens to select voices. I also tried to change the registry paths to ...\SOFTWARE\Wow6432Node... to use the 32bit voices, but no success.

Does anybody know how to use Hedda or Steffi with Sapi? Is there any way to use the 32bit voices?

Hope anyone can help. Thanks in advance.


Solution

  • Well, editing the registry did the job.

    After copying the registry entrys from "\Speech Server\v11.0..." to "\Speech..." (see Lesley Gushurst) and reinstalling SDK, Runtime and voice, voice-"Hedda" can be used on 64bit system with 64 bit application.

    Thanks for your help.