Singing Pumpkin Lip-Sync

andyb

New member
Well this year I wanted one of those 6' singing pumpkins on the house. I spent a bunch of time researching how to do this, and I really didn't find everything I was looking for in one place.

Now you can find it here, because I'm going to save you the pain.

First, you need to build a scaffolding for the pumpkin. I made mine out of five 10' pieces of 1/2" PVC piping, eight 1/2" T connectors, four 1/2" + connectors, and four 1/2" elbows. I also purchased (at Lowes), a roll of plastic hardware cloth (24" x 25' x 1/2" squares). I also used garden twist ties on a spool (for mounting the cloth on the frame, but zip ties would work). Then I purchased some spray paint to darken it all up.

Cut all of the PVC pipe to 23" (you will have one extra 23" piece). Build a tic-tac-toe shape with a frame around it. It should be 6' square. Unroll the hardware cloth in three strips and mount it to the frame with the ties, enough to support the weight of the light strands you will be putting onto the frame for the face.

Paint the frame a suitably dark flat color to hide it. so it doesn't reflect when the lights come on.

Mount either rope light, or mini lights to the mesh cloth to make the pumpkin face. I made triangular eyes. The lower part of the eyes are one channel. The upper two edges of the triangles for the eyes are on a second channel. This allows the pumpkin to "blink" approximately every 4-5 seconds for 300 ms.

The "mouth" has several shapes, and a channel for each. An upper lip, bottom lower lip, lower lip (just slightly above the bottom), a middle lip, an O mouth, and a smaller o mouth with some corners showing (this is the U mouth described later).

The pumpkin can be controlled with eight channels. So how to animate it? Here's what I found that was interesting. The various facial poses shown on this site were my guide --

www.garycmartin.com/mouth_shapes.html

Using the various lip shapes, I mimic the facial features shown by Gary. I started off by taking my lyrics and picking a letter like "O" and marking all of them, then using Vixen to animate the "O" mouth. Big mistake, and really slow progress....

So I read a very interesting web page:

www.keithlango.com/tutorials/old/lipSync.htm

which explains the principles of lip sync animation. Less is more. Ok, but I still am a geeky guy, and I wanted something to take text, and convert it to phonemes (the mouth shapes). I love open source, so I wanted something free.

What I found was a cool program that takes .wav files of audio, and typed in lyrics, and helps you layout the phonemes. It's called Papagayo, and it's available here:

www.lostmarble.com/papagayo/index.shtml

