Forum Discussion

Jean-Philipp513's avatar
Jean-Philipp513
Community Member
17 days ago

Storyline text-to-speech AI Audio Voices - SSML Tags

As per title, are SSML Tags compatible with the new text-to-speech AI voices?

I was trying to change the phonetic pronunciation of a specific word, to no avail. I was however successful in adding a pause with a tag.

Thanks!

  • MEJohnson's avatar
    MEJohnson
    Community Member

    I'd like an answer too. I tried using <break time="250ms"/>, but it didn't work. How did you add a pause?

    • Jean-Philipp513's avatar
      Jean-Philipp513
      Community Member

      I used this code:

      <speak>

      This is a test to know if <break time="3s"/>pauses work correctly with the voice.</speak>

      You should hear the pause if you try it. Always make sure to start and end your text with <speak> and </speak>, respectively. 

  • MEJohnson's avatar
    MEJohnson
    Community Member

    I want to use a break time that's less than one second. <break time="250ms"/> and <break time=".7s"/> doesn't seem to work. 

    • EricSantos's avatar
      EricSantos
      Staff

      Hello MEJohnson,

      I am happy to chime in. I understand you'd like to use an SSML "break" code with milliseconds.

      <break time="250ms"/> should be the correct format, but 250 milliseconds may be too short to be noticeable. If you want to add a 0.7-second break, please try the following SSML code:

      <break time="700ms"/>

      Please don't hesitate to reach out if you have additional questions. If you want more targeted help, you can also connect with us privately in a support case.

  • WrennCorcoran's avatar
    WrennCorcoran
    Community Member

    I'd like to know an answer to the original question as well. Without the ability to change pronunciation, I can't see myself using this over other options. 

    • JoseTansengco's avatar
      JoseTansengco
      Staff

      Hello WrennCorcoran,

      Happy to help!
      SSML tags aren't recognized by the AI assistant when generating AI audio. AI Assistant has limited support for speech synthesis markup language (SSML) because AI-generated voices are designed to understand the relationship between words and adjust delivery accordingly. I'll add you to an open feature request we have to include SSML tags in the list of supported features of the AI assistance and we'll let you know when it makes it to our product roadmap!

      • LucynaDra's avatar
        LucynaDra
        Community Member

        Great! I would also appreciate this functionality. The new AI voices are amazing, but adding SSML compatibility to them would rock!