Hi Don
I work with Fedora 18 in a VirtualBox on an IMac.
Why this mad setup ? I used to do all development under Linux, and feel at home there,
but for several reasons I switched my main 'normal' work to an iMac. So all my historical dev stuff is made for Linux.
The only change to the IDE is really the ArmCompiler file, but in order to use it the
new version of the flattened libmaple file system must be used, and I also use a more modern arm-gcc toolchain. The script in libmaple that is supposed to copy files from libmaple into Maple IDE seems broken from newer changes to libmaple. I have submitted my changes to bnewbold for review, but they are quite busy atm.
I see a few layers in the MIDI stuff:
*) MIDI-USB messages ( 4 byte/32 bit )
*) transfroming this to normal serial MIDI bytestream
*) Interpreting MIDI commands, like sys-ex
The only part I have worked on so far is the 4 byte usb-midi messages for not on/off.
I have a test sketch that echoes USB MIDI messages back to the host.
The main use is to send USB MIDI note on with an OpenPipe hooked up to the Maple
---------------
#include <wirish/usb_midi.h>
#define ledpiny 3
void setup() {
pinMode(ledpiny, OUTPUT);
MidiUSB.begin();
}
void loop() {
digitalWrite(ledpiny, MidiUSB.isConnected() );
while (MidiUSB.available()>=4)
{
unsigned char midibuf[4];
MidiUSB.read(midibuf,4);
MidiUSB.write(midibuf,4);
}
}
--------------------
Regards
Magnus