Download the produced audio by Speech SpeechSynthesizer C#

183 Views Asked by At

Here's the code:

SpeechSynthesizer synth = new SpeechSynthesizer();
                synth.SelectVoiceByHints(VoiceGender.Male, VoiceAge.Senior);
                // Configure the audio output.   
                synth.SetOutputToDefaultAudioDevice();

                // Speak a string.  
                synth.Speak("Hello World");

After it's done playing I want it to just automatically download the produced audio, is there any way I can do this?

0

There are 0 best solutions below