below is the code am usng in a text to voice application. i need help so that the application uses the windows 10 default
talkback voice.
using System.Speech;
using System.Speech.Synthesis;
private void Speak()
{
speechSynthesizerObj = new SpeechSynthesizer();
speechSynthesizerObj.Volume = 100;
speechSynthesizerObj.SpeakAsync(richTextBox1.Text);
}
any help will be greatly appreciated

Amit MohantyPosted Jan 11, 2023, 4:36 AM
Hi,
Jefferson S. MottaPosted Jan 10, 2023, 9:06 PM
Hi!
Get SelectedVoiscesInstalled first:
from: SpeechSynthesizer.GetInstalledVoices Method (System.Speech.Synthesis) | Microsoft Learn