I took my .mp3 files and used audacity to chop them down to verses, and convert them to .wav files. Each .wav verse is loaded into Papagayo (trust me it's easier to work with smaller sections at a time!) and animated.

Before using Papagayo, I used a Vixen add-in called Tap-Tempo to determine the timing of the song I was sequencing. For example, I chose "Thriller", and I used a timing of 64, giving 16 events per second. The 16 number is used to set the FPS rate in Papagayo.

Now, loading the first verse into Papagayo, I immediately set the frames per second (FPS) to 16, then paste in the lyrics of the first verse. Use the tutorials to learn how to manipulate the sentences, then the words, then the phonemes. Use the software to get the mouth animations to look just right. After you've done that, you are ready to "Export Voice" or just use the grid display in Papagayo to map your phonemes into Vixen.

The mouth shapes in Papagayo are; AI, E, etc, FV, L, MBP, O, rest, U, WQ. In Vixen, on my pumpkin face, I mapped this to; AI = Upper Lip + Bottom Lower Lip, E = Upper Lip + Lower Lip, etc = Upper Lip + Middle Lip, FV = Middle Lip, L = Upper Lip + Bottom Lower Lip (same as AI), MBP = Upper Lip, O = O mouth, rest = nothing or Middle Lip -- depending on how it looked, U = U mouth, and WQ = U mouth.

Now, pick the first word (phoneme) and find the corresponding audio portion in vixen. In my case, Papagayo time index 18 = 0:58.752 in Vixen. At this location in Vixen, I used the AI phoneme to turn on the upper and bottom lips (that's my mapping). Let's say that the next Papagayo transition phoneme is at time index 22, and it's "etc". This means that the AI phoneme runs from time index 18 to time index 21, or 4 frames. In Vixen, the upper and bottom lower channels are on from 0:58.752 through 0:58.944.

Rinse, repeat for the entire verse, then the entire song. Errors in timing will creep in, so you may need to re-align the locations of the transitions in the sequence, but the mouth shapes should be correct for the lyrics.

What we really need is an add-in that takes the export from Papagayo, asks for the channel mappings from the mouth shapes to the appropriate Vixen channels, and the time index in Vixen for time index 1 in Papagayo. Presto, chango, a tool for quickly (relatively speaking ;) doing lip-sync.

I hope this helps someone else, and I welcome any comments, or even better -- a faster way of doing this.

Andy
 
Wow - great work putting this all together! I keep saying every year I'm going to go big with Halloween as I do with Christmas but never quite get there... Add this stuff to the wireframes sold by Dougp and you're set!
 
Wow, hadn't seen Doug's stuff prior to this. I wish I'd known before building my pumpkin. In a few days, I'll add screen shots and pictures, if it will help.

Andy
 
Wow, hadn't seen Doug's stuff prior to this. I wish I'd known before building my pumpkin. In a few days, I'll add screen shots and pictures, if it will help.

Andy

Don't kick yourself. Doug just posted his stuff. I'm very excited about his stuff too. Your info makes it evern better.
 
If you are having trouble sequencing the mouths, I have one set to Thriller that I can sell you. I did not program it, but it's good and I have to pay the individual that did it.

It only uses 3 mouths. Send me a PM if you want it.
 
I've been playing a bit with Papagayo from andyb's suggestion. I can definitely see the advantage into cutting the song up into bits. It is no fun at all to move the phrases around after cutting-n-pasting in the lyrics to an entire song. I wish that was one thing they would fix but it doesn't look this is really actively developed anymore. It's open source but my programming skills aren't even close to being able to make changes.

Anyway - I looked closely at my pumpkin and laid out where the various mouth breaks are so I would know how to run the lights. As this is a relatively small pumpkin, some of the mouth sections are only a few inches long. I bought some rope light for this with 18" sections so it looks like I'll have lots of black tape to hide parts of the sections. If I get it done, I'll post some pics.

I also laid things out in Visio and exported it to a PDF so you can match the mouths from Papagayo to the pumpkin. It's not exact but it will probably look just fine (or should I say - close enough...
 
Look's great. If you all see something that I need to do in making these to make it easier for you to put lights on them, please let me know. Send an email to info@wireframedlites.com

Doug

I've been playing a bit with Papagayo from andyb's suggestion. I can definitely see the advantage into cutting the song up into bits. It is no fun at all to move the phrases around after cutting-n-pasting in the lyrics to an entire song. I wish that was one thing they would fix but it doesn't look this is really actively developed anymore. It's open source but my programming skills aren't even close to being able to make changes.

Anyway - I looked closely at my pumpkin and laid out where the various mouth breaks are so I would know how to run the lights. As this is a relatively small pumpkin, some of the mouth sections are only a few inches long. I bought some rope light for this with 18" sections so it looks like I'll have lots of black tape to hide parts of the sections. If I get it done, I'll post some pics.

I also laid things out in Visio and exported it to a PDF so you can match the mouths from Papagayo to the pumpkin. It's not exact but it will probably look just fine (or should I say - close enough...
 
Anyway - I looked closely at my pumpkin and laid out where the various mouth breaks are so I would know how to run the lights. As this is a relatively small pumpkin, some of the mouth sections are only a few inches long. I bought some rope light for this with 18" sections so it looks like I'll have lots of black tape to hide parts of the sections. If I get it done, I'll post some pics.

never used it, but 12v rope light usually lists a 3 or 4 inch cut.

Joel
 
I have 120v rope light and it's actually 36", not 18" so I'm really going to have some extra... oh well that's why we have duck tape!
 
I've given up on using 120vac rope light for this, the lengths are going to be too messy so I'll be ordering some 12v stuff which will be safer anyway...
 
Nope - haven't seen that particular one but many others - pretty good with the multiple lip-syncs on it.
 
I've given up on using 120vac rope light for this, the lengths are going to be too messy so I'll be ordering some 12v stuff which will be safer anyway...

Since when did you go for safer? I thought you were the kind of guy who lived on the edge!

:lol:
 
Brian, how many channels will one "face" take? I count 11. I really like all of the mouth shapes but I would make one small change to the eyes (if I'm interpreting your design correctly). I think it would be more natural for the closed eye to use the bottom line instead of the top.

Keep up the good work and keep us posted on your progress!
 
Brian, how many channels will one "face" take? I count 11. I really like all of the mouth shapes but I would make one small change to the eyes (if I'm interpreting your design correctly). I think it would be more natural for the closed eye to use the bottom line instead of the top.

Keep up the good work and keep us posted on your progress!

Yeah - there are 11 for every individual piece. The alternative is to wrap each mouth shape separately which you might get away with a larger pumpkin frame but it might get a bit bulky with the smaller one. When I start wrapping it might end up to be some hybrid .

I made a trip to BigLots! today and they had 120v rope light for $8 which is pretty cheap - so - so much for 12v - got all the colors I wanted (Red, Blue, Green and Orange) too. If I had more time/patiience I would get all the 12v stuff but this will work for now - just have to cover up all the extra. No one will see it at night anyway. I'm hoping to have this sucker running this weekend. I've got Thriller all ready and This is Halloween is close.

As for the eyes - - I like them with the angled look - it looks a bit creepier that way but it's pretty easy to make it either way. Anyway, I highly recommend Dougp's wireframes - they're very well made!
 
Brian, how in the world do you find time to do these projects?!?!?!? Last time I checked, we still had only 24 hours in a day here in Minnesota. Did the Governator change your time or something???
 
Brian, how in the world do you find time to do these projects?!?!?!? Last time I checked, we still had only 24 hours in a day here in Minnesota. Did the Governator change your time or something???

LOL - and this coming from the guy that's got about 500 hours of sequencing done - months ago....... Actually some stuff (strobes, etc) dropped off so my xmas show will be much like last years for better or worse so I decided to put a bit more effort into Halloween this year.
 
Back
Top