zl group behaviour

SmokeDoepferEveryday's icon

Trying to wrap my head around how multiple [zl group]'s behave with this [uzi], I'm sure it's simply explained but could anyone tell me why (6) is grouping three values, (7) is grouping one value and (8) is grouping seven values?

double_UG's icon

zl.group outputs always when the amout of items is reached. If you bang zl.group it outputs whats in the buffer. So zl.group 7 outputs "1 2 3 4 5 6 7" "8 9 10 11 12 13 14" then you bang it with uzi "15". Use the "print" object to see the output in the max console.

SmokeDoepferEveryday's icon

ah I see, I was thinking of it always storing the value argument you give it (up to having enough values)

Thanks for explaining.

Holland Hopson's icon

zl.stream might be worth exploring