Forums > MaxMSP

add a number to selected members of a list

March 7, 2011 | 1:38 pm

Hi,

Why is it so difficult to add a number to only selected members of a list?

– Pasted Max Patch, click to expand. –

Kaspar


March 7, 2011 | 2:49 pm

it is slightly easier when you use the additional feature of zl nth

– Pasted Max Patch, click to expand. –

March 7, 2011 | 2:49 pm

hi kaspar,

in order to be more flexible i would do it this way, but i agree with you we should be able to do it more easily :

– Pasted Max Patch, click to expand. –

guillaume

EDIT : hmmm, doesn’t work, but the idea is here… sorry :)


March 7, 2011 | 2:56 pm

the good one :

– Pasted Max Patch, click to expand. –

March 7, 2011 | 6:48 pm

I’m surprised that the Lobjects haven’t been mentioned. Whenever there’s something that zl doesn’t handle, the chances are that there’s something in the Lobjects that will.


March 8, 2011 | 12:08 am

[listfunnel] can help too, then you can use [sel] in a cascade manner to choose different elements on the fly. [zl group] to gather it all back together:

– Pasted Max Patch, click to expand. –

March 8, 2011 | 8:27 am

Hi again,

Thanks for posting patches that show different ways of doing things. Useful for me, so that I can learn a bit more about dataflow in max.

However: The list.xxx objects are a bunch of mxj objects that help to perform multiple kinds of list manipulations … I found them by looking through the max object database with the search word ‘list’.

These may make my life simpler – or they are at least yet other ways of doing things :-)

Kaspar


March 8, 2011 | 10:32 am

ah, when looking throught the list objects in the max objects data base, there is an easy way of doing it:

– Pasted Max Patch, click to expand. –

March 8, 2011 | 10:47 am

a better version:

– Pasted Max Patch, click to expand. –

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