A Try 'N' Error video I made, you can check the original song video on the description
Video
create an empty and parent all of your bars to that empty, and move the empty over time with keyframes. try to match it with your lyrics
After that, set up this node network and play with mapping values, i'm sure you'll find the sweet spot, and then animate it with keyframes
for dynamic bloks, you need to import an audio file and bake it to cubes, you can actually check out youtube for this kind of thing
setup eevee rendered
setup 3d view