Raspberry Pi MIDI Interface

From vjmedia

The point of this project was to use the ALSA midi library to use the Raspberry Pi as a midi control interface. As you can see in the video the pi responds to the Launchpad Pro when the bottom left button is hit.

Software: The Pi uses a C program that listens for raw MIDI bytes. This program can be found here File:Alsarawmidiin.zip. Once the wanted note is received it will launch a preset animation created using the PiCube library. The PiCube library was designed to control the 8x8x8 RGB LED Cube PCB board and can be found here: https://github.com/hummypkg/picube.

Hardware: The Raspberry Pi runs all the software as well as provides power to the LED cube. The LED cube is run using a pre-designed PCB board which can be purchased here: http://www.theledcube.com/. The LED cube is fully RGB and has 512 LEDs which can be individually addressed. Soldering the Cube was the most time consuming portion of the project. As for the MIDI device I used a Launchpad Pro.

The Milestones for this project are as follows:

  1. Order components
  2. Assemble cube
  3. Program raspberry pi to control cube
  4. Create software interface between Midi and Pi
  5. Create demo video and upload code to the Wiki