Oddly enough, I noticed the synchronization of sprites with music, it looked dynamic. But in general, if I’m not mistaken, there are algorithms that can decompose music into rhythm (time intervals between measures), and now they can be used as a variable to change animation.
But it's so stuffy...