Hi John,<div><br></div><div>For sure, I thought you might be doing that but hope it helps in some way. </div><div><br></div><div>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.</div>
<div><br></div><div>Cheers,</div><div>Joe<br><br><div class="gmail_quote">On 22 May 2013 13:07, JF <span dir="ltr"><<a href="mailto:saintidle@yahoo.com" target="_blank">saintidle@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:verdana,helvetica,sans-serif">Hi Joe,<br><br>That's brilliant thanks for going to the trouble!<br><br>But not exactly what I'm after as it doesn't account for entries <br>
with more than one atom. I'm looking to store something like...<br><br>Time/Note/Vel<br>103 c3 127,<br>267 d3 120,<br>300 c3 0,<br>503 d3 0,<br>...<br><br>I see that I could probably use your idea but chop off the last 3 entries rather <br>
than the last 1 entry, but I was hoping to create a generic abstraction that <br>could understand the comma delimiter. Something that I could have mixed <br>length lists in.<br><br>Although it has given me ideas so thanks for that! <br>
<div><br><span></span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:verdana,helvetica,sans-serif"><span>Cheers,</span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:verdana,helvetica,sans-serif">
<span>John.<br></span></div><div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px"> <div style="font-family:verdana,helvetica,sans-serif;font-size:10pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt">
<div dir="ltr"> <hr size="1"> <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> Joe White <<a href="mailto:white.joe4@gmail.com" target="_blank">white.joe4@gmail.com</a>><br> <b><span style="font-weight:bold">To:</span></b> JF <<a href="mailto:saintidle@yahoo.com" target="_blank">saintidle@yahoo.com</a>> <br>
<b><span style="font-weight:bold">Cc:</span></b> pd list <<a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Wednesday, 22 May 2013, 12:22<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [PD] Store some lists with undo function?<br> </font>
</div><div><div class="h5"> <div><br><div>Hi John,<div><br></div><div>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</div><div>
[u_collect] instead. </div><div><br></div><div>
Cheers,</div><div>Joe<br><br><div>On 21 May 2013 20:38, JF <span dir="ltr"><<a rel="nofollow" href="mailto:saintidle@yahoo.com" target="_blank">saintidle@yahoo.com</a>></span> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm experimenting with a message sequencer that will play back time tagged lists.<br>
<br>
So far I've looked at [qlist] [textfile] and rjlib's [u_cocollect].<br>
<br>
Are there any relatively simple approaches to 'undo'-ing the last list written to any of these<br>
<br>
objects?<br>
<br>
I'm a little stumped on it to be honest other than complicated writing to buffers and<br>
<br>
attempting to prune the last list somehow.<br>
<br>
<br>
Thanks,<br>
John.<br>
<br>
<br>
_______________________________________________<br>
<a rel="nofollow" href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a rel="nofollow" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Follow me on Twitter @diplojocus
</div></div><br><br></div> </div></div></div> </div> </blockquote></div> </div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Follow me on Twitter @diplojocus
</div>