- 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
-
To analyze a .wav file with Rhubarb
- Add
<your-file-name>.wav&<your-file-name>.txtinto 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
- Add
-
for quick .mp3 -> .wav conversion grab the
ffmpeglibrary =>brew install ffmpeg- Then use the command
ffmpeg -i <filename>.mp3 <filename>.wav
- Then use the command