Monday, July 30, 2012

Makey-makey Raspberry PI Soundboard

I recently ordered a Makey-Makey and thought it would be fun to create a pencil-drawn soundboard with it. However it seemed limiting to drag around a computer to play the sounds. So why not use my raspberry pi?

The makey-makey isn't going to arrive until next month, but I've created the kiosk style setup for it on the pi already.

Hopefully when it arrives I'll be able to plug it in and go!

Starting from a base install of 2012-07-15-wheezy-raspian, logged in as 'pi':

$ sudo apt-get install git
$ cd /home/pi
$ git clone https://github.com/dalethatcher/piboard.git
Edit /etc/inittab:

$ sudo nano /etc/inittab
Make sure two is the default runlevel:

# The default runlevel.
id:2:initdefault:
Then replace the line:

1:2345:respawn:/sbin/getty --noclear 38400 tty1
with:

1:2345:respawn:/sbin/getty -a pi -l /home/pi/piboard/run.sh 38400 tty1
Reboot and verify that, after start up, the program is running on the first screen.