slider with two functions
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
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….?
not exactly what I'm looking for. I'm more looking for something like in the attached file.
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….
----------begin_max5_patcher---------- 477.3ocyVFsSCBCEF9ZLYuCM8ZzvovFadkOEdiwX5ftsZf1EnSmZ7c2xA2bh LVctv7FZ3zSO7++cZa3sAW3QmpWKJojqI2Q77dyFwCiUEwaS.OZNecRFuDSj VlISEET+OmaI2jrPpl+PgHwTWIVPzUA9jnIUOYipdBQAWEPteyhzqLYBi4kk h5UPoeMmLE+L5oOdIDu8ynVkKU10fZ.1IZcopCiQeevEUi1Aem8zrLssTc4I fEitYHZmgA3KPmdxVTtg5SnS4p46XvYZkQwywzn2JJR4JNsM2O5.tupPkxWw BALqhZkJrilJyKeVZAAqStLNptKCUCgXKOj0cu1eu86v1cL6T6Lacl18d3v. rECSBcteKU+otMbl61G9L.qFCgQw81Yfw+6gBLF5anDelghR7rUFaEgQrFYA MWXJzDHHfbCOwHeRP.WNhA3QLHL1AzcjDK5.2q3FwfSOwzqJEkFtQ3BnFh6z p2u41cQ6c32ivvSxltgMPXsNnYR0O9MDDDUSz.rk5UEIa74l+RfrCLRsDUp3 FoVsaVVCPfuxZgLMUfIrUp4xzkZKc9TIj62e+9TKtQeOq9RbMXR6ha74SaGD bwmGsANuiq+EmSbqoC5IsE4h196XqJfc3C.Tvq8z -----------end_max5_patcher-----------
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!
[lcd] is your friend.
Forums > MaxMSP