Projects

C FFT Visualizer

Real-time audio spectrum visualizer using C, FFTW3, Raylib, and PortAudio.

27 September 2025 · Systems + Graphics

Tech: C, Raylib, FFTW3, PortAudio

Highlights

  • Log-frequency bars with fractional-octave smoothing (1/1…1/48)
  • dB-domain time averaging (EMA) + per-band peak-hold/max-hold
  • Mic or WAV input via PortAudio; weighting modes (Z/A/C) + pink compensation

Overview #

A real-time FFT visualizer that renders log-frequency bars with fractional-octave smoothing, per-band peak-hold, and pink-noise compensation. Works with .wav files or a live microphone input. Warning: Early prototype. Sample rates of 48kHz and higher may make the visualization lag relative to the audio.

C FFT Visualizer spectrum view
FFT spectrum with log-frequency bars, peak-hold, and dB grid.

Problem / approach #

Solution #

Features #

Controls (high level) #

Outcome #