More options for Alias controls

Send us your feedback or ask for features.
alfonso
Newbie
Posts:17
Joined:27 Mar 2013 14:54
More options for Alias controls

Post by alfonso » 27 Mar 2013 14:58

Hi guys,
i often need a simple way to have aliases of same controls in different pages.
And i often need to resize and or change type of controls of the alias ( i.e. a little fader wich aliases a big one. or a knob wich aliases a fader ).
I'd really like to get it ( and ideally in both editors , the pc/mac one and the ipad/iphone one).
what do you think about it?
all the best
a.

Phil999
Regular
Posts:932
Joined:11 Jan 2012 01:53

Re: More options for Alias controls

Post by Phil999 » 27 Mar 2013 16:21

if the alias must have a different shape, I found no other way than to use two objects and link them together.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro

alfonso
Newbie
Posts:17
Joined:27 Mar 2013 14:54

Re: More options for Alias controls

Post by alfonso » 27 Mar 2013 16:41

hi phil999,
and how you would do it?
many thanks
a.

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: More options for Alias controls

Post by Softcore » 27 Mar 2013 16:46

Yup the same as Phil....

To link BigFader with SmallKnob (example names)

add scripts in each of them.....

in Bigfader, on expression x, any

Code: Select all

SmallKnob.x=x;
in SmallKnob, on expression x, any

Code: Select all

BigFader.x=x;
Needless to say you then only need to map only one of them to midi or OSC

acidan
Newbie
Posts:28
Joined:06 Feb 2012 13:19

Re: More options for Alias controls

Post by acidan » 13 Apr 2013 22:18

Softcore wrote:Yup the same as Phil....

To link BigFader with SmallKnob (example names)

add scripts in each of them.....

in Bigfader, on expression x, any

Code: Select all

SmallKnob.x=x;
in SmallKnob, on expression x, any

Code: Select all

BigFader.x=x;
Needless to say you then only need to map only one of them to midi or OSC
Say for example the 'Bigfader' was in a different container and also on another interface page, how would I go about linking it to 'Smallknob'?

alfonso
Newbie
Posts:17
Joined:27 Mar 2013 14:54

Re: More options for Alias controls

Post by alfonso » 13 Apr 2013 23:12

exactly...i did'nt be able to connect controls on different pages/containers...am i doin' something wrong?

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: More options for Alias controls

Post by Softcore » 14 Apr 2013 10:29

The interface doesnt have to be referenced in the script but the container has to.....

For example if BigFader is in container "Faders" in interface "mixer" and SmallKnob is in container "Knobs" in interface "KnobsPage" you add:

in Bigfader, on expression x, any

Code: Select all

Knobs.SmallKnob.x=x;
in SmallKnob, on expression x, any

Code: Select all

Faders.BigFader.x=x;

acidan
Newbie
Posts:28
Joined:06 Feb 2012 13:19

Re: More options for Alias controls

Post by acidan » 15 Apr 2013 03:22

Thanks Softcore. Got it. The only problem I have found when 2 objects are linked to each other in both directions is that it creates a loop and the object gets stuck. Is there a way to break the loop and stop this happening?

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: More options for Alias controls

Post by Softcore » 15 Apr 2013 06:50

Weird I havent seen such a behavior and I have used linked faders in one of my templates.....

In any case adding an "if" statement for the z expression will be checking if you are actually touching that object so it would stop any potential "loops"....

For our example above, this would be:

in Bigfader, on expression x, any

Code: Select all

if (z)  Knobs.SmallKnob.x=x;


in SmallKnob, on expression x, any

Code: Select all

if (z) Faders.BigFader.x=x;

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: More options for Alias controls

Post by Softcore » 15 Apr 2013 06:51

Also, as mentioned earlier, by linking the two objects you dont have to midi map both of them - only the one, perhaps thats why they are being "locked" for you?

Post Reply