Im played with the javascript webaudio api to visualizing the audiostream of the song. Like I saw its using fft transform, and the result looking quite nice.
But when I see other visalizers, they are using other algorithm, or transform the fft to something else. They are looks more closer to the rythm and the bass. On the spectrum more "hills" and them moving linear, and dancing.
Lots of visualized song on the youtube using this other algorithm. What kind of analyser are they using? It is possible to earn that from js webaudio api, or from the fft?
You can get frequency data using the analyser node in the web audio Api, it has a configurable fft size, frequency bin count and smoothing constant. The getFloatFrequencyData method returns an array with the amplitudes of frequency ranges devided over the bin count. You can use this data to visualize it however you like.