You may have to press the flag multiple times for it to sync to the music correctly.
This took a bit of my time and was very tedious. Sure, the quality isn't the best, but I like this one :) Also after the animation is done click the flag, or the stop ,or just leave the project, as the animation keeps looping