#Adding Custom TTS

1 messages · Page 1 of 1 (latest)

hollow bolt
#

Hi all. I have my own custom TTS engine that uses a python script via a local URL (e.g. 192.x.x.x:1234/the message to return audio with). This then returns an audio file, I could also just return a local URL to the audio file if needed. How would i get home assistant cloud (or any other text interpreter) to use my python script voice?

To be clear:

192.x.x.x:1234/the message to return audio with

will return a wav of the text read by my TTS.

hollow bolt
#

I think i am on my way to finding it. I've managed to copy something similar. I added

#

and added

#

its showing up but it is greyed out, is there something i am missing?

silk dragon
hollow bolt
#

is there any examples i can look at?

dapper meteor
hollow bolt
#

thanks ill take a look

#

thats for whisper which is stt, would it be better to look at something for piper?

dapper meteor
#

Ah yeah that's what i meant 😁

hollow bolt
#

yeah no worries, im glad im just managing to hang on by a thread understanding this all enough to spot that!

#

I will have glados be my tts

dapper meteor
#

I think you can use piper and add a glados voice to it, just fyi 🙂

hollow bolt
#

oh, i might try that. its late and i dont actually know python (although i do know other languages) so might be less of a headache. will check it out

#

this one is the best I've heard so might need to see if i can get it in piper. will report back!

dapper meteor
hollow bolt
#

oh, thats a bit better actually

dapper meteor
hollow bolt
#

thank you so much!

dapper meteor
#

The piper docs should mention how to add it

hollow bolt
#

got it

#

bit of a pain with how piper works and the mnaming convention