Page 1 of 1
cc, channel and miditraget of the last touched object
Posted: 25 Sep 2013 13:07
by electrofux
Is there an easy way to get the CC#, the channel and the miditarget of tha last fader/knob i touched on my template in order to assign it to another control?
Re: cc, channel and miditraget of the last touched object
Posted: 26 Sep 2013 10:23
by electrofux
What exactly do i get if i use the getobject() function and can this be used to achiceve what i want?
I have several templates spread over different interfaces. One of them is a page with 4 xy Pads. I want to have an x and y button under each XY Pad and when i hit one of the buttons the corresponding axis of the XY Pad should be assigned to the last control that was used.
Re: cc, channel and miditraget of the last touched object
Posted: 27 Sep 2013 14:37
by Softcore
I can think of only two ways to achieve this...
1. Add a script in each and every object in your template which will change the cc, channel and target of an already scripted output of the XY pad. It doesnt seem like a nice soution though...
2. IF your controlled application supports bi-directional communication with Lemur (midi feedback) you could, cunningly use a ON MIDI script which consequently will always receive the last cc, channel being used - not the target though, this has to be defined. Then you could use that information to change the scripted output of the XY pad. Seems like a better solution, although if we were to include various targets, things become more complicated.