I am writing an application with voice duplication of UI messages (it is for blind and low-vision people). The application will work with or without an internet connection, so I decided to use an internal SpeechSynthesizer. It looks like:
using (var synth = new SpeechSynthesizer())
{
synth.Speak("! missed");
}
My issue, that SpeechSynthesizer doesn't pronounce punctuation symbols. So the text above sounds like "missed". I have a stupid (but working) solution - I am replacing all punctuation symbols with appropriate text:
"! missed".Replace("!","exclamation mark");//-> exclamation mark missed
It works, but I'm pretty sure there should be settings to set it up. Could anybody point me to this setting?