Animation Secret: Animating to Music

Sooner or later every animator will have the fun task of animating something in sync to music. No matter if your character is supposed to deliver a fine dance performance or subtly bobs his head, there are some tricks and rules that really can help you to create a catchy and interesting animation.

The beat rules!

The obvious thing first: The beat of your song defines your character’s movements. As long as the speed of your song doesn’t change, the beat is a fixed reoccurring interval that has to be represented by visual highlights in your animation.

On the beat your character goes into a hit position – a special rhythmic event (like clapping his hands, making an important dance step, jumping, shifting his weight up and down or from one side to another etc.). Off the beat, your the character prepares for the next hit position (e.g. builds up momentum to clap, to jump etc.; or is in a breakdown position between two keyframes).

In the end the visual hits should be 2 – 4 frames earlier than the actual beat, but never one frame later! Usually you would animate exactly to the beat and then shift it a few frames when you are done. It really improves it! Try what looks best for every individual animation.

There are some traps you will have to face when you work with certain beats on certain frame rates. More about that later… Let’s continue with some basic guidelines for your animation first.

One more time… Cycles

Because the beat is a repetitive event we can also use repetitions in our animation. No one claps his hands just once. Use loop-able cycles, where the last frame leads to the first frame again – as long as it’s interesting. This way you have more seconds filled on the screen, but less frames to draw!

If you really don’t want your audience to see any repetition (in a classic dance for example), you could just reuse half of your cycle and then go into different one. This is often done in Disney films. Somehow we only notice the repetition if it happens two whole times.

Keep in mind: Cycles with an even number of frames are easier to animate, because you have a frame in the exact middle for the breakdown (or accents if you divide the space between the key and the breakdown).

Up and Down!

Whatever you let your character do, the most important thing is to work with the ups and downs of the whole body. It is not so much actual dance steps that make your character get the rhythm – it’s his overall shape expanding and contracting. On the beat you can either drop the weight or make the character push himself up. Set visual contrasts by moving the body and arms up and down, left and right, streched and bend…

Make it snappy

An important thing, especially for broad movements: Let the character snap into the hit position. You should not ease into it. The phase between the beat is often filled with anticipation, allowing the character to jump into the beat with a huge amount of energy.

Also keep in mind that you don’t need to put the key between two hit positions in the exact middle. Try different approaches depending on what you are animating:

Finding the beat

Let’s go back to the beginning. Before you start animating you have to figure out the rhythm of your music. You really need it to be exact or else, after some seconds, the animation will look out of sync, even when it appeared perfect at first! If you don’t have any other tool you can find out the beat by trial and error. Guess the beat, put a symbol in a fixed interval and see if it flashes in sync to the music. If it is too fast, increase the interval; if it is too slow, decrease it.

In the internet you can find tools where you can tap on your keyboard to the rhythm of a song and determine the beat this way. However, this might not be very accurate. You should only analyze the short snippet you are actually using, because the beat might change throughout the song.

The big problem is that the beat can be between frames. It’s pretty easy to animate if you have a fixed beat, lets say every 12 frames. You just put your hit position there, a nice breakdown or anticipation in between and your dance cycle is ready to go. But this is a very ideal condition. Let’s have a look at an example where the beat lies between the frames. Here we have a metronome click on a fixed speed (120 bpm):

If we place our hit position every 12 frames, it’s too early after a while. If we place it every 13 frames, it will come to late. In this example the beat comes exactly every 12,5 frames.

You can still animate it though, you just have to alternate the space between the beats: hit after 12 frames, hit after 13 frames, hit after 12 frames, hit after 13 frames and so on. Of course, this gets a little awkward to deal with. In a quick cycle you would have one frame less for half of the motion – one frame that could be an important up, down or breakdown position.


Avoid problems by preparing the music

