Experiment

Soundbar spectrum

This experiment is another audio reactive one, using p5JS. Here, I basically do sound analysis on a cool japanese rap song (CHANMINA - I'm a Pop). I chose to split the frequencies spectrum in 32 distinct bars that corresponds to a specific range. Then, based on the bass frequencies [20 Hz, 140 Hz], the sketch is designed to react in a way.

Different frequency ranges can change a specific element on the canvas. Here, it reacts by changing colors. At the same time, each of the frequencies between amplitude can have a value betwen 0 and 256 which determines the height of the bar corresponding to that frequency range. Pretty cool, right?