Post
by Macciza » 30 Mar 2012 11:52
Hi
Thanks bx - Quite correct about sumof being able to return 'wrong' results(compared to what you intended) due to ordering.
I tried a few other approaches but also ran into ! (not) problem where it just looks wrong and hard to read nicely.
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
if (subarray(MIDI_ARGS,1,6) ==VG_SYX_ID) // Roland VG99 Sysex.
Did not actually check it in Lemur but thats the basic idea. . .
Will have a bit of look at your XT project - I run a Roland VG 99 and have been testing possibilities - and putting it off . . .
Unfortunately the Sysex documentation I have is a pdf translated from Japanese . . .
That has lost it's column formatting so I need to also re-edit the doc to make it easier to read . . .
Oh and it is something like 150 pages long without any of unnecessary info or fill
And the sysex file for one patch is 5.5k, containing over 200 various size sysex messages within it
Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]