I'm using the SpeechSynthesizer class for reading out text.
I have a slider control for changing the volume . On Slider's ValueChanged event , i'm setting the Volume property of the Speech Synthesizer (This is while the Synthesizer is speaking out the text), but there is no effect in real time. And takes effect only when i run it the next time .
System.Speech.Synthesis.SpeechSynthesizer sp = new System.Speech.Synthesis.SpeechSynthesizer(); void SliderVolume_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
Please help me resolve this .