Thanks Ivica, I'm using vanilla but I'll look into cyclone's coll and see if it can help.
Cheers, John.
From: Ivica Ico Bukvic ico@vt.edu To: 'JF' saintidle@yahoo.com; 'Joe White' white.joe4@gmail.com Cc: 'pd list' pd-list@iem.at Sent: Wednesday, 22 May 2013, 13:56 Subject: RE: [PD] Store some lists with undo function?
cyclone/coll also has a nice set of actions that allow easy sorting/inserting/deleting, etc. It’s based on Max’s coll. From:pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at] On Behalf Of JF Sent: Wednesday, May 22, 2013 8:08 AM To: Joe White Cc: pd list Subject: Re: [PD] Store some lists with undo function? Hi Joe,
That's brilliant thanks for going to the trouble!
But not exactly what I'm after as it doesn't account for entries with more than one atom. I'm looking to store something like...
Time/Note/Vel 103 c3 127, 267 d3 120, 300 c3 0, 503 d3 0, ...
I see that I could probably use your idea but chop off the last 3 entries rather than the last 1 entry, but I was hoping to create a generic abstraction that could understand the comma delimiter. Something that I could have mixed length lists in.
Although it has given me ideas so thanks for that! Cheers, John.
From:Joe White white.joe4@gmail.com To: JF saintidle@yahoo.com Cc: pd list pd-list@iem.at Sent: Wednesday, 22 May 2013, 12:22 Subject: Re: [PD] Store some lists with undo function? Hi John, If you don't need comma separated lists (although I have a feeling you might for time-stamped message) then you can do it this way with [u_collect] instead. Cheers, Joe On 21 May 2013 20:38, JF saintidle@yahoo.com wrote: I'm experimenting with a message sequencer that will play back time tagged lists.
So far I've looked at [qlist] [textfile] and rjlib's [u_cocollect].
Are there any relatively simple approaches to 'undo'-ing the last list written to any of these
objects?
I'm a little stumped on it to be honest other than complicated writing to buffers and
attempting to prune the last list somehow.
Thanks, John.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Follow me on Twitter @diplojocus