Live data from Hacker News

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

github.com

61–70 of 245 posts

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

#61
post #26

Earlier quoted context omitted.

A Mac with a lot of unified RAM can do it, or a dual 3090/4090 setup gets you 48gb of VRAM.

I’ve got a 64gb Mac M2. All of the openllm models seem to hang on startup or on API calls. I got them working through GCP colab. Not sure if it’s a configuration issue or if the hardware just isn’t up to it?

Try llama.cpp with Metal (critical) and GGUF models from TheBloke

Or wait another month or so for https://ChatOnMac.com

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

#63

Was somewhat annoying to get everything to work as the documentation is a bit spotty, but after ~20 minutes it's all working well for me on WSL Ubuntu 22.04. Sound quality is very good, much better than other open source TTS projects I've seen. It's also SUPER fast (at least using a 4090 GPU). Not sure it's quite up to Eleven Labs quality. But to me, what makes Eleven so cool is that they have a large library of high…

The LibriTTS demo clones unseen speakers from a five second or so clip

Ah ok, thanks. I tried the other demo.

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

#65

Earlier quoted context omitted.

how are you planning on using this with epubs? i'm in a similar boat. would really like to leverage something like this for ebooks.

I wonder if you can add a TTS engine to Android as an app or plugin, then make Moon+ Reader or another reader to use that custom engine. That's probably how I'd do it for the easiest approach, but if that doesn't work, I might just have to make my own app.

You can! [rhvoice](https://rhvoice.org/) is an open source example.

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

#67
post #29

Why name it Style if it isn't a StyleGAN? Looks like the first one wasn't either. Interesting to see moves away from flows, especially when none of the flows were modern. Also, is no one clicking on the audio links? There are some... questionable ones... and I'm pretty sure lots of mistakes.

It's not called a GAN TTS right? StyleGAN is called what it is because of a "style-based" approach and StyleTTS/2 seems to be doing the same (applying style transfer) through different method (and disentangling style from the rest of the voice synthesis). (Actually, looked at the original StyleTTS paper and it actually even partially uses AdaIN in the decoder, which is the same way that StyleGAN injected style inform…

Yeah no I get this but the naming convention has become so prolific that anyone working in generative space hears "Style" and you should think "GAN". (I work in generative vision btw)

My point is not that it is technically right, it is that the name is strongly related with the concept now. Such that if you use a style based network and don't name it StyleX that it's odd and might look like you're trying to claim you've done more. Not that there aren't plenty of GANs that are using Karras's code and called something else.

> AdaIN

Yes, StyleGAN (version 1) uses AdaIN but StyleGAN2 (and beyond) doesn't. AdaIN stands for Adaptive Instance Normalization. While they use it in that network, to be clear, they did not invent AdaIN and the technique isn't explicit to style, it's a normalization technique. One that StyleGAN2 modifies because the standard one creates strong and localized spikes in the statistics which results in image artifacts.

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

#68

Earlier quoted context omitted.

The LibriTTS demo clones unseen speakers from a five second or so clip

Ah ok, thanks. I tried the other demo.

I tried it. Sounds absolutely nothing like my voice or my wife's voice. I used the same sample files as I used 2 days ago on the Eleven Labs website, and they worked flawlessly there. So this is very, very far from being close to "Eleven Labs quality" when it comes to voice cloning.

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

#69
post #28

Why name it Style if it isn't a StyleGAN? Looks like the first one wasn't either. Interesting to see moves away from flows, especially when none of the flows were modern. Also, is no one clicking on the audio links? There are some... questionable ones... and I'm pretty sure lots of mistakes.

> Looks like the first one wasn't either. The first one says it uses AdaIN layers to help control style? https://arxiv.org/pdf/2205.15439.pdf#page=2 Seems as justifiable as the original StyleGAN calling itself StyleX...

See my other comment. StyleGAN isn't about AdaIN. StyleGAN2 even modified it.

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

#70

Was somewhat annoying to get everything to work as the documentation is a bit spotty, but after ~20 minutes it's all working well for me on WSL Ubuntu 22.04. Sound quality is very good, much better than other open source TTS projects I've seen. It's also SUPER fast (at least using a 4090 GPU). Not sure it's quite up to Eleven Labs quality. But to me, what makes Eleven so cool is that they have a large library of high…

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.

I suspect they are doing many more things to make it sounds better. I certainly hope open source solutions can approach that level of quality, but so far I've been very disappointed.
Post reply on HN