DanielSWolf / rhubarb-lip-sync

Rhubarb Lip Sync is a command-line tool that automatically creates 2D mouth animation from voice recordings. You can use it for characters in computer games, in animated cartoons, or in any other project that requires animating mouths based on existing recordings.
Other
1.84k stars 218 forks source link

Real time animation for tts output #135

Open sway4em opened 10 months ago

sway4em commented 10 months ago

Hi, I'm working on an app where an llm response is converted into speech using tts and the audio is played alongside an animation of a character moving its mouth. Is there a way to use your library to do this or perhaps you could point me to a better option? Another option I'm considering is to create an ascii animation and move the lips up and down based on the waveform. Do you know how I might approach this? I understand that simply looking at the crests and troughs and aligning the lips to those doesn't work. Thanks

DanielSWolf commented 10 months ago

Rhubarb is optimized for use in production pipelines and doesn't have any real-time support. Regarding alternatives: