The first sound visualizer I made was in flash. Source code unavailable.
Take a sound wave and draw it around a point to make a circle and have some sort of algorithm for colors / size and you’ll get something like in the demo.
Loud music and bright color warning.
Demo:
https://scriptinghobby.com/soundvisual/music.html