title: Amazon polly tts SSML tags
body: <p>I have used in the past amazon polly to generate audio files by text. Here the code that I have used:</p>
  <pre><code> public static void GenerateVoiceFileByAmzonApi(string VoiceName, string StrText,string FileName)
          {
  
              Amazon.Polly.AmazonPollyClient cl = new Amazon.Polly.AmazonPollyClient(&quot;abc&quot;, &quot;abc&quot;, RegionEndpoint.USEast1);
              Amazon.Polly.Model.SynthesizeSpeechRequest req = new Amazon.Polly.Model.SynthesizeSpeechRequest();
              req.Text = StrText;
  
              switch (VoiceName)
              {
                  case VOICE_NAME_AMAZON_GIORGIO:
                      req.VoiceId = Amazon.Polly.VoiceId.Giorgio;
                      break;
                  case VOICE_NAME_AMAZON_CARLA:
                      req.VoiceId = Amazon.Polly.VoiceId.Carla;
                      break;
                  case VOICE_NAME_AMAZON_BIANCA:
                      req.VoiceId = Amazon.Polly.VoiceId.Bianca;
                      break;
                  default:
                      req.VoiceId = Amazon.Polly.VoiceId.Giorgio;
                      break;
              }
  
              req.TextType
  
              req.OutputFormat = Amazon.Polly.OutputFormat.Ogg_vorbis;
              req.TextType = Amazon.Polly.TextType.Text;
              Amazon.Polly.Model.SynthesizeSpeechResponse resp = cl.SynthesizeSpeech(req);
  
              using (System.IO.FileStream wFile = new System.IO.FileStream(FileName, System.IO.FileMode.Create))
              {
                  resp.AudioStream.CopyTo(wFile);
                  wFile.Flush();
                  wFile.Close();
              }
          }
  </code></pre>
  <p>This code work, but sometimes I have a text with different exclamation point (!) or question point (?) but the voice not change.</p>
  <p>In particular there are some text with a exclamation point that contain alert situations and I like that the voice simulate the human voice in these particular circustanes also.</p>
  <p>Do you known if with SSML or other is possible do it ?</p>
  <p>Thanks !</p>