c# - How to use x-sampa phonetic transcription on SAPI 5 -


i have bunch of x-sampa phonetic transcriptions "p_hleis use sapi 5.

is possible?

i don't believe so, no. does, however, support ipa which, understand, x-sampa extended translate ipa.

w3.org covers how when ingest xml grammars sapi. if wanted use ipa on fly, however, in c++ like:

m_cpvoice->speak(l"his name <phoneme alphabet=\"ipa\" ph=\"ɹəˈbɛːɹɾoʊ bɛˈniːnji\">roberto benigni</phoneme>", svsfisxml, null); 

if can't use wide chars whatever reason, might have translate unicode like:

m_cpvoice->speak(l"his name is<phoneme alphabet=\"ipa\" ph=\"&#x2c8;l&#x251; &#x2c8;vi&#x2d0;&#x27e;&#x259; &#x2c8;&#x294;e&#x26a; &#x2c8;b&#x25b;l&#x259;\"">la vita e bella </phoneme>", svsfisxml, null); 

which admittedly looks terrible.

it's not different in c#.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -