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=\"ˈlɑ ˈviːɾə ˈʔeɪ ˈbɛlə\"">la vita e bella </phoneme>", svsfisxml, null);
which admittedly looks terrible.
it's not different in c#.
Comments
Post a Comment