Hi the attached should do it...
The version on the right should be more general allowing to specify the grouping size, and would work with non-necessarily-numeric list. Lorenzo
On 03/10/12 11:18, Alexandros Drymonitis wrote:
Hi all, I'm trying to get pairs of two out of a list using two [list split] (I tried to reproduce the patch with ASCII, but it's getting a bit complicated, so I've attached it).
I'm sending a list [1 2 3 4( and I want to get 1 2 2 3 3 4 separately but I get an additional 4 4 in the end. Meaning, in the Pd window I get the following printed out:
1 2 2 3 3 4 4 4
How can I avoid that last couple of numbers? I guess it shouldn't be difficult, but I just can't see it.
Thanks
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list