An audio visualizer for Raspberry Pi using WS28xx RGB LED matrices.
Features audio input from an I2S MEMS microphone via a custom ALSA configuration. See matrix wiring information for setup details. Uses the great Cava software for audio visualization.
Built during coursework at NCU Toruń.
Requires cava to be installed on the system.
git clone https://github.com/sazonek/spectro-rust.git
cd spectro-rust
cargo install spectro-rust --path .Compile using cross with the supplied Docker image:
cross build --target aarch64-unknown-linux-gnu --releaseThen copy the binary to your Pi:
scp target/aarch64-unknown-linux-gnu/release/spectro-rust pi@raspberrypi.local:/home/pi/After installation, run the visualizer:
./spectro-rustConfig file should be placed in the same directory as the binary.
If installed via cargo:
cargo uninstall spectro-rust