Visualize the spectrum of an audio stream in real time.
- Raspberry Pi 4
- Playstation Eye (only using the mic)
- 64x64 RGB LED Matrix
- Adafruit RGB Matrix Bonnet for Raspberry Pi
- Boost
- headers
- thread
- chrono
- program_options
- PortAudio
- FFTW and FFTW++
- rpi-rgb-led-matrix
- Run
cmake .
from the root of the project. - Change directories to
bin/
and runmake visualizer
. - Run
build/visualizer
with sudo. Command line options:
Allowed options:
--help produce help message
--speed arg (=8) set the visualizer's animation speed (must
be a power of 2 in range [2, 64])
--buffer-size arg (=512) set the size of the audio buffer, which
also determines the FFT length (allowed
values: 256, 512, 1024, 2048)
--pre-emphasis arg (=0.899999976) set the pre-emphasis factor
Check out video_examples/
to see the visualizer in action.