The SquishBox is a compact add-on board and enclosure for Raspberry Pi (primarily Pi 3B+ and Pi 4) that combines:
- high-quality stereo DAC with 1/4" outputs
- MIDI in/out via TRS minijacks
- 16x2 character LCD
- pushbutton rotary encoder
- breakout GPIO for extra controls, LEDs, and peripherals
This creates a portable embedded platform for audio projects such as synths, sound modules, pedalboard utilities, sequencers, and music players.
The software package includes ready-to-run applications plus a simple Python API for building your own.
Writing SquishBox Apps
The squishbox python package provides access to the LCD, controls (buttons/encoders), outputs, and a set of menu-driven interaction helpers. Here is a simple example app:
import squishbox
sb = squishbox.SquishBox()
card = "hw:sndrpihifiberry"
sb.lcd.clear()
sb.lcd.write("Audio Test", row=0)
while True:
i, option = sb.menu_choose(["Noise", "Sine", "Exit"], row=1)
if option == "Noise":
sb.shell_cmd(f"speaker-test -l2 -c2 -D{card}")
elif option == "Sine":
sb.shell_cmd(f"speaker-test -l2 -c2 -tsine -D{card}")
elif option == "Exit":
break