News for hackers. Stuff that matters.
Re:Ask HN: My wife might lose the ability to speak in 3 week... by fxtentacle on Thursday June 11, 2020 @11:58AM (#23490184)
Record her reading the texts of a standardized text training corpus.

That way, you can retrain an existing AI to do text to speech with her own voice.

Edit: here's a link to the corpus that I believe Mozilla uses http://www.openslr.org/12/

Re:Ask HN: My wife might lose the ability to speak in 3 week... by asveikau on Thursday June 11, 2020 @12:08PM (#23490305)
Is she on board with this? I can imagine a lot of people being severely put off by being asked to record "a corpus of approximately 1000 hours" in advance of what sounds like a stressful surgery.
Re:Ask HN: My wife might lose the ability to speak in 3 week... by tech4all on Thursday June 11, 2020 @01:07PM (#23490930)
Good concern. We won't be doing any "hundreds of hours" solution. We've been married over 30 years so we're a pretty good team - naturally I wouldn't do it without both of us thinking it was a great idea.
Re:Ask HN: My wife might lose the ability to speak in 3 week... by joshribakoff on Thursday June 11, 2020 @12:31PM (#23490545)
Seconding this, also, reproducing her voice with an AI may not be something she is on board with, it could make her feel like you don't accept her with or without a voice. It may also be unhealthy for you, similar to how spending too long on social media can become a dangerous source of dopamine.

It might make sense to consider making a recording that is more meaningful, and focus on giving her emotional support rather than building an AI that could be perceived as a replacement.

Re:Ask HN: My wife might lose the ability to speak in 3 week... by netsharc on Thursday June 11, 2020 @02:49PM (#23492074)
It's not like OP is replacing her entirity with Alexa, if I were the wife I'd think "sure, let's 'backup' my voice, having it available in case I lose mine would be useful, so that people can still hear my thoughts in my voice instead of a robot's."...
Re:Ask HN: My wife might lose the ability to speak in 3 week... by badRNG on Thursday June 11, 2020 @03:25PM (#23492451)
> if I were the wife I'd think "sure, let's 'backup' my voice"

That very well seems to be the OP's position as well. That's a far more generous reading of the situation. It makes sense that someone here would have the mindset of "lets keep a backup in case we want access to it later."

Re:Ask HN: My wife might lose the ability to speak in 3 week... by aspaceman on Thursday June 11, 2020 @06:19PM (#23493872)
Of course, but I think it's very, very important that OP has this conversation themselves and doesn't take the word of folks on the Internet
Re:Ask HN: My wife might lose the ability to speak in 3 week... by fxtentacle on Thursday June 11, 2020 @12:16PM (#23490380)
It's 1000 hours because multiple speakers record the same articles.

I believe some speakers only recorded 1-2 hours, which seems doable.

Re:Ask HN: My wife might lose the ability to speak in 3 week... by jfkebwjsbx on Thursday June 11, 2020 @12:25PM (#23490470)
They have 500 hours left, so that would be impossible.
Re:Ask HN: My wife might lose the ability to speak in 3 week... by audiohermit on Thursday June 11, 2020 @12:51PM (#23490751)
I'll push back on this. The quality of the read speech should be a higher concern than having parallel data. Unless OP's wife is a teacher or actor/voice actor, if LibriSpeech transcripts are boring, it will come out in the speech.

I think OP would ideally want the model to pick up on more natural intonation, instead of monotone dictation. Record everything from now on, as best you can with similar recording context, and hopefully that data will be enough to cover more natural nuances.

Re:Ask HN: My wife might lose the ability to speak in 3 week... by aerovistae on Thursday June 11, 2020 @12:06PM (#23490284)
And get a high quality mic to do it with!
Re:Ask HN: My wife might lose the ability to speak in 3 week... by cabite on Thursday June 11, 2020 @12:21PM (#23490423)
or better, rent a recording room for the time it takes.
Re:Ask HN: My wife might lose the ability to speak in 3 week... by trynewideas on Thursday June 11, 2020 @12:08PM (#23490304)
Mozilla's is licensed CC-BY, which is pretty liberal. In case the Attribution license is a blocker, here's CMU_ARCTIC's, which is built from copyright-free sources and has no licensing restraints: http://festvox.org/cmu_arctic/
Re:Ask HN: My wife might lose the ability to speak in 3 week... by josinalvo on Thursday June 11, 2020 @12:15PM (#23490372)
I think this is backwards... This is a corpus to train speech to text, not text to speech, right?
Re:Ask HN: My wife might lose the ability to speak in 3 week... by joshribakoff on Thursday June 11, 2020 @12:33PM (#23490558)
It's a corpus designed to capture the full breadth of combinatorial nuances of human speech in a general sense.
Re:Ask HN: My wife might lose the ability to speak in 3 week... by reubenmorais on Thursday June 11, 2020 @01:16PM (#23491021)
No, it is not. For one, it's a corpus of read speech, which means it does not capture well the characteristics of conversational human speech – hesitation, disfluencies, different tones and registers, etc. LibriSpeech has a paper explaining the design of the corpus, all you need to read is the first sentence of the abstract to know what it is supposed to capture:

This paper introduces a new corpus of read English speech, suitable for training and evaluating speech recognition systems.

http://www.danielpovey.com/files/2015_icassp_librispeech.pdf

Re:Ask HN: My wife might lose the ability to speak in 3 week... by joshribakoff on Thursday June 11, 2020 @04:00PM (#23492769)
That sentence alone does not establish that read speech differs from conversational speech, thanks for the information / pointing this out, though.
Re:Ask HN: My wife might lose the ability to speak in 3 week... by tech4all on Thursday June 11, 2020 @12:04PM (#23490262)
Thanks!
Re:Ask HN: My wife might lose the ability to speak in 3 week... by Mo3 on Thursday June 11, 2020 @12:01PM (#23490224)
This right here
Re:Ask HN: My wife might lose the ability to speak in 3 week... by olivermarks on Thursday June 11, 2020 @12:03PM (#23490248)
https://youtu.be/0sR1rU3gLzQ

'This AI Clones Your Voice After Listening for 5 Seconds'

Re:Ask HN: My wife might lose the ability to speak in 3 week... by joeyspn on Thursday June 11, 2020 @06:37PM (#23493994)
Woah, this is definitely the solution that the OP needs. I did read about WaveNet's text-to-speech a couple of years ago but didn't know it has progressed this far. It's crazy good, mindblowing.