Multislider sending index and value – simple version?

May 26, 2008 at 12:44pm

Multislider sending index and value – simple version?

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?

#38060

m
May 26, 2008 at 1:40pm

#131978
May 26, 2008 at 2:16pm

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;

#131979
May 26, 2008 at 2:21pm

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

Nothing at all – thank you! :)

#131980
May 26, 2008 at 2:44pm

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. –
#131981
May 26, 2008 at 2:50pm

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.

#131982
May 26, 2008 at 4:29pm

#131983
May 26, 2008 at 8:47pm

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

Another one with standard objects…

Stefan


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

#131984
May 27, 2008 at 8:36am

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

#131985
May 28, 2008 at 2:25am

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

#131986
May 28, 2008 at 3:18am

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

#131987
May 31, 2008 at 10:22pm

hello,

great solutions!

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

thanks*
bd

#131988
May 31, 2008 at 10:32pm

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

#131989
May 31, 2008 at 10:42pm

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

#131990
May 31, 2008 at 10:54pm

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

#131991
May 31, 2008 at 11:06pm

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

#131992
May 31, 2008 at 11:09pm

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

#131993
May 31, 2008 at 11:21pm

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

#131994
Jun 1, 2008 at 11:24am

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

cool!

thanks a lot ****

bd

#131995
Jun 5, 2008 at 8:49pm

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. –
#131996
Jun 5, 2008 at 8:54pm

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

-C

#131997
Jun 5, 2008 at 9:00pm

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

#131998

You must be logged in to reply to this topic.