hi,
i hope you guys can help my out. i´m new to lemur and i got some problem here.
i´ll create a remote for the eq eight(ableton) and i want to transfer the midi-value from each point from my breakpoint to the attributesmanager in the tabbed container.
y. for gain and x. for the freq.
i just want control the atrributesmanager with my points an in reverse as well.
is it possible, if i touch for example point 3 to show tab3 of of the tabbed attributesmanager?
just show allways the current tab of points i moved.
regards!
http://www.fotos-hochladen.net/view/ohn ... up9tli.jpg
scripting problem
Re: scripting problem
The breakpoint object doesn't have a "z"value so it is not possible to send a trigger when simply "touching" a point - you CAN however do it with breakpoint but its not simple.
Add two variables in your Breakpoint - select it and press the "x=" button
Name the first lasty and the second lastx, leave them blank
Create a script on Expression x :
In the code above replace "container" with the name of your tabbed container object - this script will select the tab based on which point moved in X axis
Create another script on Expression y
In the code above replace "container" with the name of your tabbed container object - this script will select the tab based on which point moved in Y axis
Another approach would be to use a multiball which features "z" - this could select the tab by simply touching the relevant ball and not moving it and its a lot simpler scripting wise!
it would be:
inside your multiball object!
Add two variables in your Breakpoint - select it and press the "x=" button
Name the first lasty and the second lastx, leave them blank
Create a script on Expression x :
Code: Select all
if (lastx!=x)
{
decl i; i=lastx-x;
selecttab(Container, firstof(i));
lastx=x;
}
Create another script on Expression y
Code: Select all
if (lasty!=y)
{
decl i; i=lasty-y;
selecttab(Container, firstof(i));
lasty=y;
}
Another approach would be to use a multiball which features "z" - this could select the tab by simply touching the relevant ball and not moving it and its a lot simpler scripting wise!
it would be:
Code: Select all
selecttab(Container, firstof(z));