Hi.. new to lemur, ipads and not particularly familiar with coding so forgive if it's a stupid question!
I've been trying to work this out on my own but it's getting to the point of brick wall-ness so hoping if someone here can give a clear 'yes it's possible' or 'no give up!' sort've answer
So, I have a multiball object running to a synth in Ableton live via CCs. X axis is going to the synths pitch bend, and Y axis is going to the filter freq.
I've set knobs for speed, attraction and friction which are working internally within the lemur patch to control the physics of the ball within the multiball object. I've also set a 'hold pitch' and a 'hold filter' button, which freezes the location of the ball on the selected axis (using holdX and holdY).
All works great. Just one thing I'd love to get working (if possible!). Is there anyway I can set the ball's x/y location whilst it is HELD, via another object?
And if that's possible, is it possible to then reset the X or Y location to a designated point by feeding it a set number? The idea here being to reset the pitch or filter to it's normal state with the hit of a button, without having to manually drag the ball within the lemur.
Thanks in advance!
Multiball Object - Change Ball's X/Y Location whilst held?
Re: Multiball Object - Change Ball's X/Y Location whilst hel
Everything is possible!!!
In the example attached, two buttons reset the location of the ball to pre-selected values - to define the location of the ball you just have to specify the x,y values of the Multiball - check the scripts inside each pad button to see how it works.
Also, another approach - included too - is to take advantage of the z attribute. In the example, an included menu operates as a "user option" - this will reset the ball location right after you release the ball (you stop touching it, z goes from 1 to 0) according to the menu selection (no reset, reset to 0, reset to center) - check the script inside the Multiball object to see how it works.
In the example attached, two buttons reset the location of the ball to pre-selected values - to define the location of the ball you just have to specify the x,y values of the Multiball - check the scripts inside each pad button to see how it works.
Also, another approach - included too - is to take advantage of the z attribute. In the example, an included menu operates as a "user option" - this will reset the ball location right after you release the ball (you stop touching it, z goes from 1 to 0) according to the menu selection (no reset, reset to 0, reset to center) - check the script inside the Multiball object to see how it works.
Re: Multiball Object - Change Ball's X/Y Location whilst hel
That's great !
I knew it was going to be fairly simple, but I would've been sat there forever trying to work it out !!
Thanks a bunch
I knew it was going to be fairly simple, but I would've been sat there forever trying to work it out !!
Thanks a bunch