interesting application... i'd start with serializing a list through [change] & re-packing or list-appending it.

more complicated list operations I find are easier to work with in tables, but I suppose that's a matter of personal preference.  Technically (as I understand it, correct me if I'm wrong) they're the same thing.  I've got some boolean table abstractions that might be of use - inspired by an article in the CMJ a few months back, I did an implementation of Xenakis' seive device, but haven't used it much in my own stuff since, but I remember implementing a "uniqueness"-filter for tables a while back too.

Hope that helps.

David

On 5/3/06, David Powers <cyborgk@gmail.com> wrote:
Hello,

Is there a way to remove duplicate elements for a list? I can figure out how to do it in code, but trying to figure out a way to do this with lists just makes my head hurt.

I want to do Boulez-style pitch-set multiplication with lists, and typically after such an operation, duplicate elements are removed.

I already made an abstraction called "Schoenberg" which I will post shortly, which allows one to do basic serial operations using lists (ie. transposition, retrograde, inversion, and rotation, all using one simple abstraction). I know that serialism has been out of style for 40 years, but nevertheless those methods make a lot of sense to have available, if one is making nontonal generative/aleatoric music.

~David

_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list