Plan a dancing picture
Pick what is on screen and for how many beats. Play it to the song. Then make it.
Getting the storyboard ready.
No AI. It's just an FFT, the same sums as the bars on an old hi-fi. Each song's beat, bass, treble and loudness are measured, and plain code draws every picture from those numbers.