ChucK-in-the-Box is a command-line based toolset for making computer music on the Raspberry Pi Zero 2 W. ChucK-in-the-Box is built on the 64-bit version of Raspberry Pi OS Lite and contains
using the base ALSA audio platform. Optional scripts install
- the default and Faust ChuGins, and
- Bluetooth audio and the PipeWire platform, including the JACK and PulseAudio emulators, documentation, and command-line management tools.
The primary audience is computer music nerds who want an inexpensive platform that provides leading-edge digital signal processing software, an easy-to-use music programming language, and the ability to develop for the platform on the platform. Makers can use ChucK-in-the-Box on a Raspberry Pi Zero 2 W as a base for building conventional digital musical instruments, of course, but there are better options for that, most notably, the Bela Gem.
All Raspberry Pi boards have HDMI output. So if you're hooked up to an HDMI monitor with audio, you don't need to buy anything for audio output. If you're running headless, you can use an HDMI audio extractor or HDMI capture card that has audio outputs. However, there's no audio input by default on a Raspberry Pi - if you need audio input, you'll need additional hardware.
Another option is a plug-and-play USB audio device. There are expensive ones and inexpensive ones. Many of the inexpensive ones only do 16 bit / 48 kilohertz audio, so check the specifications carefully. I have had good results with USB gaming headsets, although you'll have to use great caution to protect your ears as you would with any headset.
Finally, ChucK-in-the-Box supports Bluetooth audio, including microphones, speakers, headphones and headsets. There are latency and connection issues with Bluetooth audio, but for development it's a convenient option.
Previous versions of ChucK-in-the-Box had two variants, a command-line version for the Zero 2 W mostly like this one, and an expanded version for the Pi 4 and 5. I've decided to drop support for the larger devices, mostly because they are powerful enough to run full sized audio applications, including most of the Debian multimedia task collection, Flatpak and Snap applications, and even some commercial DAWs. ChucK-in-the-Box was born minimal and I plan to keep it minimal.
The best way to contribute is to open issues - feature requests or bug reports - at https://github.com/AlgoCompSynth/ChucK-in-the-Box/issues/new. Please, no AI, no pull requests, and no requests for me to re-instate support for larger Pis. I have some other projects in the works that need Pi 5 processing power; this one is staying small.