get BeatEdit at https://aescripts.com/beatedit-for-after-effects/
micro version of this tutorial: https://youtu.be/hmAl3f8_iNM

music:
Dance Robot ACTIVATE by Loyalty Freak Music – published as Public Domain at
http://freemusicarchive.org/music/Loyalty_Freak_Music/ROLLER_DISCO_DANCE_DANCE/Loyalty_Freak_Music_-_ROLLER_DISCO_DANCE_DANCE_-_02_Dance_Robot_ACTIVATE