#CLI TTS

1 messages · Page 1 of 1 (latest)

fervent flicker
#

I wrote a python script that generates text-to-speech and crates an output.mp3 that has the audio on it. But no matter what I do I can not get the file to be played via the command line. For context, I'm trying to script in a custom voice for my home assistant.

I can get it to open a VLC window and play it but thats not what I want, I want it to play the sound through the console. I have tried a few different Python modules but keep getting streaming issues on the mp3.

Has anyone gotten this working, so that they can shed some light or have an example of how I can implement it in my script??

lofty heron
#

this is not ia in general :/

fervent flicker
lofty heron
#

do you see how it work edge tts in github?

#

they have a script for that but i never try

fervent flicker
#

Do you happen to have a link to the script, I can try it and let you know

gritty stoneBOT
#

Ayo? @fervent flicker level 1 !!! lfg

fervent flicker
lofty heron
fervent flicker
#

I have tried a similar method, it was no good, kept getting stream errors, such as corrupted stream and such

lofty heron
#

probably is because or the save isnt good