We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
MIDI : Sending sysex (Read 1146 times)
MIDI : Sending sysex
Jul 29th, 2009, 6:15am
 
Hi!

I'm building a midi controller based on the Arduino, that uses real MIDI cables (no software emulation of any kind).

I need to send and receive sysex to it thru a sketch. (NB: As I said via a MIDI connection and not a Serial-over-USB, I btw don't have USB on my simplified board.)

It seems that the proMIDI doesn't do it out-of-the-box.

Any idea of where to hack the library for adding that, or how to do that another way?

Thanks!  Smiley
Re: MIDI : Sending sysex
Reply #1 - Jul 29th, 2009, 6:41am
 
Oh, I hadn't yet seen that : h t t p : / /ruinwesen.com/support-files/rwmidi/documentation/MidiOutput-sendSysex-byte-arra
y.html !
It seems to be the solution Wink
Re: MIDI : Sending sysex
Reply #2 - Jul 30th, 2009, 3:30am
 
I manage to get the SysEx now...

Here is a part of the example:
Code:
void sysexReceived(rwmidi.SysexMessage msg) {
println(msg);
}

I don't find out how to convert "msg" from the SysexMessage type to a String...

any idea?

Thanks!
Re: MIDI : Sending sysex
Reply #3 - Jul 30th, 2009, 3:57am
 
Got it :
Code:
byte commandes[]=msg.getMessage(); 

Page Index Toggle Pages: 1