I\'m working on a project which will speak the content of browsed web page.Browser is made by me using WebControl. I\'m using SAPI for speech engine. I wanted to highlight the l
You need to do the next line after the previous line finishes, using the TTS's completion event.
get all the sentences into one string, and call the speak just once. replace ur for loop with below:
string str1 = "";
for (int i = 0; i < splitSentences.Length; i++)
{
str1 += highlight(splitSentences[i]);
}
sound_object.Speak(str1, SpeechLib.SpeechVoiceSpeakFlags.SVSFlagsAsync);
hope this helps!