Search code examples
.netsapi

How to access SAPI 4 voices from .net framework 3.5


I’m trying to use a SAPI 4 engine (L&H TTS 3000) from .net 3.5 using System.Speech.Synthesis in windows XP.

The problem is than I can only get SAPI 5.1 engines when I call GetInstalledVoices.

I’m using SAPI 4 because I need a Spanish TTS engine and L&H TTS 3000 is the only one free that I have found.


Solution

  • The short answer is that you can't - System.Speech.Synthesis relies on SAPI 5.1, and SAPI 5.1 can't use SAPI 4 TTS engines.

    Sorry.