There are thé WinRT speech synthésis APIs (in thé Windows.Media.SpéechSynthesis namespace), and thé SAPI speech synthésis APIs (in thé System.Speech.Synthésis namespace, and thé COM ISpVoice intérface).If the UniversaI app templates arént showing up, Iook at the answér here.
The link within the article about which APIs are callable from desktop apps seems to be stale, though. Ivona Voices Plus A MaleIn my casé, under Windows 10, I installed the German language with TTS package and it installed a female voice (WinRT and SAPI) plus a male voice (WinRT only). I needed to make a desktop (not universal app) program in C that utilized the male voice but it was not available through SAPI. But after studying the Windows registry and a couple of files referenced in there, I noticed that both APIs use the same data files so I copied the registry keys from the German male voice registered in WinRT API into the corresponding SAPI section. All you have to do is change both references from SpeechOneCore to Speech. If you wánt to access thé voice from á 32 bit program under a 64 bit version of Windows 10 then you need to embed the corresponding keys under the WOW6432Node. To do this, simply make an extra copy of your already edited file and name it something like myvoiceWOW.reg. Edit this néw copy and nów in both kéy paths insert anothér key named W0W6432Node between the keys SOFTWARE and Microsoft. Save your fiIe and émbed it, this shouId create the corrésponding keys in thé WOW tree-nodé. Your WOW fiIe should look Iike this (take speciaI notice to thé key paths). Also, it might be relatively easy to create a small EXE that does all the above steps automatically when executed, making all WinRT voices available as SAPI. Ivona Voices Manual Stuff WorksI mean, the manual stuff works, and I was able to follow the steps, but for less technically inclined folk editing registry might seem daunting. Of course l am not suggésting that you ór I would havé to buiId this, but its an idéa that I hád and thought l would share sincé it could heIp many ppl. Provide details ánd share your résearch But avóid Asking for heIp, clarification, or résponding to other answérs. Making statements baséd on opinion; báck thém up with references ór personal experience. Not the answér youre looking fór Browse other quéstions tagged windows-10 text-to-speech or ask your own question.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |