Page 2 of 2

Re: Comparing arrays of the same size

Posted: 30 Mar 2012 13:14
by bxsj
For the sysex matching I have just used the direct approach - something like
decl VG_SYX_ID = {0x41,0,0,0,0x1C,0x12}; // but probably declared globally actually
Yep, that's exactly what I've done.
if (subarray(MIDI_ARGS,1,6) ==VG_SYX_ID) // Roland VG99 Sysex.
And this is where an array compare function is needed. The result of this comparison is another array etc.

If the sysex implementation of the GR-55 is similar to other Roland gear, then it should be possilbe to read/set specific parameters. It's just a matter of determining the correct address from the MIDI implementation map. I use this tecnique to read out the patch name and the osc types from the V-Synth. Programming all possible paramters or reading/storing complete patches imho on the Lemur does not really make sense. But controlling certain aspects like cutoff or resonance helps a lot, especially if you deal with a rack unit.

Thanks for the response,
B.