[PD] RFC: "list split" abstraction for negative indices

Frank Barknecht fbar at footils.org
Wed Nov 2 11:04:39 CET 2005

Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote:

> I don't know which of those two outputs should be the main one, but it 
> should mirror a subsequent "unsplit" or "unslice" so that e.g.:
> [list slice   2 2]
>  |              |
> [list unslice 2 2]

This no-op in Pd would be done as:

  [list split]
  |   |

To keep this working using neg. indices would also require the tail
being at the second outlet.

> > (Note: I tend to prefer sendign "3 4"  to the first outlet, as it's
> > technically easier, 
> I don't know. What's technically easier about it?

Actually it's no big deal: To keep the order of execution right to
left, I just need to use an additional trigger and a [list] for
intermediate storing.

Thanks to yours and IOhannes comments I see a bit clearer now and I
decided to use the niagara way of splitting at negative indices. 

I now did it that way. The abstraction is called [list-splat]
(advanced list split) and is in SF-CVS or GOTO10-SVN at:

It requires [list-rev] which has a little bug fixed.

Some more new [list]-abs: list-sieve, list-idx, list-equalize,
list-normalize and, finally, list-abs. ;)

 Frank Barknecht                 _ ______footils.org_ __goto10.org__

More information about the Pd-list mailing list