Pages: [1]   Go Down
Author Topic: Arduino MIDI Controller  (Read 865 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,
I am trying to build a midi controller with an Arduino.  I would like to have 16 buttons that triggered a midi event when they were pushed. I would also like to have the buttons lit with an white LED all of the time, then change to blue when they are pushed. 

I know that I will need to use shift registers, such as the CD4021BE, for the buttons, and another set of shift registers, such as the 74HC595 to control the leds.

I have read the ShiftIn and ShiftOut tutorials: http://www.arduino.cc/en/Tutorial/ShiftIn and http://arduino.cc/en/Tutorial/ShiftOut, as well as how to interface with MIDI - http://arduino.cc/en/Tutorial/Midi

I have a basic understanding of how each system would work, and how to wire them up, but I have no idea how to write a program that would combine all of them into a finished product.

Thanks for the help.
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 504
Posts: 31327
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Not quite what you are after but my project is quite close and might give you some ideas, complete with code to download:-
http://www.thebox.myzen.co.uk/Hardware/MIDI_Footsteps.html
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm working on something similar at the moment but with analogue controls as well. (I found some nice mimi joysticks pots with push button action on ebay which inspired me to have a crack at an Eigenharp http://www.eigenlabs.com/product/ type controller.) I've taken this code http://tomscarff.tripod.com/downloads/source/pots6_cc_midi.txt and added code for note events.

I'm not to keen on the complexity of multiplexing so I'm looking at getting a mega, which should have more than enough inputs (and seems to be cheap enough these days). Alternatively, since the software supports midi-thru I'm thinking of just stringing two or three Arduinos in series.
Logged

Pages: [1]   Go Up
Jump to: