Unopad - Arduino MIDI Controller with Ableton

Tutorial for creating simple MIDI controller and usage of it in Ableton Live ( or any other DAW)

Sep 23, 2020

18179 views

15 respects

Components and supplies

9

Switch Actuator, APEM A01 series Illuminated Push-Button Switches

1

Arduino UNO

1

Jumper wires (generic)

Tools and machines

1

Soldering iron (generic)

Apps and platforms

1

loopMidi

1

Hairless MIDISerial Bridge

1

Ableton Live 10 Trial

Project description

Code

MidiDrumPad.ino

arduino

Buttons.h

arduino

MidiDrumPad.ino

arduino

Buttons.h

arduino

Buttons.cpp

arduino

Downloadable files

Unopad circuit - without LED

Unopad circuit - without LED

Unopad circuit - without LED

Unopad circuit - without LED

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

Hello, i was working on a arduino project with ableton live and before i progress with the project, i was trying to construct a keyboard like setup with using buttons on breadboard. For that i have found a starting code on MIDI.h library. However, i can not generate any kind of sound on ableton by using arduino. Im also using hairless and loopmidi. The code is here: #include <MIDI.h> // Create and bind the MIDI interface to the default hardware Serial port MIDI_CREATE_DEFAULT_INSTANCE(); static const unsigned ledPin = 13; //int incomingByte = 0; void setup() { // put your setup code here, to run once: pinMode(ledPin, OUTPUT); MIDI.begin(MIDI_CHANNEL_OMNI); // Listen to all incoming messages } void loop() { // put your main code here, to run repeatedly: digitalWrite(ledPin, HIGH); MIDI.sendNoteOn(42, 127, 1); // Send a Note (pitch 42, velo 127 on channel 1) delay(1000); // Wait for a second MIDI.sendNoteOff(50, 100, 1); // Stop the note digitalWrite(ledPin, LOW); delay(1000); } can you please help me

sadreactonly

2 years ago

Is top box in Ableton corner blinking when button on controller is pressed? https://hackster.imgix.net/uploads/attachments/1194807/check_midi_aiwK4gykjw.gif?auto=compress&gifq=35&w=680&h=510&fit=max

Anonymous user

2 years ago

Hey pal, Thanks a lot for summing up all the steps for making an Arduino Uno MIDI controller. It was exceptionally helpful for a project that stayed in my ToDo's since forever, especially the part about connecting the controller to a DAW. Peace!

Anonymous user

2 years ago

Great project! This is the only one I've seen that covers all aspects of the project. However, other readers, remember to set the baudrate in Hairless midi to the same rate in your arduino program. Go to File>Preferences, and there you should set the baudrate(9600, in this case). If the baud rate is not the same, you will get errors.

Anonymous user

2 years ago

Great project! and my only ask or inquiry that midi project instead of a button can be replaced to piezoelectric into digital pin I/O??

hardent

2 years ago

We are having trouble with the button.h code to run in the main program. We tried to add to the library, but were unsuccessful. Please help.

jerryohhh

3 years ago

Great project! and my only ask or inquiry that midi project instead of a button can be replaced to piezoelectric into digital pin I/O??

Anonymous user

3 years ago

Hey pal, Thanks a lot for summing up all the steps for making an Arduino Uno MIDI controller. It was exceptionally helpful for a project that stayed in my ToDo's since forever, especially the part about connecting the controller to a DAW. Peace!

karate_kaylor

4 years ago

I just saw HardenT's comment and I was having the same issue. We are working on a class project and trying to make a MIDI piano. Our two error codes consisted of one saying that the button.h file was not imported/ was not found. Do we have to upload it into the library and if so how do we do that? And our other error was that when trying to verify buttons.h it said error compiling for board Arduino Uno. Hope to hear back from you for help!

hardent

4 years ago

We are having trouble with the button.h code to run in the main program. We tried to add to the library, but were unsuccessful. Please help.

Anonymous user

4 years ago

Hello, i was working on a arduino project with ableton live and before i progress with the project, i was trying to construct a keyboard like setup with using buttons on breadboard. For that i have found a starting code on MIDI.h library. However, i can not generate any kind of sound on ableton by using arduino. Im also using hairless and loopmidi. The code is here: #include <MIDI.h> // Create and bind the MIDI interface to the default hardware Serial port MIDI_CREATE_DEFAULT_INSTANCE(); static const unsigned ledPin = 13; //int incomingByte = 0; void setup() { // put your setup code here, to run once: pinMode(ledPin, OUTPUT); MIDI.begin(MIDI_CHANNEL_OMNI); // Listen to all incoming messages } void loop() { // put your main code here, to run repeatedly: digitalWrite(ledPin, HIGH); MIDI.sendNoteOn(42, 127, 1); // Send a Note (pitch 42, velo 127 on channel 1) delay(1000); // Wait for a second MIDI.sendNoteOff(50, 100, 1); // Stop the note digitalWrite(ledPin, LOW); delay(1000); } can you please help me

sadreactonly

2 years ago

Is top box in Ableton corner blinking when button on controller is pressed? https://hackster.imgix.net/uploads/attachments/1194807/check_midi_aiwK4gykjw.gif?auto=compress&gifq=35&w=680&h=510&fit=max

Anonymous user

4 years ago

Great project! This is the only one I've seen that covers all aspects of the project. However, other readers, remember to set the baudrate in Hairless midi to the same rate in your arduino program. Go to File>Preferences, and there you should set the baudrate(9600, in this case). If the baud rate is not the same, you will get errors.