pgmichael / wavenet-for-chrome

Chrome extension that transforms highlighted text into high-quality natural sounding audio using Google Cloud's Text-to-Speech.
http://wavenet-for-chrome.com
MIT License
137 stars 50 forks source link

SSML not working in sandbox #73

Closed blazejp83 closed 1 year ago

blazejp83 commented 1 year ago

Tried using Sandbox with SSML, unfortunately the tags are not recognized and are always read. Whether I use or encode it like <script> it's always read out loud.

pgmichael commented 1 year ago

@blazejp83 Seems to work on my end! What version are you using? Can you leave me an example of the SSML you're trying to synthesize?

It need to start and end with <speak> tags. Ex:

<speak>
  <prosody pitch="low">Absolutely!</prosody> The power of the Horde is <emphasis>undeniable</emphasis>! For the Horde!  
</speak>

Surely some improvements can be made on detecting whether or not it's text or SSML though.

pgmichael commented 1 year ago

Closing for the moment.