Vibe Coding Encyclopedia

Audio visualization with FFT

The two notes are actually resounding with the FFT of AnalyserNode to draw the frequency bar and overlap the waveform, making the Macnole and chord ratio (2:3) visible.

Category
Sound

Technical terms · FFT spectrum — Web Audio AnalyserNode · getByteFrequencyData · fftSize · frequencyBinCount · Beat frequency |f1 − f2| · Frequency ratio (perfect fifth 2:3, octave 1:2)

Related techniques

Technique document (Korean)