(adsbygoogle = window.adsbygoogle || []).push({});
Hi NGU,
Hi seen tools like Scar's and Tyler's that have voice playback so I thought id share how to do it!
Project-Add Reference-Assemblies- Framework- and check System.Speech
You then need to add "using System.Speech.Synthesis;" to the top of your coding like this
You must login or register to view this content.
In the button or whatever you want to add the speech to you simply need to add this coding, I use it for when my tool fails to connect but you can make it say anything:
using (SpeechSynthesizer synth = new SpeechSynthesizer())
{
synth.SetOutputToDefaultAudioDevice();
synth.Speak("Failed to connect");
}
\I hope this helped the people that didn't know how to code this and wanted to know how