在 Text-to-Speech C# 應用程序中操作“speaker voicer” (Manipulate "speaker voicer'' in Text-to-Speech C# Application)


問題描述

在 Text-to-Speech C# 應用程序中操作“speaker voicer” (Manipulate "speaker voicer'' in Text-to-Speech C# Application)

I'm working on a Text-to-Speech Application in C#. How to configure its TONE via an C# API? Or, do I need to download a library for that functionality? For example: Microsoft Sam's voice, now I wish to configure a self-define voice too.

Is is possible? Is 'SpeechSynthesizer' one of the key of doing this?


參考解法

方法 1:

Take a look at this QA on changing the voice.  You cannot manipulate the voice at all using C#, short of telling it what voice to use, if you have more than one installed. You can tweak some features of the voice using Speech Synthesis Markup Language (SSML), such as pitch and prosody, but these are more subtle changes and do not change the overall voice.  To modify the voice you need to install one compatible with the TTS engine you are using.  These voice packages come with pre-recorded phonemes of the voice that you are interested in.  Some companies, like Nuance, will create custom voice for you but this is very expensive.

(by Roy LeeKevin Junghans)

參考文件

  1. Manipulate "speaker voicer'' in Text-to-Speech C# Application (CC BY-SA 3.0/4.0)

#text-to-speech #.net #C#






相關問題

在 Text-to-Speech C# 應用程序中操作“speaker voicer” (Manipulate "speaker voicer'' in Text-to-Speech C# Application)

android:手機處於睡眠狀態時等待的正確方法(使用 TTS) (android: proper way to wait while phone is in sleep state (using TTS))

音頻樣本庫(口語文本) (Libraries of audio samples (spoken text))

文字轉語音:葡萄牙語不可用? (Text to speech: Portuguese language not available?)

嵌入式應用的語音識別引擎 (Voice recogntion engines for embedded applications)

C# SpeechSynthesizer - “系統上沒有安裝語音” (C# SpeechSynthesizer - "No voice installed on the system")

任何 TTS 引擎都可以改變聲音的語言,進而改變它的音素嗎? (Can any TTS engine change a voice's language, and subsequently its phoneme?)

將 SAPI Text-To-Speech 本地化為西班牙語 (Localizing SAPI Text-To-Speech to spanish)

如何以編程方式讀取 .pdf 文件並將其轉換為音頻(.mp3 格式)? (How to read a .pdf file programmatically and convert it into audio (.mp3 format)?)

如何將 AudioRecord 類中識別的語音保存在文件中? (How can I save recognized voice from AudioRecord class in a file?)

SpeechToText synthesizeToFile 不排隊 (SpeechToText synthesizeToFile not queuing)

Flutter - 下劃線或繪製文字到語音(TTS) (Flutter - underline or paint words text to speech (TTS))







留言討論