Whenever you have the opportunity to influence the music, you should take care that the beat hits whole frames. Musicians, of course, usually don’t calculate in frames. Two worlds meet here: We – the animators – need to know the beats per frames, so that we can put our hit positions on the correct frame. Musicians, though, work in beats per minute (bpm). In order to bring these worlds together, I am afraid we need to use… math: If you work with 25 fps, one minute has 1500 frames (60 seconds x the frame rate: 25 fps). So to calculate which frames the beat is on, you divide the Bpm of your song by 1500 (keep in mind that you get different values for other fps rates). This shows that a beat with 120 would indeed awkwardly hit every 12,5 frames (120/1500). You should tell your musician to use 125 bpm instead – it is almost the same speed and the beat hits every 12 frames (125/1500). See:

You don’t wanna do the math? That’s fine… We have a nice list for you with the Beats per Frames for various BPM on different frame rates.

That’s quite a dry theory, but you need to be exact here! Sometimes it might be helpful to get a click track from your musician (or make one yourself) where you hear a metronome click very loudly. You can see these clicks in the waveform diagram that an animation program displays in the timeline.

I have to emphasize it again: You need to know on which frames the beat is on – otherwise your animation will never look right (especially if you have to deal with a tricky beat between frames). It would be a shame if you invested hours into creating a cool dance cycle, and it goes out of sync after a few seconds.

As for the other tips and tricks in this article: These are just guidelines, giving you a basic point to start with. Feel free to alter them. Try your own ideas, experiment with timing and posing until your animation literally rocks. What’s allowed is whatever looks good and groovy.

Now, please let me know your experiences with animating to music and your feedback to this article in the comments.





Similar Posts

Notify of
newest most voted
Inline Feedbacks
View all comments

WOW this was super helpful! Also can I just say that your drawing of the couple dancing is fantastic? How do you draw so well? I’m learning 3D animation now but I want to also learn 2D and my teachers say I need to draw better. Can you do an article about that?

J.K. Riki

I would also like to see such an article. What do you say, Ferdinand? 🙂

Jesse McHenry

That chart is pretty handy, thanks. I hate doing the math myself.


Yeah, I found myself doing the same calculations for every damn project. Finally I had a reason to make a chart… and even put it somewhere, where I can always find it again ^^


Sometimes stuff on animation’s kind of obvious stuff or too basic and don’t really say anything but this one was actually pretty well done. keep up the good work.


Outstanding article. Excellent examples! I just happened to be watching the video lectures by Professor Craig Wright and they are well worth the watching for the aspiring animator.

One thing he mentions in session 4… I think (and I believe this can be used to raise animation timed to musical beats to a higher level) is that musicians do not tend to play the beat and yet when played we instinctlvely pick up the beat. (He says it much better than I can so check him out if you have the interest:

Note that this course is for people that don’t necessarily play music.

At any rate… really enjoyed this article,so thanks!


Often people don’t understand how much time and efforts it takes to write such an excellent article, but this one was fantastic! Great job very helpful.


One of most useful articles I’ve read. Moving the visual hits early is also important in lip sync, particularly on open vowels. Good job, Ferdinand.


Very well said.


Wow… just Wow. This was an amazing help especially that chart. Thanks so much for putting it together.


huh I never looked at it that way. that’s a pretty sweet chart I’m going to print it out.


Wow, super detailed! I’m going to print this out to keep handy while animating, thanks.


Good Work! Some years ago I made couple of semi-abstract animations for music. I noticed similar rules as yours. I also wroted an article about it. Here is

Official Oak

Very helpful thank you. I would like to know more about doing music videos maybe if you have more information?

flipflop musik

you should make a article about how to make the music video like the Gorillaz. 😉


I love this! Can you do more on animating like music videos? I want to learn to do that.

Warren Christiansen

Thanks! I’ve “learned” this before & just needed a quick summary ( & a table. Thank You for the table!) To get started again.


Hey, just wanted to note that the math part of the post was typed wrong. It should be frames divided by bpm (1500/120)