Send multiple CC commands from one fader

Discuss Lemur and share techniques.
Post Reply
mwjburton
Newbie
Posts: 2
Joined: 01 Feb 2013 04:00

Send multiple CC commands from one fader

Post by mwjburton »

I'm very new to Lemur and midi in general, please excuse my ignorance!

We're trying to adapt a fader interface for Avid Media Composer using a friends project. His project works great and uses the JL Cooper MCS-3000x hardware as its base. Avid also supports the Command 8 console, which has a few more bells and whistles, so we're trying to get that working too.

I have the sysex working, so thats all good I think. Now moving onto the faders. I know that the Command 8 uses 8 (eight) different CC commands for each fader. For example CH1 uses 0, 8, 16, 24, 32, 40, 48, 56 all with values between 0 to 127 and all on channel 1.

It also sends a "Note On F-1 64" when the fader starts and "Note Off F-1 0" when the fader stops. (but this might not be that crucial)

I'm guessing I need to build some kind of expression or script to handle all these in one go for one fader? I can get it to work with one CC code, but the send and feedback is very jerky as its obviously only using 1/8 of the data it should have.

If anyone could point me in the right direction with maybe an example script if thats necessary it be much appreciated.

Many thanks
Mark
Last edited by mwjburton on 01 Feb 2013 11:05, edited 1 time in total.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Send Multiple CC commands from one fader

Post by Macciza »

Hi
First thing will be to confirm the actual MIDI details . . . 8 different CC's per Fader does not seem right - A different CC for each Fader in each of 8 banks maybe . . . ie Bank1/Fader1=CC0 Bank2/Fader1 = CC8 etc . . .
NoteOn value when touched is good for automation purposes - use the z var for that . . .

Lots of different ways to do what you want - 8 Faders scripted to use a Bank number to change CC number or 64 Faders shifted on and off screen in groups of 8 etc . . .

Often it really helps to post a bit of the Project where you are having problems . . .

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]
mwjburton
Newbie
Posts: 2
Joined: 01 Feb 2013 04:00

Re: Send multiple CC commands from one fader

Post by mwjburton »

Hi MM,

Thanks for your reply.I agree that it seems a bit unusual since usually its one CC for each fader, but before we started all this, we got a Command 8 and Avid Media Composer hooked up and recorded all the midi commands being sent back and forth using Midi Monitor. What we found was that each fader was sending 8 separate CC codes with values from 0 to 127. They never only used just one CC.

CH1 0, 8, 16, 24, 32, 40, 48, 56
CH2 1, 9, 17, 25, 33, 41, 49, 57
CH3 2, 10, 18, 26, 34, 42, 50, 58
CH4 3, 11, 19, 27, 35, 43, 51, 59
CH5 4, 12, 20, 28, 36, 44, 52, 60
CH6 5, 13, 21, 29, 37, 45, 53, 61
CH7 6, 14, 22, 30, 38, 46, 54, 62
CH8 7, 15, 23, 31, 39, 47, 55, 63

We thought this might be something to do achieving some kind of higher 'resolution' on the control, but I'm really not sure. Anyway, we were able to replicate this very well with Midi Touch on the iPad.

If I try and control it with just one of these CC codes, its quite jerky, especially with the feedback to Lemur when a fader is manually moved inside Media Composer. This sits with my experience with Midi Touch too.

What method would you suggest to do this? Avid only ever allows Midi control of 8 tracks at a time, so I don't need to have any more than this onscreen.

Thanks for the note about the NoteOn value and automation, that makes sense. Its so great knowing that Lemur can handle all this (although I still need to figure it all out!) as we hit a brick wall with Midi Touch and what it was able to do.

Thanks
Mark
Post Reply