I'm trying to build a MIDI controller and have followed the instructions on the Ardunio MIDI tutorial website.
But I can't seem to get the VMPK program to recognize that my UNO is plugged in.
Specifically, in the MIDI setup menu, VMPK asks for a MIDI input connection, but the selection window is empty and there doesn't seem to be any way to select the UNO as the input device.
VMPK is a virtual MIDI piano keyboard for Linux, Windows and OSX. It is not for an Arduino.
You need something to convert the serial data that the Arduino sends into a MIDI port. One such helper application is called "hairless" and can be used to make an Arduino talk MIDI.
Hairless is a great tool for debugging and testing, but I like to have it somewhat more "plug 'N' play". That's why I use HIDUINO, it's explained in the links in my previous post. It's MIDI firmware for the ATmega16U2 (the second microcontroller on the Uno), it takes the Serial MIDI signal sent by the Arduino's main MCU (ATmega328P) and converts it to MIDI-over-USB. This means that the Arduino will be recognized as a USB MIDI device when you plug it in.
Really?
For a Uno adding it on involves replacing the bootloader therefore makes the changing of the code quite a faf to say the least. I certainly would not recommend it for a beginner.
Well, hairless seems to work well alright -- although it crashes a LOT.
If VMPK isn't an Arduino compatible application, then I would vote for revising the Midi tutorial at https://www.arduino.cc/en/Tutorial/MidiDevice where it features prominently.
That would keep more newbies like myself sane for a slightly longer period.
dmacq:
Well, hairless seems to work well alright -- although it crashes a LOT.
That's why I prefer HIDuino
dmacq:
If VMPK isn't an Arduino compatible application, then I would vote for revising the Midi tutorial at https://www.arduino.cc/en/Tutorial/MidiDevice where it features prominently.
That would keep more newbies like myself sane for a slightly longer period.
It is Arduino compatible, you just need Hairless or HIDuino for it to work with an Uno or a Mega. It just needs a MIDI device to talk to.