← All projects
C++ Library + Hardware Drivers
Pistomp HAL
A JUCE-free C++17 hardware abstraction layer for the pi-Stomp v3 guitar-pedal platform (Raspberry Pi 5), extracted from the Pistomp Pedalboard project and consumed as a static library via CMake FetchContent.
It packages rotary encoders (libgpiod), SPI footswitches, NeoPixel LEDs, an ILI9341 TFT driven by LVGL v9, ADC input metering, and a realtime duplex ALSA audio path (SCHED_FIFO, xrun recovery) behind clean headers — the Board class owns the shared SPI mutex so consumers can’t corrupt the bus.
The same headers are backed by a macOS simulator — LVGL rendering in SDL2, audio through CoreAudio/miniaudio, keyboard-mapped controls — so an entire pedal app can be developed and tested with no Pi attached.