解决方案 »

  1.   

    using System;
    using System.Collections.ObjectModel;
    using System.Speech.Synthesis;namespace ConsoleApplication10
    {
        class Program
        {
            static void Main(string[] args)
            {
                SpeechSynthesizer speech = new SpeechSynthesizer();
                ReadOnlyCollection<InstalledVoice> voices = speech.GetInstalledVoices();
                foreach (InstalledVoice voice in voices)
                {
                    VoiceInfo voiceInfo = voice.VoiceInfo;
                    Console.WriteLine(voiceInfo.Name);
                }
                speech.SelectVoice(voices[0].VoiceInfo.Name);
                speech.SpeakAsync("老板:来碗孤独,多放寂寞,少点空虚…");
                Console.ReadKey();
            }
        }
    }语音库你可以自己安装,系统自带的也有,但是好听点的就难找了。我现在也没找到
      

  2.   

    语音的话可以去下NeoSpeech lily的,不过目前都只支持X86!X64貌似只有只带的语音库能用!