News for hackers. Stuff that matters.
Re:Edge TTS by modeless on Wednesday January 22, 2025 @11:20PM (#42800691)
Why would you pirate a TTS service when there are so many great options for local open source TTS now? Models like Fish and Kokoro and StyleTTSv2 are great and very fast.

Click the leaderboard tab here: https://huggingface.co/spaces/TTS-AGI/TTS-Arena

Re:Edge TTS by itake on Thursday January 23, 2025 @12:10AM (#42800903)
The models you shared only support the top ~10 languages / english only.

I believe the Edge API supports more models:

https://gist.github.com/BettyJJ/17cbaa1de96235a7f5773b8690a2...

Do you know any commercial licensed TTS that support 50+ languages and are relatively small (e.g. many small models, not 1 big model)? Meta's open models supports like 300 languages, but the license doesn't permit commercial use :-/

Re:Edge TTS by archerx on Thursday January 23, 2025 @01:11AM (#42801184)
I have been experimenting with piper TTS recently, it's free, open source, fast and has a lot of voices in different languages but the quality is not the best but it's still good enough for most cases.

https://rhasspy.github.io/piper-samples/

Re:Edge TTS by magicalhippo on Thursday January 23, 2025 @02:21AM (#42801559)
For my native language, Norwegian, Piper TTS is at best "usable", and sometimes a fair bit worse than that. At least in its default form[1].

Especially the rhythm and timing is often very jarring making words difficult to understand, especially when the pitch is not quite right.

It also doesn't seem to know about pacing, ignoring semicolon and comma.

Combined I often need to think hard about what it just said, or even listen to it again.

I also notice these issues in the various English voice models to varying degrees, so seems to be an inherent problem. Or can it be improved significantly with training it yourself?

[1]: https://rhasspy.github.io/piper-samples/

Re:Edge TTS by rolfus on Thursday January 23, 2025 @03:54AM (#42802111)
What TTS model has given the best results for you (for Norwegian)? I've tried MS Azure and it's pretty good, but not flawless.
Re:Edge TTS by magicalhippo on Thursday January 23, 2025 @07:44AM (#42803427)
I haven't found any open source that come close to the commercial offerings, though I admin I haven't tried 'em all.

Azure like you say is pretty decent, Google does an ok enough job but not as good.

Re:Edge TTS by archerx on Thursday January 23, 2025 @02:54AM (#42801746)
I don’t know about Norwegian but I wonder if the issues are due to the training data.

I’m sure it’s possible to train new voices.

The English voices are hit or miss, but some voices have up to 900 speakers so it should be able to find a nice voice in the hay stack.

The thing I like about piper is it is so fast. I set it up to stream the output to VLC and it starts speaking in less than a second even on my laptop.

I wish it could have eleven labs quality but right now the speed is the most important factor for what I’m doing with it.

Re:Edge TTS by magicalhippo on Thursday January 23, 2025 @03:43AM (#42802049)
I saw that the piper-phonemize project linked to espeak-ng, and so I tried to pass the Piper sample text through espeak-ng and the way it phonemicized the text had the same rhythm issues that I noted in the TTS sample. Ie it put the stresses in the same wrong places in certain words and such.

This was also reflected in the voice output of espeak-ng, even though it's overall quality was vastly subpar compared to Piper TTS (as expected).

So it seems that improving this aspect might be one way to get better performance out of Piper for my language. Not sure how easy that'll be tho...

Re:Edge TTS by deadprogram on Thursday January 23, 2025 @01:53AM (#42801393)
I also have used Piper and agree it is worth trying out.
Re:Edge TTS by lupusreal on Thursday January 23, 2025 @12:16PM (#42805854)
Piper is superb for my needs. Runs extremely fast on CPU (so fast it can run in real time on a raspi) so it's perfect for use on laptops without dedicated GPUs. Subjectively, I'd say the quality is about on par with where MacOS's TTS was about 10 years ago, which is extremely usable.
Re:Edge TTS by modeless on Thursday January 23, 2025 @01:16AM (#42801204)
I don't know, but the Edge API is not licensed for any use, commercial or otherwise (outside of Edge itself).
Re:Edge TTS by willwade on Thursday January 23, 2025 @04:28AM (#42802320)
https://ttsvoicesavailable.streamlit.app

Acapela, Nuance - but its around 75 languages.

Re:Edge TTS by itake on Thursday January 23, 2025 @11:25AM (#42805398)
I really want southeast Asian languages (thai, laos, etc). seems only MS supports those.
Re:Edge TTS by depr on Thursday January 23, 2025 @01:29PM (#42806547)
Isn't that Nuance product EOL?
Re:Edge TTS by homarp on Thursday January 23, 2025 @12:02AM (#42800866)
Re:Edge TTS by userbinator on Wednesday January 22, 2025 @11:22PM (#42800699)
"pirate"? This was always free.
Re:Edge TTS by modeless on Wednesday January 22, 2025 @11:30PM (#42800726)
The API endpoint was clearly intended for use only by Edge. Yes, reverse engineering the authentication (even if trivial) and using it for other applications, knowing that was not its intended use, I consider a form of piracy.
Re:Edge TTS by userbinator on Wednesday January 22, 2025 @11:52PM (#42800817)
That is a very hazardous slope to go down. We are already seeing user-agent discrimination and this is no different than using Bing from a browser that isn't Edge.
Re:Edge TTS by TOMDM on Thursday January 23, 2025 @12:03AM (#42800870)
If Bing wasn't a public website and only accessable through the windows Search bar/Edge without reverse engineering the API I'd agree with you.

Comparing an API that typically requires a key and a public website is absurd.

Re:Edge TTS by userbinator on Thursday January 23, 2025 @12:54AM (#42801116)
It's still publicly accessible.
Re:Edge TTS by itake on Thursday January 23, 2025 @03:17AM (#42801892)
I'm not really sure how this is any different from a web crawler? I guess the issue would be republishing the content is bad.

But I thought the LinkedIn lawsuit settled that crawlers are ok, as long as you're not republishing the content?

Re:Edge TTS by noja on Thursday January 23, 2025 @07:03AM (#42803191)
Typing anything with “r” into that text to speech box gives a random sentence instead
Re:Edge TTS by natebc on Thursday January 23, 2025 @08:29AM (#42803784)
Is Kokoro open source? I couldn't find it's source anywhere.