zl queue and group no happy team?
hello,
trying to collect data into a zl queue and make a list of them via zl group.
either (most likely) i am doing something very stupid here or uncle max does...
see patch.
thanks for any tips
hans
zl queue will refresh its second outlet everytime it receives a bang. This works better (I just changed 1 patchcord):
thank you, patrick,
it works indeed!
still puzzled, why the original doesn´t work.
methinks it shouldn´t trouble zl group to recieve different lenghts before it actually recieves the data.
anyhow, this helps
hans
Hans,
zl group probably forgets what it received in its left inlet when it receives a value in its right inlet.
p
yeah, patrick, i figured it out meanwhile.
i forgot to account for zl queue counting down while giving out its data.
that of course confused zl group.
thanks for putting me on the track
hans
If you want to achieve this with one object, I recommend using [mxj list.Queue]
best,
Zachary
or this way. you don't need to tell zl.group what length comes in. use the "done" bang from uzi to push out your list:
zach, mib,
both thanks for the extension!
@zach: i probably avoid java, for portabilitys sake (the thing its intended for has to play nicely on windows too and i have zero experience with windows + java). but thanks for reminding me of the list.queue.
@mib thanks! fewer objects = better :-)
hans