calling api:
using system.speech.synthesis; foreach (installedvoice voice in synth.getinstalledvoices()) { voiceinfo info = voice.voiceinfo; debug.writeline(" name: " + info.name); debug.writeline(" culture: " + info.culture); debug.writeline(" age: " + info.age); debug.writeline(" gender: " + info.gender); debug.writeline(" description: " + info.description); debug.writeline(" id: " + info.id); } returns:
name: microsoft anna culture: en-us age: adult gender: female description: microsoft anna - english (united states) id: ms-anna-1033-20-dsk how can add more voices system? have tried installing sapi5 , sapi4 voices link: http://biblprog.com/en/speech_api/voices_sapi/
but not appear in list.
i have gone "text speech" tab in "speech properties" control panel , anna appears on list. not sure why hard.
i using windows 7 64 bit os. ideas?
i want understand how add new voices. want purchase 1 here http://www.textaloud.com/englishaustralian.shtml want make sure work ok.
sapi voices have code, along voice data. matters whether voices 32 or 64 bit. suspect voices downloaded 32 bit voices, , don't show in 64 bit control panel.
you can double-check making sure program compiled "any cpu 32 bit preferred" (or x86 if version of visual studio doesn't support that).
Comments
Post a Comment