I am working on a universal windows translator application for state level translation. I want to make my device speak translated text. The translated language is state level language something like making my device speak Hindi translated text. Is there any way of achieving this? I am currently trying phonemes in SSML but my xml too gives me an error stating "Text couldn't be found with this error" my string code his as follows:
string Ssml =
@"<speak version='1.0' " +
"xmlns='http://www.w3.org/2001/10/synthesis' xml:lang='en-US'>" +
"<voice name='Microsoft Zira Mobile'>" +
"<phoneme alphabet='x - microsoft - ups' ph='S1 W AA T . CH AX . M AX . S2 K AA L . IH T'>whatchamacallit</phoneme>" +
"<prosody pitch='default' rate='1'>" + mytext + "</prosody>" +
"</voice></speak>";
// Generate the audio stream from plain text.
SpeechSynthesisStream stream = await speech.SynthesizeSsmlToStreamAsync(Ssml);
where am I going wrong?