RaspberryPi Soundboard - Intro

One of the additional elements in our WeBuild Live podcast set-up is a Soundboard, which lets me trigger sound effects during the show. That board also controls the intro and outro music. Since this needs to be heard in the Live broadcast as well, and post processed, I had to give it its own channel in Mumble. To make life easy, I used an spare Macbook I had lying around, and loaded up Mumble, Soundflower (useful for piping audio between applications) and found SoundPlant (caveat: Soundplant interface looks old, but is pretty useful for what it does).

The current set-up works, but I wanted to make it leaner. So after a couple of days of research, I have the rough plans for a RaspberryPi based Soundboard.

The set-up I’m envisioning is as follows.

Hardware

  • RaspberryPi Model B (to be run headless)
  • Generic USB WiFi Adapter
  • USB Numpad (to trigger the sounds)

Software

  • Raspbian
  • Mumble Client running through VNC
  • PulseAudio (piping audio)
  • aplay (simple audio player)
  • Custom Python scripts to manage and trigger the audio files.

It looks simple enough and I found a few articles on the Interwebs talking about similar ideas, but there could be some gotchas.

Possible Problem Area

  • Latency. The audio has to be heard very quickly after the Numpad keys are pressed.
  • Capturing Numpad Keys robustly.
  • Mumble is a UI based program, it doesn’t have much scripting support.
  • Mechanism to show status of Mumble connections etc.

I will post updates as I keep working on this project.