Ask HN: My wife might lose the ability to speak in 3 weeks – how to prepare?
31–40 of 229 posts
Re: Ask HN: My wife might lose the ability to speak in 3 weeks – how to prepare?
#32Learn sign language, instead of holding on to the past.
Re: Ask HN: My wife might lose the ability to speak in 3 weeks – how to prepare?
#33Record 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 weeks – how to prepare?
#34Record 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/
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.
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 weeks – how to prepare?
#35Re: Ask HN: My wife might lose the ability to speak in 3 weeks – how to prepare?
#36I don't have any answers to give you, but I want to say that this is a really loving and beautiful thing you're trying to do.
Re: Ask HN: My wife might lose the ability to speak in 3 weeks – how to prepare?
#37The voice cloning can be done in a matter of minutes. (Best of luck!
Re: Ask HN: My wife might lose the ability to speak in 3 weeks – how to prepare?
#38If you want to read up on the basics, check out the SV2TTS paper: https://arxiv.org/pdf/1806.04558.pdf Basically you use a speaker encoding to condition the TTS output. This paper/idea is used all over, even for speech-to-speech translation, with small changes.
There's a few open-source version implementations but mostly outdated--the better ones are either private for business or privacy reasons.
There's a lot of work on non-parallel transfer learning (aka subjects are saying different things) so TTS has progressed rapidly and most public implementations lag a bit behind the research. If you're willing to grok speech processing, I'd start with NeMo for overall simplicity--don't get distracted by Kaldi.
Edit: Important note! Utterances are usually clipped of silence before/after so take that into account when analyzing corpus lengths. The quality of each utterance is much much more important than the length--fifteen.ai's TTS is so good primarily because they got fans of each character to collect the data.
Re: Ask HN: My wife might lose the ability to speak in 3 weeks – how to prepare?
#39Later, you can extract all the phonemes you want from it and you will retain the emotional expressiveness of her voice.
She should probably sing some songs -- lullabies, rock, etc. Go for emotional diversity.