文本转语音,语音转文本

时间:2022-06-20 15:49:26
【文件属性】:
文件名称:文本转语音,语音转文本
文件大小:34KB
文件格式:7Z
更新时间:2022-06-20 15:49:26
语音转文本 文本转语音 ConvertBT.IsEnabled = false; ConvertBT.Content = "正在转换"; SpeechSynthesizer voice = new SpeechSynthesizer(); //创建语音实例 voice.Rate = -1; //设置语速,[-10,10] voice.Volume = 100; //设置音量,[0,100] // var z = voice.GetInstalledVoices(); voice.SelectVoiceByHints(VoiceGender.Male, VoiceAge.Child); voice.SetOutputToDefaultAudioDevice(); string savepath = @savepathTXT.Text +"\\"+ DateTime.Now.ToString("
【文件预览】:
SoundToText
----bin()
--------Debug()
----obj()
--------Debug()
----MainWindow.xaml(3KB)
----Properties()
--------Resources.Designer.cs(3KB)
--------Settings.settings(418B)
--------Resources.resx(6KB)
--------Settings.Designer.cs(2KB)
--------AssemblyInfo.cs(2KB)
----FolderBrowserDialog.cs(3B)
----MainWindow.xaml.cs(7KB)
----SoundToText.csproj(4KB)
----App.config(927B)
----App.xaml(322B)
----App.xaml.cs(338B)
SoundToText.sln

网友评论