Live data from Hacker News

OpenVoice: Versatile Instant Voice Cloning

arxiv.org

161–170 of 207 posts

Re: OpenVoice: Versatile Instant Voice Cloning

#161
post #149

Earlier quoted context omitted.

> It's obviously computer generated to my ear. From the README Disclaimer This is an open-source implementation that approximates the performance of the internal voice clone technology of myshell.ai. The online version in myshell.ai has better 1) audio quality, 2) voice cloning similarity, 3) speech naturalness and 4) computational efficiency.

So this paper is a thinly veiled ad of myshell.ai's services?

Yes. And I used myshell.ai out of interest. It’s also absolutely terrible.

Re: OpenVoice: Versatile Instant Voice Cloning

#162

Earlier quoted context omitted.

Alas, no (made some contributions to TTS at G, and worked on Android). iOS has this built in :/ which may bode well, there's no greater Google product manager than "whatever apple just shipped." I'm doing some xplatform on device inference stuff (see FONNX on GitHub) and it'll be one of 100 items that'll stick on my mind for a while, I hope I find time and I'll try to ping you Edit: is an Android app with a keyboard…

> I'll try to ping you Thanks. Use the email address in my profile if anything eventuates. > is an Android app with a keyboard and "speak" button that does API calls to eleven labs sufficient for something worth trying? Maybe. Obviously something with local processing would be preferred, but it might be an option when internet connectivity is good. Is there such an app?

There isn't an ElevenLabs app like that, but I think that's the most expedient method, by far. (i.e. O(days) instead of O(months))

(warning: detailed opinionated take, I suggest skimming)

Why? Local inference is hard. You need two things: the clips to voice model (which we have here, but bleeding edge), and text + voice -> speech model.

Text to voice to speech, locally, has excellent prior art for me, in the form of a Raspberry Pi-based ONNX inference library called [Piper](https://github.com/rhasspy/piper). I should just be able to copy that, about an afternoon of work! :P

Except...when these models are trained, they encode plaintext to model input using a library called eSpeak.

eSpeak is basically f(plaintext) => ints representing phonemes.

eSpeak is a C library and written in a style I haven't seen in a while and depends on other C libraries. So I end up needing to port like 20K lines of C to Dart...or I could use WASM, but over the last year, I lost the ability to be able to reason through how to get WASM running in Dart, both native and web.

Re: ElevenLabs

I had looked into the API months ago and vaguely remembered it was _very_ complete.

I spent the last hour or two playing with it, and reconfirmed that. They have enough API surface that you could build an app that took voice recordings, created a voice, and then did POSTs / socket connection to get audio data from that voice at will.

Only issue is pricing IMHO, $0.18 for 1000 characters. :/ But this is something I feel very comfortable saying wouldn't be _that_ much work to build and open source with a "bring your own API key" type thing.

I had forgotten about Eleven Labs till your post, which made me realize there was an actually meaningful and quite moving use case for it. All of Elevens advantages (cloning, peak quality by a mile) come into play, and the disadvantages are blunted: local voice cloning isn't there yet, and $0.18 / 1000 characters doesn't matter as much when it's interpersonal exchanges instead of long AI responses

Re: OpenVoice: Versatile Instant Voice Cloning

#163
post #111
post #75

I commend the authors on making this easy to try! However it doesn't work very well for me for general voice cloning. I read the first paragraph of the wikipedia page on books and had it generate the next sentence. It's obviously computer generated to my ear. Audio sample: https://storage.googleapis.com/dalle-party/sample.mp3 Cloned voice (converted to mp3): https://storage.googleapis.com/dalle-party/output_en_defaul…

My experience with other tools like xtts is you really need to have a studio-quality voice sample to get the best results.

That might be the next big contribution – performance in perceptually catching the features of a not-so-good recording – for example, with a webcam style microphone.

Re: OpenVoice: Versatile Instant Voice Cloning

#164
post #125

Earlier quoted context omitted.

Out of curiosity, what/how many legitimate use cases have you considered?

A legitimate use, in the abstract, is one where a particular individual is willing to have their voice used to say X. The entertainment industry - movies and games - are likely to want this. But if it's trivial to use somebody's voice to say any arbitrary thing, then it'll be done. Combined with deepfake videos, the result will be the ability to show anyone saying anything, including lies and things they find incredi…

People will get immune to it if they aren't already. It's already common to fake screenshots of tweets/etc. Not a real problem unless you want to beleive falsehoods, then you will anayway.

Re: OpenVoice: Versatile Instant Voice Cloning

#165
It's not really well advertised and I'm not sure Apple is continuing development, but iOS has a voice clone feature called "Personal Voice" - it takes about 15 mins to train it with your own voice (and then takes a few hours to process on-device when locked). You can use it in phone calls and FaceTime (maybe other places?). It would be nice to use it for general TTS.

Re: OpenVoice: Versatile Instant Voice Cloning

#167

Earlier quoted context omitted.

I'll be honest. You've put way more thought into this then I did. But in the spirit of hacker news, I'll continue the argument. > There are no implications. Untrue and absolutist. > Simply downloading a zip from Amazon has zero risk. Agreed. > Even opening an arbitrary zip has essentially zero risk. RCE from opening a zip is obviously a really critical and valuable vulnerability and would not be wasted with a public…

People like the parent routinely download all of the random zip files off the web that they can get their mouse cursors on. Nothing is going to stop them.

Yep. I don't worry about non-existent threats. Nothing is going to stop me because there is no risk. Have you ever been owned by downloading a zip? Me neither.

Re: OpenVoice: Versatile Instant Voice Cloning

#168
post #7

Earlier quoted context omitted.

It is open, just not by your definition. You can view, use and modify the code to your hearts content. Sounds pretty open to me!

And not by opensource.org's definition, which prohibits use restrictions. It's not reasonable to act like OP is being idiosyncratic when this fails to meet the protected definition of "open source".

I admit not to have read the whole paper, but in the intro nowhere do they mention “open source”, so it seems unfair to measure them by that definition

Re: OpenVoice: Versatile Instant Voice Cloning

#169
post #88
post #7

Earlier quoted context omitted.

It is open, just not by your definition. You can view, use and modify the code to your hearts content. Sounds pretty open to me!

By the commonly held definition of open, in the context of "open source", it is not open. > You can view, use and modify the code to your hearts content. The non-commercial clause of their license specifically prohibits commercial use, so we cannot use this source, and presumably the data that the source uses, to our hearts content. The OSI has a definition of open source that clearly states commercial use is require…

Where do they claim to be “open source”?

Re: OpenVoice: Versatile Instant Voice Cloning

#170

Earlier quoted context omitted.

We understand exactly the implications of that action. There are no implications. Simply downloading a zip from Amazon has zero risk. Even opening an arbitrary zip has essentially zero risk. RCE from opening a zip is obviously a really critical and valuable vulnerability and would not be wasted with a public link. Combine that with the fact that this comes from a voice cloning GitHub repo and the chance of this havin…

I'll be honest. You've put way more thought into this then I did. But in the spirit of hacker news, I'll continue the argument. > There are no implications. Untrue and absolutist. > Simply downloading a zip from Amazon has zero risk. Agreed. > Even opening an arbitrary zip has essentially zero risk. RCE from opening a zip is obviously a really critical and valuable vulnerability and would not be wasted with a public…

> That being said, if I wanted to distribute a backdoor or cryptominer to a bunch of people with powerful computers, I'd definitely hop on the AI bandwagon.

And write and entire novel research paper and open source the code and put it on GitHub? No you wouldn't. Don't be ridiculous.

Post reply on HN