MZ Audio Visualization

Hello!

I'm a recent convert from VX Ace, getting my feet wet with Javascript in MZ (skipped out on MV). I've been working on a sound test scene plugin, which has had its various ups and downs, but it's gotten to a place I'm getting pretty happy with functionality wise so I decided that it might be time to start adding some bells and whistles. The first thing that came to mind was an audio visualization of the BGM you were sampling.

[IMG]https://cdn.orangeable.com/img/javascript-equalizer.gif[/IMG]

Y'know, this kind of thing. A simple bar one, rectangular shaped, would fit perfectly into a nice empty space I've got in the scene right now. Though, to be honest, I'm at a bit of a loss as to where to even begin. I've received some advice on the subject that WebAudio would be something I should look into, and to try to get it to output to a bitmap which I can then attach to a sprite. That part, I can probably do just fine. However, as for actually getting the information needed from the BGM that's playing, and converting it into, well... that, I'm not too sure how to proceed. So I would welcome any and all advice on the subject.
Have you found one? I've also been thinking of one.

@alexRO, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/audio-visualization.127780/