Controlling Cubase with Arduino based MIDI

A friend of mine wanted to control Cubase, his audio recording software, with a push button so that he could stop and start recordings remotely without having to go over to the computer and type on the keyboard. You may be able to do this in other recording software, we just happen to use Cubase.

Step 1: What you need

Normally open push buttons (one for every action you want to perform like these) 10K-Ohm resistor (one for every button) Arduino with a good solid 5V. I had to externally power mine (I’m using the bare-bones version running Diecimila) get it here Solderless breadboard (like this one) MIDI jack (you only need one, since all you’re doing is sending like a dis) 220-Ohm resistor (for the MIDI jack) Computer running Cubase or some other recording software MIDI Cable (here’s a 20’er) You may need a USB to MIDI input, I have used and liked, this one, and this one

Step 2: Hardware Setup

Schematic and pic attached. NOTE: the schematic is the work of ITP Physical Computing

Basically it’s 5V to switch, switch to control pin, 10K resistor from control pin to GND For the MIDI jack it’s pin 5 to serial pin, pin4 to 5V through the 220 resistor Load the following sketch on your Arduino: {{{ /* Convert Arduino to a MIDI controller using as many digital inputs * as you need. * * This sketch is set up to send 2 MIDI notes on MIDI channel 5, * but it can be easily reconfigured for other notes and channels * * Created 3 Nov 2008 * By Hyeki Min * * Modified 14 May 2009 * By Petyr Stretz * Changed switch logic so that the pin low and high made the * notes play like a keyboard, removed unneeded pins, changed * output MIDI channel to 5 */