首页 > 解决方案 > 通过 Speech SpeechSynthesizer C# 下载生成的音频

问题描述

这是代码:

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

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

播放完成后,我希望它自动下载制作的音频,有什么办法可以做到吗?

标签: c#text-to-speechspeechspeech-synthesisspeechsynthesizer

解决方案


推荐阅读