PDA

View Full Version : driving animation via audio


misterwolfy
03-18-2010, 07:20 AM
I am interested in creating something similar to a three-dimensional equalizer. Is there a way to drive animation based on audio amplitude and maya 2009 or 2010? just interested in the most straightforward way to accomplish this through expressions or whatnot.



Thanks!



Wolfy

FluidEdge
03-18-2010, 12:00 PM
subscribed!

I'm also looking for a way to do this.

Something like this?

http://www.youtube.com/watch?v=cnrxauFCjoA

misterwolfy
03-18-2010, 01:11 PM
That actually looks like After Effects.

I found something on Creative Crash that kind of works if you play around with it called audioAnimator. (http://www.creativecrash.com/maya/downloads/scripts-plugins/animation/c/as_audioanimator--2)

KidderD
03-18-2010, 03:38 PM
I am interested in creating something similar to a three-dimensional equalizer. Is there a way to drive animation based on audio amplitude and maya 2009 or 2010? just interested in the most straightforward way to accomplish this through expressions or whatnot.



Thanks!



Wolfy

Duncan to the rescue.

http://www.the-area.com/blogs/duncan/equalizer

FluidEdge
03-19-2010, 04:16 PM
Ok i've been playing around with this a little bit and come up with this:

Audio Driven Animation (http://www.jamesrustad.net/RnD_AudioAnim.html)

It's kind of simple.

1. Analyse your audio in After Effects (Trapcode is really useful to splitting into multiple ranges)
2. Bring these keyframes from AE into Maya. (Scripts on Highend will help)
3. Set up a plane (plenty of divisions)
4. Add as many softmod handles as you have sets of keyframes.
5. Assign the audio keyframe data to the softmod handles.

That's kind of it. I turned the plane into particles using a goal method but that's nothing to do with the audio.

:thumbsup:

misterwolfy
03-19-2010, 04:31 PM
Nice!

FluidEdge, can you elaborate a bit? I am good with After Effects, but I have no experience with audio in AE, other than tweaking the volume. Which Trapcode tool?

FluidEdge
03-19-2010, 04:42 PM
I used the Trapcode Sound Keys tool to extract keyframes from 6 ranges all next to each other (it'd be cool to get the whole range of 15-20 ranges but you can only do 3 at a time which is a bit tedious). You'll need to watch a tutorial to see how the tool works as it's kind of complicated. But you can just select keyframes from AE and paste them into a .txt document.

using the AFX to Maya script on Highend3d you can then bring these keyframes into maya and paste them onto any keyable attribute like translateY on softmod handles.

Aikiman
03-20-2010, 12:49 AM
http://www.vimeo.com/6750004

this is something I did a while back in Maya using the audioNode. Basically the node outputs a single float value which isnt really effective but to make it look cool I set up curve and made it a soft body then used the out value of the node to select a particle ID and offset that particles Y value as well. Once I got that working a made a script that duplicated the setup of the curve 20 times and offset the nodes value by one for each curve to get a delayed type effect.

Theres a better plugin on Highend or CreativeCash I think that has multiple channel outputs, saves all the unnecessary work I had to do to make it look multi-channel.

misterwolfy
04-18-2010, 04:17 AM
@Aikiman, Nice work.

You wouldn't happen to remember the name of that plugin? :cool:

Aikiman
04-18-2010, 08:16 AM
Im really sorry dude, but I tried numerous times trying to goggle it and do searches o highend but to no avail. If I come across it I promise to post it here first :)

misterwolfy
04-18-2010, 08:55 AM
Thanks Aikiman!

And if you are totally board and have nothing to do (ha ha :blush:) can you look at this post. Somehow I think you might have an answer.

http://forums.cgsociety.org/showthread.php?p=6469817#post6469817

Thanks,

Wolfy

CGTalk Moderation
04-18-2010, 08:55 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.