Lurker News
My wife will be undergoing significant oral surgery in a few weeks and there is a SMALL chance she may lose the ability to speak. I'd like to prepare, just in case, to have technology to reproduce her voice from keyboard or other input.

My ideal would be an open source "deepfake toolkit" that allows me to provide pre-recorded samples of her speech and then TTS in her voice. Unfortunately most articles and tools I'm finding are anti-deepfake. Any recommendations?
Fallback would be recording her speaking "phonetic pangrams" and then using her pre-recorded phonemes to recreate speech that sounds like her. I feel like the deepfake toolkit is the way to go. Appreciate any recommendations... There must be open source tools for this??

Comments (217) 101 threads

Earlier comments
quiet_hacker3 replies#
I have a progressive neurodegenerative disease and lost most my ability to speak about 3 years ago. What you are proposing is super cool, but you might be overthinking this. These things (text to speech, etc) are more awkward than practical in real life. Also, make sure your wife is completely on board. Seeing old clips and hearing my voice is actually kind of depressing to me. Here is my actual advice:

Outside of social situations, it honestly hasn't been that big of deal for me. As a remote developer, my job has remained the same. My managers and co workers have been super supportive. I send messages during meetings to one person who will read it aloud for me.
With text and social media, I still keep up with friends and family. Most medical appointments, etc, can be made online. SprintIP relay is free for deaf/speech impaired, and it allows the caller to type what they want to say and a representative will relay this to the other party. It works via the web or a mobile app. https://www.sprintrelay.com/sprintiprelay
Banks, brokers, or anything involving personal info (like SS#) usually requires a voice phone call. I have my wife call and explain the situation. I can whisper yes, as they occasionally require me to give permission. Some call center representatives have no idea how to handle this situation, and will just stick to the script saying they have to speak to me the entire time. My wife just thanks them, calls back, and hopes for someone more understanding.
There are awkward encounters where people don't know you can't speak, and will respond by speaking louder and slower. These people will also assume you are not intelligent and be dismissive. This is just one of the things you have to deal with.
I sincerely hope the procedure goes well and you wife doesn't have to deal with this. Just know that even if the worse happens, she can have a normal and productive life!

civilian#
How do you communicate with your wife?

Did you ever consider learning sign language?

aspaceman#
> There are awkward encounters where people don't know you can't speak, and will respond by speaking louder and slower. These people will also assume you are not intelligent and be dismissive. This is just one of the things you have to deal with.

It sucks you have to just deal with it.

sesuximo#
That’s terrible about the call centers who need verbal confirmation. Crazy that they didn’t set up an alternative.
happycry3 replies#
We get quite a few requests for this at Resemble (https://resemble.ai). We can get her to record right on our website or you can upload an existing file (along with a video of her consent) on the platform. Feel free to shoot me a message and I'd be happy to help build a voice for her.
cdolan1 reply#
I dont know how to send messages but I researched this space a few years ago. Unfortunately a family member of mine had a surgery result in loss of his speech.

We have a lot of tapes around of his voice, from voice mails to family videos to some things from his work. If you are open to reaching out that would be awesome, I’ll check out the site as well.
Edit: I’ve wanted to make some sort of soundboard + “text to talk” setup for this family member. He often can’t participate in conversations because he writes on a whiteboard, and the speed of chatter moves faster than his writing

happycry#
Feel free to shoot me an email: zohaib[at]resemble.ai

We also have an API that you might find useful for the soundboard project: https://app.resemble.ai/docs

louwhopley1 reply#
Wow, this looks like a great service!

Out of interest what are the average response times to generate a clip of one or two sentences from a configured voice?
Imagining the easy text-to-speech solution the OP could build on this resemble API.

happycry#
Thanks! We do have a synchronous real-time API and latency is one of the bigger issues that we're trying to improve on now. At the moment, you can expect speeds that are 10x faster than realtime.
archon810#
Just FYI, your page keeps jumping on mobile as it renders and erases words. Not a good experience if I'm trying to read.
mattlondon1 reply#
I don't know if you have kids/grandkids/nieces or nephews (or plan to have those) but it might be nice to record your wife reading some books out loud.

Not only will you have your own personal "audio books" of Harry Potter/The Hobbit/Chronicles of Narnia/Oi Frog/Alice in Wonderland/Roald Dahls etc etc for any kids/grandkids/relatives etc that will hopefully be something treasured in its own right, but you'll also have a large corpus of training data from well-known texts that you can retrain over and over as the tech improves in the future. Might be worth chucking in some other well-known texts to avoid over-fitting on a "kids' story voice" - maybe something plain like inauguration speeches/declaration of independence/magna carta/etc.
Obviously I'd focus on gathering raw material now, and focus on the reconstruction later when you've all recovered mentally and physically to whatever happens. The more data the better when it comes to this sort of thing. There might not be something "simple" right now (e.g. you could probably implement the WaveNet or similar paper yourself today, and training it up on some GPUs in your spare room etc, but in a few years there might be a nice WYSIWYG/SaaS thing for it), but with the recordings safely stored you'll obviously be able to use it in the future.
Best of luck to you both.

Zenbit_UX1 reply#
I like this idea but the specific examples you give would almost certainly be a terrible idea. A voice trained on Tolkien or old American legalese like the Magna Carta would train a model with a lot of thee, thus, therefore and though art and undertrain it with modern English. His wife would sound like the second coming of Jesus or Shakespeare and less like a normal human being.
mattlondon#
From what I understand, it is not the words themselves (thee etc) but the sounds that make the words - so the "th" and the "ee" are still legit sounds in modern English words. The network would just be synthesising the words you tell it to - it won't be picking the words for you.

I might be wrong though.

kerkeslager3 replies#
I 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.
Someone4 replies#
Is it? My first thought was “is your ideal also her ideal?”.

We cannot rule out she wants to spend quality time with her partner instead of spending time in a recording studio, so that, if the worst outcome comes, her husband can remind her of what she lost.

kerkeslager2 replies#
Presumably the guy is better at guessing what his wife wants than you are, and his wife is an adult who can tell him if he guesses wrong.
thaumasiotes7 replies#
> his wife is an adult who can tell him if he guesses wrong

She can, but she might not. A lot of that depends on how he presents the idea to her -- it might seem like something that's important to him.

Continue this thread — 7 replies

fragmede#
Presumably the wife is the best at knowing what she wants.

I'd make no presumption, good or bad, about the their relationship dynamic, however.

DaniloDias1 reply#
By all means, let’s have hacker news expand this technical question into an evaluation of this guys marriage.
pezo19191 reply#
Life is complex bro.

Continue this thread — 1 reply

daveFNbuck#
I think the idea here is that she could use her own voice instead of a generic voice with text to speech devices. I doubt he intends to taunt her with it.
glonq#
That was also my first thought, having seen far too many tech geeks inflict unwanted products and projects onto their poor partners and families.

The sentiment is admirable, but it's a lot of work considering that the probability of a negative outcome is very low.

rimliu4 replies#
Depends. I'd be horrified to listen to my own voice when I am not speaking. Keep in mind, what we sound very different to ourselves.
kerkeslager#
Presumably the guy is better at guessing what his wife wants than you are, and his wife is an adult who can tell him if he guesses wrong.
LeifCarrotson#
From a different perspective, I'd be brokenhearted if I could not speak to my son or my wife in something they could recognize as their father or husband's voice. I know modern TTS systems are a fair sight (voice?) better than Microsoft Sam, but it would be emotionally valuable to me to have a self-trained TTS library.

I'm not sure there's a correlation to other senses, I can't see for my future self or move on his behalf. I suppose there are things I would want to taste or smell if I was going to lose those senses, but those are experiences for me, not things I'd use to communicate with loved ones.
After losing my voice in an accident, I'd be willing to spend many, many hours transcribing my own speech in the handful of scratchy family videos, voicemails, and phone logs of ordinary conversations. If I could spend a couple days prior to the event reading some books, a TTS training corpus, or anniversary/birthday/wedding/etc greetings and congratulations into a microphone and have a personal text-to-speech voice I'd be all over that.
It would be a little weird if someone else used it as their narrator, but that's not OP's goal.
Speaking of recording books and training corpuses, my grandparents (who have their voices) got a special kind of joy from reading children's books that they once read to me and that I once heard as a child to their new grandson. OP, if you and your wife have or might have kids (and she can handle it emotionally), it might be nice to record video/audio of reading children's books to future grandchildren. Even if your future grandchild knows that grandma can't read books out loud, I'd bet Grandma would be happy to silently turn the pages for a toddler on her lap until those digital recordings got worn and scratchy like an old VHS.

inanutshellus#
I'd love to be able to change my mind, though.

Recording audio and then choosing not to use it later is fine.
Not recording it because I don't want it right now... maybe fine? maybe sad.

Alex39171 reply#
> Keep in mind, what we sound very different to ourselves.

This is less of a problem with modern high-quality mics than it was, say, with answering machines 30 years ago. Your voice might still sound not exactly the same, but it hopefully shouldn't be unbearably grating either.

corobo1 reply#
Turn the bass up a bit

It's because reproduced audio doesn't have the bass the same as you hearing it conducted through your jawbone (though of course this will sound too bassy to everyone else!)

Continue this thread — 1 reply

y-c-o-m-b#
Was just about to post the same. Not only is this an amazing thing to do for her, but this is one of the coolest threads I've seen on HN in a long time

Load more comments