How to produce emotional speech using ssml prosody element?
I have tried this piece of code to produce sad emotion in the speech, but there are no changes in the voice emotion.
static void Main(string[] args)
{
SpeechSynthesizer synth = new SpeechSynthesizer();
PromptBuilder pb1 = new PromptBuilder();
string sad = "<prosody pitch=\"-20%\" range=\"low\" rate =\"50%\" volume =\"30\"><emphasis level=\"none\">... She was sad. Ellen cried. Calvin said, I feel guilty. Calvin told Daddy Sam that he broke the lamp.</emphasis></prosody>";
pb1.AppendSsmlMarkup(sad);
synth.Speak(pb1);
}