Steveluo’s Blog

Just another WordPress.com weblog

SAPI

Posted by steveluo on March 14, 2009

I ran into speech demo Programming Speech in WPFSpeech Synthesis  which is based on Speech Application Programming Interface or SAPI  SDK  5.3  and found sound quality is not good because Xp default voice engine is  
Mircrosoft  Sam (you can find what voice engines have been installed on the computer by following Control Panel->Speech->Speech Properties->Text To Speech tab->Voice selection drop down window)
Try to download Microsoft Anna for my XP.

from
SpeechSynthesizer ttsSynth = new SpeechSynthesizer();
 ttsSynth.SelectVoice(“Microsoft Anna”);
//ttsSynth.Volume =  //ttsSynth.Rate 
 ttsSynth.Speak(“Greetings, my name is ” + ttsSynth.Voice.Name);

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: