July 2017
Beginner to intermediate
390 pages
10h 53m
English
If you go back to our source code, you might remember the following line:
var speechStream =await speechSynth.SynthesizeTextToStreamAsync(TextToSay);
We have used this in both the DirectX sample and the Unity3D sample. The preceding line comes from the Unity-based app but we had a similar line in DirectX. This line tells the synthesizer to take the string we give it and turn that into voice. It does so by using the default settings, resulting in the robot-like voice we have heard so far.
You might have noticed, as you typed in the code, that there is an alternative:
var speechStream =await speechSynt.SynthesizeSsmlToStreamAsync(TextToSay);
We could have used this line as well. However, that would have resulted ...
Read now
Unlock full access