Forums > MaxMSP

Indexing a list

October 8, 2010 | 9:06 pm

Hi.
I’v been trying for a while now to figure out how to access a certain slider in a multislider object with 253 sliders.
I’m stuck. I’v figured out how to generate random number into the slider, but cant seem to figure out how to access one slider at a time, without making a "pak" object, which seems to me to be a little bit to complicated way of doing it.

Any pointer on how to do this in the fashionable way?

– Pasted Max Patch, click to expand. –


MIB
October 8, 2010 | 9:16 pm

If I understand correctly I think you are looking for [fetch $1]. This will get the the value of the requested slider out the right outlet of multislider…

– Pasted Max Patch, click to expand. –

October 9, 2010 | 1:08 pm

No. What I’m after is to be able to change one slider at a time. I guess it would be to set up an index and then changing the value for that index.



pid
October 9, 2010 | 1:23 pm

i am confused by what you want. this is very simple:

– Pasted Max Patch, click to expand. –

October 9, 2010 | 1:54 pm

Thanks I knew it was simple, I just missed the select messages when I read through the reference page.
Thanks again though.

– Pasted Max Patch, click to expand. –

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