Month: September 2012

  • MIDI with octave control

    I’ve added a couple of extra controls to the MIDI board. There are two buttons, to the bottom of the board, which control the octave. One for up, one for down. I’ve set the range of the board to four octaves with four LEDs to display the currently chosen octave. There is also a potentiometer […]

  • Pullup / Pulldown

    Next step in the midification process is to add the PCF8574 chips. These chips let me add multiple inputs using only three of the input lines on the Arduino. The chips can be daisy-chained together using the same three input lines so with two chips I can have sixteen inputs and still have loads in […]

  • Testing the I2C bus

    I’m using the I2C bus to read the keys in from the bass pedal. The breadboard layout is shown in an earlier post. To make sure that everything is working properly with the chips I have set up a piece of code that will read the sixteen pins in I2C chips and display their output via […]

  • Multi Button MIDI

    I’ve now mixed the single button MIDI code with the I2C code to create a Multi Button MIDI. This is just the starting point but it works perfectly. Using the same board layout as the earlier post, upload this sketch and you’ll have sixteen inputs for your MIDI device, perfect for wiring into your Bass Pedal! […]

  • Back to Basics

    I’ve been experimenting with the Arduino MIDI library. The code is available to download here. WIth the library installed using MIDI is simpler and your code is clearer. The MIDI library is initialises in the void setup(); function by inserting the line MIDI.begin(); Then the code to start a note playing is MIDI.sendNoteOn(36,127,1); and to stop […]

  • Single Button MIDI

    Stage two of my further adventures in MIDI land. Using a single button to play a single note via MIDI. A MIDI.sendnoteon turns on a note which keeps playing unless otherwise instructed. To stop the note a second instruction is sent. MIDI.sendnoteoff To do this you need to send a MIDI message whenever the state of the key […]