ok i'm using a gem window to feed data to sliders, so the further you move your mouse along the x axis the higher the reading on the slider. fine. But how can I invert the data so that one of the sliders behaves in the opposite way while responding to the same source? ie. the further you move the mouse along the x axis the (in the same direction) the lower the reading on the slider.
-
Inverting a slider
-
Assuming you have a slider called "slider" going from 0 to 127 you could do this:
[r slider]
|
[127 $1(
|
[- ]The outlet of the [-] object will be the inversion of the slider.
|] [] |.| ][|-| -- http://soundcloud.com/domxh
-
nice! had no idea operator objects could take in lists.
-
thats helped alot, thank you domien
-
wow,
i didn't know that either. cheers dom.
-
@hardoff said:
wow,
i didn't know that either. cheers dom.
Strange, i thought i got that trick from one of your posts must 've been someone else's then...
|] [] |.| ][|-| -- http://soundcloud.com/domxh
-
Huh, I didn't know they took lists either. I usually just use [swap], but this method is faster.
-
Sending list to an operator.. Never thought of that. Thanks a lot domien, this saved me a lot from many cumbersome things I've been doing..
-
any object that doesn't explicitly handle lists gets incoming lists spread over the inlets
-
I feel like I should read the documentation all over again!