July 13, 2012 AT 12:41 pm

One of the great things about the Raspberry Pi is how everyone starts with same piece of gear. Since the audio hardware is identical on every unit it is trivial to load the drivers and play mp3 files.

This guide describes how to connect input buttons and play audio files using a Raspberry Pi. We make use of the Adafruit’s Pi Cobbler Breakout Kit and the python module RPi.GPIO. If you have not already used the raspberry pi as a input device this guide will show you how to wire the pull-down resistors, GPIO pins and buttons.