slider with two functions
Hey,
I don't know if you know the Massive Groovebox within Reaktor.
The cool thing: you have multisliders with two functions:
- if you move the slider up and down you can change the gain of for example a bass drum
- if you click on the slider you can change the number of bass drums per beat
Is it possible to create a multislider with these two functions (dragging AND clicking function) within Max/MSP?
Or is there any external doing that?
Thanx for helping
Cheers
Peer
I'm just guessing, but if you want two discrete functions from a slider as you describe, then use [mousestate] to get a 1 and a 0 from your mouse, use this value to open and close [gate 2] outlets:
clicking on the slider will produce a rapid 1 to 0; scrolling on the slider will produce a continuous 1
send the slider data through the 2 gate outlets - one to a number box, the other through as series of [split] and [onebang] objects to get button/switch functionality from the slider
I'm not with Max at the minute so I can't send you a patch, but i think this should work....?
Brendan
Hey Brendan,
not exactly what I'm looking for. I'm more looking for something like in the attached file.
It's a patcher of Roald Baudoux. I know he did it with Javascript. I'm wondering if something like this is possible without Javascript.
Of course I can put 2 multisliders on each other and work with transparancy but I don't know how to let them work simultaniously. When I'm trying it it's or the first slider which works or the second (if they are in a double layer) but never both simultaniously.....
You sure this won't work? Not very elegant, pretty or JS-ish, but it works....
This way, when you click on the slider, not drag, the value changes.. you could change the "mousing_mode" to "relative" on the slider to avoid that!
Nick
[lcd] is your friend.