問題描述
在 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 Lee、Kevin Junghans)