Forums > Max For Live

how to use zl group with zl iter?

Mar 06 2013 | 5:32 pm


Im trying to use zl group on a zl iter object. However, im wondering how to send a bang to the zl group, once the zl iter has finished iterating?



Mar 06 2013 | 7:23 pm

Unfortunately, this example doesnt work for me, because I dont know how long the list will be, and also dont know how many iterations there will be. Is there another way to achieve the same thing without zl group?

Mar 06 2013 | 8:44 pm

is this a good way of doing it? The problem I can foresee is that I have a lot of data, it might take longer than 200ms to get to the zl group and then the list wont output fully

Id really appreciate it if someone more experienced than me could chime in. Ive been pulling my hair out all day with this one and it seems to be fairly simple what im trying to do…

-- Pasted Max Patch, click to expand. --

Mar 06 2013 | 9:17 pm

-- Pasted Max Patch, click to expand. --

Mar 06 2013 | 10:19 pm

hi Broc, thanks for the suggestion. Although, im trying to find when the last iteration occurs so that I can bang the zl group and clear it. Im not sure delace really functions like this.

Mar 07 2013 | 7:36 am

Not sure if this is what you mean:

-- Pasted Max Patch, click to expand. --

Mar 07 2013 | 10:25 am


I’m not sure if this is what you want but another approach would be to add a terminator (I’ve used -1). This compensates for [zl]’s inability to tell you about empty lists. The routine reads the list until it gets to the terminator and then sends a bang to [zl group].

-- Pasted Max Patch, click to expand. --


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

Forums > Max For Live