PDA

View Full Version : Music Animation Test


tkier
08-14-2003, 01:53 AM
Inspired by the cool animations at http://www.animusic.com/ I decided to see if I could create an lscript that could use the information in midi files to control animation.

The following is a link to a test animation (requires DivX codec) using my script on a simple midi file.

www.tpkier.com/gallery/images/miditest.avi

Next step, is to finish my instrument models, and then find some decent music to drive my animation (I am no musician).

Tom

Kenshin_X_66
08-14-2003, 09:27 AM
Thats GR8

plenty of charachter and innovation in that, a great idea!

Im curious to hear that you use the midi file to control the animation, rather than syncing it in the old fashioned way, how do you do this, have you got a special plug in or something

tkier
08-14-2003, 01:24 PM
The animation is driven completely from the midi file. I developed an application that reads midi files and then creates a separate file for each track and note in the midi. The generated files contain the frame numbers (based upon on a user specified frame rate) that each note is played during the song.

I also created an lscript that reads these files and moves the instrument at the frames specified in the files. The result is an animation that is completely driven by the midi file.

Once the instruments are all set up correctly, changing songs is just a matter of re-running midi parser app, and then rerendering the animation.

Tom

richpr
08-14-2003, 05:41 PM
Very cool...

It's not too hard to read in any kind of data via LScript... You just need interesting data, like midi ;)

igorstshirts
08-15-2003, 01:41 PM
Super smart! I would also like to be able to assign key poses to certain keys on a synth and have Lightwave generate the in-between frames as I play... That would be crazy!

starbase1
08-16-2003, 03:41 AM
I don't know why I like that so much, maybe it's the anticipation of seeing each ball had for the key! I think you should make a lot more of these whacky instuments!

One thing though - I don't like the way the last ball does not quite go when the animation finishes, an extra couple of frames would be nice.

Maybe run another tune through it too?

More!

Nick

tkier
08-16-2003, 11:45 PM
Thanks for the comments guys.

I plan on doing some more. I am working on some more instruments.

I am also looking for some good quality royalty free mdi music to use.

Tom