multiple controllers on one object

Discuss Lemur and share techniques.
Post Reply
Audiorama
Newbie
Posts:25
Joined:28 Apr 2012 22:29
multiple controllers on one object

Post by Audiorama » 02 May 2012 18:36

Hi everybody,

I'm new on Lemur. I used touch Osc for a time, then I switched to Midi Touch (a lot of intersting features, but a lot of crashes, too and many in concerts or workshops with students or children and no more development...).
I'm testing Lemur and waiting for crashes : none in the first two days , good.
The app is of course very professional. I appreciate it very much.
But I'm very surprised not to find in Lemur a very useful feature : multiple controllers on the same object...
For instance :
With Midi Touch, I made very easily a quadrophonic panner for Ableton Live : in their xy pad : you can control the stereo pan of your track with one x controller, then use the y axis with 2 inverted controllers to move two sends .
With a little bit of adjustment on the range of values for theses two controllers, you have a nearly perfect quadrophonic control.

I wonder if this could be achieved with a single ball object : it has x and y axis... but how is it possible to have two different controllers on the y axis ?

Beside that, I like very much to control different parameters with the same mouvement of a fader, or knob...
and it's the same problem : I'd like to add one or two or more controllers on my fader , on my knob.

I tried also to control the Max4Live ambisonic panner , but I couldn't find a knob ready to do that in Lemur.
Is it possible ?

I'm sure it's possible to do that on Lemur. Anybody knows how ?

Bruno

mat
Regular
Posts:127
Joined:08 Dec 2011 09:21
Location:Germany
Contact:

Re: multiple controllers on one object

Post by mat » 03 May 2012 17:24

Hey Audiorama,

I think some expressions and a little script can do the job - sending different things on one controller.
-enter 2 new expressions near to your Multiball
-name them outA and outB
-expressions appear with green little dot in editor
-you can route expressions to Midi (set Midiport, "control change", controller and channel)
-next insert a script (that will set the values), name it however
-make it execute on Multiball.y, any
-insert:

Code: Select all

if (y<0.5) outA=127-(y*2*127);
if (y>0.5) outB=(y-0.5)*2*127;
that will split the out sending...
It is always good to enter some monitor objects and set their values to the expression. ...and you can easly expand the script.
Actually - you have to - cause as script is calculated in framerates, it is not sure that outB is 0 if y<0.5, it will be the last calculated value (see monitor), so expand script like:

Code: Select all

if (y<0.5) 
{
outA=127-(y*2*127);
outB=0;
}
if (y>0.5) 
{
outB=(y-0.5)*2*127; 
outA=0;
}
haha...ok, looks now a bit more complicated as it should be for a simple task like you asked for. But scripting gives many opportunities to combine controllers output.
Beneath using expressions, Custom Midi can also be a way (if I rethink even the better)- within custom midi you can route channel and controller dynamically and for values you can use the parts of the script.
There is only one bad thing about using expressions or custom Midi: It is a one way ticket. you loose midifeedback on your controller.

hope that helps and enjoy your lemur :)
mat
Lemur modules and sequencer: http://music-interface.com
Setup: Win7professional 32bit, Intel Core 2 Duo @ 2,66 GHz.,Tascam US-144MKII, Ableton Live 8.4,
Arturia Analog Lab., Max/Msp, Maxforlive, Lemur Legacy + Ipad, Akai MPK61, Doepfer Pocket Control

Audiorama
Newbie
Posts:25
Joined:28 Apr 2012 22:29

Re: multiple controllers on one object

Post by Audiorama » 05 May 2012 21:56

Hi Mat,

many thanks for your help.
In fact, I just found today how to adress multiple controllers on one object, without any script ! ;)
as i'm not good at all for scripting, I found this :
for instance :
I want to have a second controller on a fader
I create a new expression in my object
I name it x2
and I script =x
now, I can adress a second controller on my brand new x2
and my fader will send the two controllers simultaneously
and that's all, man! :D

And today I rebuilt very easily in Lemur my quadrophonic pan for Live and added a brand new "inverted reverb" to that ( when you fade out, reverb fade in , creating a distance effect )
So, I achieved in Lemur what I started in Midi Touch app : a spatialization set for electroacoustic music featuring an 8 speakers acousmonium type + two special quadrophonic tracks.

By the way, do you know if there is a total compatibility between the libraries of Lemur hardware and of the ipad app ?

Best Regards,

Bruno

Mirandolas
Newbie
Posts:1
Joined:13 Aug 2012 20:15

Re: multiple controllers on one object

Post by Mirandolas » 13 Aug 2012 20:20

Hi Bruno,

I have tried your fantastic solution but something is going wrong. Ableton doesn't recognize the sign I am sending from lemur, although the midi in light blinks when pressing pad on lemur.

I have created new expressions and then scripted them =x

Then I have changed the controllers and the channels.

Nothing happens. I am using the same midi port on all controllers. Maybe I should try different ones :roll:

Can you remember if you changed any other option?

Thanks in advance

Rui

Post Reply