how to use zl group with zl iter?

Mar 6, 2013 at 5:32pm

how to use zl group with zl iter?

Hi,

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?

Cheers

N

#66903
Mar 6, 2013 at 6:22pm

Hi,

I don’t understand why you want to use [zl group] AND [zl iter] (as it seems redundant for me) but here an example with [trigger] :

– Pasted Max Patch, click to expand. –
#240819
Mar 6, 2013 at 7:23pm

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?

#240820
Mar 6, 2013 at 8:44pm

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. –
#240821
Mar 6, 2013 at 9:17pm
– Pasted Max Patch, click to expand. –
#240822
Mar 6, 2013 at 10:19pm

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.

#240823
Mar 7, 2013 at 7:11am

Hi,

IMHO you should try to explain what you want to do without assumption about objects to use ; for instance data you have IN and what you want OUT.

#240824
Mar 7, 2013 at 7:36am

Not sure if this is what you mean:

– Pasted Max Patch, click to expand. –
#240825
Mar 7, 2013 at 10:25am

Hi,

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. –

Richard

#240826

You must be logged in to reply to this topic.