/music-visualizer

Sound visualization. Basically, the program takes audio input from the microphone and performs an FFT analysis on it.

Primary LanguageJavaScript

Music Visualizer

About

This visualization takes audio input from the microphone and performs a FFT analysis on it. It computes amplitude values along the frequency domain. FFT analyzes a very short snapshot of sound and returns an array of amplitude measurements, referred to as bins. The array is 1024 bins long in this case. You can change the bin array length, but it must be a power of 2 between 16 and 1024 in order for the FFT algorithm to function correctly.

Usage

To be able to run this program you'll have to click on the screen once everytime you run it to enable your microphone input.

image