Forums > MaxMSP

Multislider sending index and value – simple version?

May 26, 2008 | 12:44 pm

I am a bit surprised that multislider can’t send a pair of index (which slider) and that slider’s value after it’s been adjusted.

I’ve found alternative solutions, but I’m just curious if there perhaps are any 3rd party objects that send index + value pairs from a multislider-ish object?



m
May 26, 2008 | 1:40 pm


May 26, 2008 | 2:16 pm

what’s wrong with [listfunnel] ?

/*j

– Pasted Max Patch, click to expand. –

#P window setfont "Sans Serif" 9.;
#P flonum 673 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 710 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 599 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 636 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 525 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 562 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 451 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 488 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 377 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 414 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 303 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 340 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 229 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 266 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 155 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 192 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 155 237 565 196617 spray 16;
#P newex 155 207 52 196617 listfunnel;
#P user multiSlider 155 67 261 102 -1. 1. 16 2937 47 0 0 2 16 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P connect 2 14 18 0;
#P connect 2 15 17 0;
#P connect 2 13 15 0;
#P connect 2 12 16 0;
#P connect 2 11 13 0;
#P connect 2 10 14 0;
#P connect 2 9 11 0;
#P connect 2 8 12 0;
#P connect 2 7 9 0;
#P connect 2 6 10 0;
#P connect 2 5 7 0;
#P connect 2 4 8 0;
#P connect 2 3 5 0;
#P connect 2 2 6 0;
#P connect 2 1 3 0;
#P connect 2 0 4 0;
#P connect 1 0 2 0;
#P connect 0 0 1 0;
#P window clipboard copycount 19;


May 26, 2008 | 2:21 pm

Quote: jasch wrote on Mon, 26 May 2008 08:16
—————————————————-
> what’s wrong with [listfunnel] ?

Nothing at all – thank you! :)


May 26, 2008 | 2:44 pm

jasch skrev:
> what’s wrong with [listfunnel] ?
>
> /*j
That’s what I thought at first, and then I re-read this differently:

> pair of index (which slider) and that slider’s value after it’s been adjusted.
>
I read it "A mechanism that, if I change slider X to value Y it ONLY
outputs "X Y" ", rather than the complete list of unaltered values.

The below is what I would do, it shows which slider is being altered,
the absolute value of that slider and delta ( in other words X Y delta)
max5 only, sorry, but could be patched in 4, too.

Andreas

– Pasted Max Patch, click to expand. –

May 26, 2008 | 2:50 pm

Quote: jasch wrote on Mon, 26 May 2008 10:16
—————————————————-
> what’s wrong with [listfunnel] ?

wow. i forgot about this object. insane how you work with max for years and years and some things just get glossed over.


May 26, 2008 | 4:29 pm


May 26, 2008 | 8:47 pm

Chris Muir schrieb:
> Here’s a solution, which relies on the Lobjects:

Another one with standard objects…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


May 27, 2008 | 8:36 am

Stefan Tiedje schrieb:
> Chris Muir schrieb:
>> Here’s a solution, which relies on the Lobjects:
>
> Another one with standard objects…

I forgot to paste, and in the mean time found out, that my changefunnel
had a bug: it wouldn’t report a changed value if its zero.
Here the corrected Max 5 version:

– Pasted Max Patch, click to expand. –


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


May 28, 2008 | 2:25 am

Stefan Tiedje skrev:
> I forgot to paste, and in the mean time found out, that my
> changefunnel had a bug: it wouldn’t report a changed value if its zero.
> Here the corrected Max 5 version:
I’ve gotta say, that’s some elegant, elegant patching right there. Very
nice, and very useful!

Andreas


May 28, 2008 | 3:18 am

On May 27, 2008, at 7:25 PM, Andreas Wetterberg wrote:

> Stefan Tiedje skrev:
>> I forgot to paste, and in the mean time found out, that my
>> changefunnel had a bug: it wouldn’t report a changed value if its
>> zero.
>> Here the corrected Max 5 version:
> I’ve gotta say, that’s some elegant, elegant patching right there.
> Very nice, and very useful!
>
> Andreas

It’s gorgeous! [changefunnel] has gone into my
common_mechanics.maxpat I keep in Extras for easy access.

Vlad

Vlad Spears
Tanj! I’m already out of Known Space!

http://www.daevlmakr.com

http://www.2secondfuse.com


May 31, 2008 | 10:22 pm

hello,

great solutions!

and how can I get each index+value of all multisliders in a list?

thanks*
bd


May 31, 2008 | 10:32 pm

On 1 juin 08, at 00:22, bdhm wrote:

> hello,
>
> great solutions!
>
> and how can I get each index+value of all multisliders in a list?

I included another solution in the multislider help file for the next
incremental, which uses another new mode for zl.

ej


May 31, 2008 | 10:42 pm

Emmanuel Jourdan skrev:
> On 1 juin 08, at 00:22, bdhm wrote:
>
>> hello,
>>
>> great solutions!
>>
>> and how can I get each index+value of all multisliders in a list?
>
> I included another solution in the multislider help file for the next
> incremental, which uses another new mode for zl.
As in, you’ve made a mode for ZL that does this internally?

Andreas


May 31, 2008 | 10:54 pm

Quote: Emmanuel Jourdan wrote on Sat, 31 May 2008 16:32
—————————————————-
> I included another solution in the multislider help file for the next
> incremental, which uses another new mode for zl.
>
> ej
—————————————————-

I did a download of your patches — but can not fined it.

any link?

thanks""""’
bd


May 31, 2008 | 11:06 pm

On 1 juin 08, at 00:54, bdhm wrote:

> I did a download of your patches — but can not fined it.

by "next incremental" I meant 5.0.3.

ej


May 31, 2008 | 11:09 pm

Quote: Emmanuel Jourdan wrote on Sat, 31 May 2008 17:06
—————————————————-
> by "next incremental" I meant 5.0.3.
>
> ej
>
>
—————————————————-

ah ok.
I am looking forward!

thanks
bd


May 31, 2008 | 11:21 pm

bdhm skrev:
> hello,
>
> great solutions!
>
> and how can I get each index+value of all multisliders in a list?
>
> thanks*
> bd
>
multislider -> listfunnel -> zl group


June 1, 2008 | 11:24 am

>>multislider -> listfunnel -> zl group< <

cool!

thanks a lot ****

bd


June 5, 2008 | 8:49 pm

One more solution to finding the last moved slider in a multislider, based on the new compare option of zl:

– Pasted Max Patch, click to expand. –

June 5, 2008 | 8:54 pm

D’Oh, I just recreated Emmanuel’s example. Sorry.

-C


June 5, 2008 | 9:00 pm

On 5 juin 08, at 22:49, Chris Muir wrote:

> One more solution to finding the last moved slider in a multislider,
> based on the new compare option of zl:

Coming in the next incremental Chris ;-)

ej


Viewing 22 posts - 1 through 22 (of 22 total)