I am looking for a way to pass on values from my max/msp patch into qlab. For example, I have a max/msp patch that will send messages to set certain lighing submasters at certain intensity values. I am currently accomplishing this by setting up Midi Show Control cues in Qlab and triggering them with midi control change messages from max/msp. The MSC cues in Qlab are hardcoded with a "control value" that controls the fader of the submaster I am setting.
Rather than having predetermined cues with set control values, is there any way to take the value parameter from the midi control change message from max/msp and have that set as the control value for the Qlab MSC cue?
Or, is there a better way to do this? I was trying to avoid sending midi show control messages directly from max/msp because I have to construct the midi hex manually it seems, and that gets messy.
- Stephen
________________________________________________________
WHEN REPLYING, PLEASE QUOTE ONLY WHAT YOU NEED. Thanks!
Change your preferences or unsubscribe here:
http://lists.figure53.com/listinfo.cgi/qlab-figure53.com
Follow Figure 53 on Twitter here: http://twitter.com/Figure53
Interesting usage scenario! I'm not sure off the top of my head of a way to accomplish this in the dynamic way you describe. You can set an MSC Cue's control value using AppleScript, but I can't think of a way to use the incoming value to then feed into a script or another part of QLab to adjust another cue.
I'm unfortunately not an expert in Max/MSP, but it seems like sending the values directly from there may be the best bet. If the only thing that is changing is a particular number, it seems like you could hard-code the rest of the message you want to send in hex, and then just convert the one number that's changing to a new hex value and insert it? (And you could use MIDI Monitor and QLab to find what hard-coded hex you need?)
Best,
Chris
On Feb 23, 2011, at 8:33 AM, Stephen Garrett wrote:
> Hi,
>
> I am looking for a way to pass on values from my max/msp patch into qlab. For example, I have a max/msp patch that will send messages to set certain lighing submasters at certain intensity values. I am currently accomplishing this by setting up Midi Show Control cues in QLab and triggering them with midi control change messages from max/msp. The MSC cues in QLab are hardcoded with a "control value" that controls the fader of the submaster I am setting.
>
> Rather than having predetermined cues with set control values, is there any way to take the value parameter from the midi control change message from max/msp and have that set as the control value for the QLab MSC cue?
> I am looking for a way to pass on values from my max/msp patch into qlab. For example, I have a max/msp patch that will send messages to set certain lighing submasters at certain intensity values. I am currently accomplishing this by setting up Midi Show Control cues in Qlab and triggering them with midi control change messages from max/msp. The MSC cues in Qlab are hardcoded with a "control value" that controls the fader of the submaster I am setting.
>
> Rather than having predetermined cues with set control values, is there any way to take the value parameter from the midi control change message from max/msp and have that set as the control value for the Qlab MSC cue?
>
> Or, is there a better way to do this? I was trying to avoid sending midi show control messages directly from max/msp because I have to construct the midi hex manually it seems, and that gets messy.
Presumably you can't set the lighting desk to respond to CC messages? You could use the Message Factory in MidiPipe to convert incoming CC to outgoing MSC mapping the CC value to the appropriate byte of the MSC message, and bypassing QLab altogether. Alternatively MidiPipe could run a script to take the incoming CC value and set the MSC message in QLab accordingly. Neither of these are pretty, and it seems unlikely that MAX/MSP can't do this more elegantly itself.
Alternatively, use a script to batch create a whole load of MSC Cues in QLab, each triggered by a unique CC value and sending the appropriate MSC message out.
Rich
Where do I find more info about the scripting language I would need to use to do your last option (using "a script to batch create a whole load of MSC Cues in QLab, each triggered by a unique CC value and sending the appropriate MSC message out"). This seems to be the cleanest approach for me.As long as this doesn't degrade performance I think it is the quickest and easiest option.Any ideas on a max number of cues qlab can handle as part of one show file?