title: SSML support in Android TTS?
body: <p>This question was asked several years ago, but hopefully things have changed...</p>
  
  <p>Could someone point me to any details about which versions of Android  support what subset of <a href="https://www.w3.org/TR/speech-synthesis11" rel="nofollow noreferrer">SSML</a> in its Text-To-Speech engine?</p>
  
  <p>I did some experiments using Flutter-TTS, which is just a layer that passes the text to be spoken to the underlying platform TTS service.</p>
  
  <p>Some unknown subset of SSML does work on a newer Android - for example, this SSML </p>
  
  <pre><code>&lt;speak&gt;before&lt;break time="5s"/&gt;after&lt;/speak&gt;
  </code></pre>
  
  <p>does indeed produce a five-second pause between the words on API 27 and API 29. It does not work on API 21, but at least it handles it gracefully by just ignoring all tags. I have not tested other API levels yet. I also tried <em>prosody</em>, <em>phoneme</em>, and <em>lang</em> tags - they seem to be not working.</p>