You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 保存音频staticvoidSaveAudio(){PlayOptionoption=newPlayOption{Rate=0,Text="Hello EdgeTTs",SavePath="C:\\audio"};// 获取xiaoxiao语音包varvoice=Edge_tts.GetVoice().FirstOrDefault(i =>i.Name=="Microsoft Server Speech Text to Speech Voice (zh-CN, XiaoxiaoNeural)");Edge_tts.SaveAudio(option,voice);}
usingEdge_tts_sharp;varvoices=Edge_tts.GetVoice();foreach(variteminvoices){Console.WriteLine($"voice name is{item.Name}, locale(语言) is {item.Locale}, SuggestedCodec(音频类型) is {item.SuggestedCodec}");}