2 주 전에 프랑스어와 영어 용 음성 합성기 도구를 개발 했으므로 다음 단계에 따라 더 많은 음성을 설치하고 SelectVoiceByHints 메서드를 호출하여 다른 음성을 구성했습니다.
,451,515,
Tools: Windows 7, Visual Studio 2013
당신은
SpeechSynthesizer _synthesizer = new SpeechSynthesizer();
_synthesizer.SelectVoiceByHints(VoiceGender.Female, VoiceAge.Adult, 0, CultureInfo.GetCultureInfo("fr-FR")); // For French
// en-US for English(US)
단계
더 목소리
WARNING: This involves manual edits to your registry. Do at your own risk.
Step 1 --------------------------------------------------------------------------
Install the Speech Platform v11
a) go here: http://www.microsoft.com/en-us/download/details.aspx?id=27225
b) click "Download"
c) select the "x64_SpeechPlatformRuntime\SpeechPlatformRuntime.msi"
d) run the installer (duh :P)
Step 2: --------------------------------------------------------------------------
Get the alternate voices
a) go here: http://www.microsoft.com/en-us/download/details.aspx?id=27224
b) click "Download"
c) select the voice files you want. They are the ones that have "TTS" in the file name.
MSSpeech_TTS_en-CA_Heather
MSSpeech_TTS_en-GB_Hazel
MSSpeech_TTS_en-IN_Heera
MSSpeech_TTS_en-US_Helen
MSSpeech_TTS_en-US_ZiraPro
MSSpeech_TTS_en-AU_Hayley
d) run the installers for each (duh :P)
Step 3: --------------------------------------------------------------------------
Extract the registry tokens
a) Open Regedit
b) Under - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech Server\v11.0\Voices - right click the "Tokens" folder and export. Save this file to your desktop as voices1.reg so it will be easy to find later.
c) Under - HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Speech Server\v11.0\Voices - right click "Tokens" and again export it, again to the desktop. Call it voices2.reg.
Step 4: --------------------------------------------------------------------------
Edit the voices1/2 files
a) open Voices1.reg in Notepad.
b) press "cntrl + H"
c) enter \Speech Server\v11.0\ into the "Find What" field
d) enter \Speech\ into the "Replace With" field
e) click "Replace All"
f) Save File
g) Repeat a-f with the Voices2.reg file
Step 5: --------------------------------------------------------------------------
Merge the new Registry files into your registry
a) double click to "run" both Voices1.reg and Voices2.reg
b) Click "Yes" when it prompts
이제 음성 공격의 새로운 목소리에 액세스 할 수 있어야하고,을 설치, 아래와 같이 문화 정보를 설정할 수 있습니다 Windows TTS 옵션 메뉴. 이 프로세스는 다른 음성 팩에서도 작동 할 수 있습니다.
출처 : https://superuser.com/questions/590779/how-to-install-more-voices-to-windows-speech/872573#872573
희망이 몇 가지 아이디어를 제공합니다.