Skip to content

api to provide animation details for sample audio

Notifications You must be signed in to change notification settings

RPuffer/lip-sync-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forthebadge

forthebadge

API & Test Project for Rhubarb Lip Sync

Usage:

  • To see demo animation
    $   npm install
    $   npm start

    navigate to localhost:3000
  • animation images are taken from the mouth shapes shown in the rhubarb repo

Utils

  • To analyze a .wav file with Rhubarb

    • Add <your-file-name>.wav & <your-file-name>.txt into the inbox/ dir
    • The text file should contain the dialogue for optimal results
    • Next, in the lib/ folder add a call to analyze('<your-file-name>'); and run the file
    • i.e. node ./lib/analyze
    • timing results will then appear in the outbox/ folder as <your-file-name>.json
  • for quick .mp3 -> .wav conversion grab the ffmpeg library => brew install ffmpeg

    • Then use the command ffmpeg -i <filename>.mp3 <filename>.wav

About

api to provide animation details for sample audio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published