How to realize (web) of Music dynamic effect

as shown in the figure: how to draw the circle according to the dynamic effect of music to achieve the flickering effect of following the beat of music?

Nov.25,2021

audio-related api of web, which can "parse" audio.
https://developer.mozilla.org.

Menu