Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

How to use a TTS Engine in SAPI5

$
0
0

Hi all !

I have a software that Convert text to Speech and it support SAPI5 Interface.

  In VS2010 i browsed to it's installed foder and found  it.  It's name   NHMTTSENGLib.dll.

When i add it to references of my project but I don't now how to use it...

A function that I needed is :  Speak(uint, ref System.Guid, ref NHMTTSENGLib.WAVEFORMATEX, ref NHMTTSENGLib.SPVTEXTFRAG, NHMTTSENGLib.ISpTTSEngineSite) .

of course I have considered many example in SAPI5 and read many references in 

http://msdn.microsoft.com/en-us/library/ms719574(v=vs.85).aspx

But i don't see any code sample for that..

How can I implement a TTS engine to my project..

I need some code example that use 

Speak(  DWORDdwSpeakFlags,  REFGUIDrguidFormatId,constWaveFormatEx   *pWaveFormatEx, constSPVTEXTFRAG    *pTextFragList,ISpTTSEngineSite     *pOutputSite);

Thanks for Watching !


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>