Supergiovane / node-red-contrib-tts-ultimate

This node transforms a text into a speech audio. You can hear the voice natively through Sonos or external players.
MIT License
25 stars 5 forks source link

SSML, Voices #53

Closed githubwesseln closed 2 years ago

githubwesseln commented 2 years ago

The SSML-Option doesn't work. For example: \ Guten Morgen Hans ! \

I can't choose voices for Google or Azure.

Supergiovane commented 2 years ago

Hi please follow the issue template rule as i need more infos: https://github.com/Supergiovane/node-red-contrib-tts-ultimate/issues/new?assignees=Supergiovane&labels=&template=bug_report.md&title=

githubwesseln commented 2 years ago

Hi,

the tags where interpreted as text for Google or Azure

\ Guten Morgen Hans ! \

TTS-Ultimate Version

Are you running node-red behind homematic, docker or anything similar?

tts-ultimate node: 2022-01-01_133611

payload: 2022-01-01_134417

mp3-file: _SG7QW~3 MP3

Supergiovane commented 2 years ago

Hi! Currently, ssml isnonly supported by Amazon Polly. I’m working on google implementation as well. Should be ready by the next version

githubwesseln commented 2 years ago

Hi, ok, thanks for this info (I didn't use Amazon Polly).

If it is possible, I had a wish for the next version: It is very usefull to configure the output directory for the mp3-files. Actually I copy the files from the Docker ttsfiles-directory to the Docker-Web-Server (nginx or Apache) directory.

Supergiovane commented 2 years ago

Hi Do you know that the node can output the tts mp3 file to the msg flow? You can use a “file” node to save it where you want!

githubwesseln commented 2 years ago

Hi, no, I only see the filename(s) in the output (msg.filesArray[0..].file), so I copy the file(s). How can I get the mp3-output ?

Supergiovane commented 2 years ago

It’s all wrote in the readme on github

Supergiovane commented 2 years ago

Hi i see you're using google. I nee to know: are you using "Google TTS" or "Google without authentication" service?

Supergiovane commented 2 years ago

Anyway... the "Google without authentication" doesn't support SSML. Please update to version 1.0.39 as soon as you see it in the palette, then use another TTS engine.