TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nageswararao Dhulipalla
NA
77
0
Performance issue using SpeechLib to speak the voice.
Sep 12 2011 3:04 AM
Hi,
I have used SpeechLib.dll to Speak the Synthetic Voices. When we call the Speak method some times it take lot of time to speak the voice.
To Speak the voice we have used below code:
voice.Voice = voice.GetVoices().Item(ddlVoices.SelectedIndex);
voice.Volume = trackBarVolume.Value;
voice.Rate = trackBarSpeed.Value;
speakingText = txtUserInput.Text;
voice.Speak(speakingText, SpeechLib.SpeechVoiceSpeakFlags.SVSFlagsAsync);
To Stop the Async speaking voice use below code:
voice.Speak("", SpeechLib.SpeechVoiceSpeakFlags.SVSFPurgeBeforeSpeak);
And in our application we are not playing single sentance, one sentance complete we have to call the Speak method to play the next sentance.
Please suggest how to resolve this issues.
Reply
Answers (
0
)
How to set timeout in windows applications?
Exception from HRESULT 0x80045006