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
132 stars 52 forks source link

SSML not working in sandbox #73

Closed blazejp83 closed 11 months ago

blazejp83 commented 11 months 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 11 months 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 11 months ago

Closing for the moment.