Live data from Hacker News

StyleTTS2 – open-source Eleven-Labs-quality Text To Speech

github.com

231–240 of 245 posts

Re: StyleTTS2 – open-source Eleven-Labs-quality Text To Speech

#231

Earlier quoted context omitted.

How hard on your end does the task of making the chatbot converse naturally look? Specifically I'm thinking about interruptions, if it's talking too long I would like to be able to start talking and interrupt it like in a normal conversation, or if I'm saying something it could quickly interject something. Once you've got the extremely high speed, theoretically faster than real time, you can start doing that stuff ri…

Yes, I implemented the ability to interrupt the chatbot while it is talking. It wasn't too hard, although it does require you to wear headphones so the bot doesn't hear itself and get interrupted. The other way around (bot interrupting the user) is hard. Currently the bot starts processing a response after every word that the voice recognition outputs, to reduce latency. When new words come in before the response is…

It would be very interesting to have something like BakLLaVA's image description fed from a webcam used as a context for the LLM. "You can see: " or something along those lines in the system prompt.

Re: StyleTTS2 – open-source Eleven-Labs-quality Text To Speech

#232

Earlier quoted context omitted.

One thing I've seen done for style cloning is a high quality fine tuned TTS -> RVC pipeline to "enhance" the output. TTS for intonation + pronunciation, RVC for voice texture. With StyleTTS and this pipeline you should get close to ElevenLabs.

RVC? R… Voice Model?

Retrieval-based voice conversion, apparently.

Re: StyleTTS2 – open-source Eleven-Labs-quality Text To Speech

#233

Earlier quoted context omitted.

have you tested longer utterances with both ElevenLabs and with StyleTTS? Short audio synthesis is a ~solved problem in the TTS world but things start falling apart once you want to do something like create an audiobook with text to speech.

I can say that the paid service from ElevenLabs can do long form TTS very well. I used it for a while to convert long articles to voice to listen to later instead of reading. It works very well. I only stopped because it gets a little pricey.

The OpenAI API is ten times cheaper and a fair bit faster.

Also, ElevenLabs keeps diverging for me, and starts mispronouncing words after two or three sentences.

Re: StyleTTS2 – open-source Eleven-Labs-quality Text To Speech

#234

Earlier quoted context omitted.

Inpainting and outpainting of images is when the model generates bits inside or outside the image that don't exist. By analogy he was talking about generating sound inside (I.e. filling gaps) or outside (extrapolating beyond the end) the audio. I don't know why you would think he was talking about inpainting images, words. This whole discussion is about speech synthesis.

Right, _until he brought up inpainting and outpainting_. And as I already laid out, the audio options made just about as much sense as the art. I honestly can't believe how committed you are to explaining to me that as the only person who bothered answering, I'm the problem. I've been in AI art when it was 10 people in an IRC room trying to figure out what to do with a bunch of GPUs an ex-hedge fund manager snapped u…

I'll be the first to admit that it was an off the cuff, vague, and unclear question, and I'm lucky some people got it.

Wait 'till you learn I'm a woman though. :>

Re: StyleTTS2 – open-source Eleven-Labs-quality Text To Speech

#235
post #223

Earlier quoted context omitted.

Thanks. Following the instructions now. BTW mamba is no longer recommended (for those like me who aren't already using it), and the #mambaforge anchor in the link didn't work.

I switched from conda to mamba a while ago and never looked back (it's probably saved dozens of hours from waiting for conda's slow as molasses package resolution). I'm looking at the latest docs and it doesn't look like there's any deprecation messages or anything (it does warn against installing mamba inside of conda, but that's been the case for a long time): https://mamba.readthedocs.io/en/latest/installation/mam…

I had somehow missed the introduction of mamba, and have been using the default conda solver (which I think is the 'classic' one). Apparently conda now supports using the mamba solver: https://www.anaconda.com/blog/a-faster-conda-for-a-growing-c...

  conda update -n base conda
  conda install -n base conda-libmamba-solver
  conda config --set solver libmamba

Re: StyleTTS2 – open-source Eleven-Labs-quality Text To Speech

#237
post #86
post #82

The quality is really really INSANE and pretty much unimaginable in early 2000s. Could have interesting prospects for games where you have LLM assuming a character and such TTS giving those NPCs voice.

This is a big thing for one area I'm interested in - golf simulation. Currently playing in a golf simulator has a bit of a post-apocalyptian vibe. The birds are cheeping, the grass is rustling, the game play is realistic, but there's not a human to be seen. Just so different from the smacktalking of a real round, or the crowd noise at a big game. It's begging for some LLM-fuelled banter to be added.

In Super Video Golf which is more a old-school/retro-style game, that a friend of mine made, there are some clapping sound effects, when people are in view. However, I feel like the nature sound on its own is also kind of relaxing.

Re: StyleTTS2 – open-source Eleven-Labs-quality Text To Speech

#240
This is great! Nice work.

I made my own whisper & auto-typer which types what you say (forked whisper-typer).

I added OpenAI Q/A and RAG query feature so I could ask it questions (instead of auto keystroke typing) by voice command. For responses to questions, I used Eleven Labs - but even with latency optimized & streaming, it was slow, so disabled it.

I just swapped from OpenAI to Mistral 7b for Q/A querying. Much more responsive. Stoked to explore StyleTTS2 now!

Really glad that I came across your post. Thank you for sharing!

Post reply on HN