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.
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
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
Hi John,
For sure, I thought you might be doing that but hope it helps in some way.
You could try appending an additional index to each entry i.e. Index/Time/Note/Vel. Then keep a track of the highest index number and use [route] to siphon of the most recent message when undo is applied.
Cheers, Joe
On 22 May 2013 13:07, JF saintidle@yahoo.com wrote:
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
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
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
I don't think so. Even if it does, I don't think it would be noticeable. Btw pd-l2ork has a threaded implementation of coll that does not block audio while reading from/writing to a file, so you will never get dropped audio samples regardless of how large files are.
HTH On May 22, 2013 1:20 PM, "JF" saintidle@yahoo.com wrote:
Cyclone's coll looks like just the ticket!
Would coll be any slower or otherwise perform worse than a regular textfile object?
Cheers, John.
cyclone/coll also has a nice set of actions that allow easy sorting/inserting/deleting, etc. It’s based on Max’s coll.
I've made a demo patch that will store some arbitrary lists (although I've only tested
it with note-on note-off pairs) with the ability to undo the last list entered. I went back
to vanilla [textfile] as [coll] and [msgfile] didn't really provide an advantage (that I
could patch! Not saying much).
The patch works as a kind of MIDI loop recorder using the Z key as a kind of drum
pad to play a kick drum. The C key performs an undo on the last note recorded and
the X key performs a kind of MPC style note erase function (erase notes at the
current time).
Thanks to Joe White for the idea of using an index to keep track of the number of
lists being held.
Would love to hear of any improvements if anyone has the time to look!?
The main mechanism of the patch is rather ugly. It relies on constantly flushing the
entire textfile contents and searching for a match each time.
Thanks in advance, John.
On 05/21/2013 09:38 PM, JF 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.
zexy's [msgfile] is an enhanced [textfile], that allows you to more easily navigate your buffer and delete selected items. it has no "undo", but depending on what you actually want to undo, it should be quite simple to implement on the patch level.
gfmasdr IOhannes