<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">My solution was to have more than one buffer (e.g, 2), but if you're doing data storage and analysis this is a real pain, because you have some lists of data (e.g. from bonk|) you may want to access beginning at the end of one and continuing into another. The solution is to have a meta-table, storing the start and end-points of the tables in terms of data elements, and if you start in one and extend into aqnothe then the index is wrapped.<br><br>E.g.:<br>254 to 286, table 1 extends to 263.<br>table number is 1, so meta-table entry 1 always reads 263
 (last entry of table 1).<br>&gt; output of meta-table for one is stored as right inlet of &gt; object, routing values greater than 263 to table 2, and taking 264 away from the table index. The sequence is read using kalashinkov object, so overlap is
 not noticeable.<br><br>With windowed audio, there has to be an unnoticable break between the two tables, but &gt;~ and &lt;~ can be fed to *~ objects (right inlet) to accomplish this.<br>Will try to put a patch together, when my computer gets back here :)<br><div>&nbsp;</div><span>Lone Shark "Aviation" out now on <a rel="nofollow" target="_blank" href="http://www.pyramidtransmissions.com">http://www.pyramidtransmissions.com</a></span><br><span><a rel="nofollow" target="_blank" href="http://www.myspace.com/sharktracks">http://www.myspace.com/sharktracks</a></span><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Tim Flood &lt;timflood23@hotmail.com&gt;<br>To: pd-list@iem.at<br>Sent: Thursday, 15 November, 2007 8:36:38 PM<br>Subject: [PD] Loop record using arrays?<br><br>

<style>
.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
FONT-SIZE:10pt;FONT-FAMILY:Tahoma;}
</style>

Hello Everyone-<br><br>I am working on a patch that uses several short sample buffers to record live audio input. By default, recording stops once the end of the buffer is reached. But what if you want to do loop recording in which new audio data overwrites the old data on each pass? Is this possible using the standard vanilla pd objects [tabread4~], [tabwrite~] [array]?<br><br>Thank you in advance,<br><br>-Tim<br><br><br><span style="border-top: 1px solid rgb(128, 128, 128); border-bottom: 1px solid rgb(212, 208, 200); margin: 8px 0px; overflow: hidden; width: 100%; height: 2px; background-color: black;"></span>Windows Live Hotmail and Microsoft Office Outlook – together at last. <a rel="nofollow" target="_blank" href="http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033">Get it now!</a><div><br><br>-----Inline Attachment Follows-----<br><br>_______________________________________________<br><a rel="nofollow"
 ymailto="mailto:PD-list@iem.at" target="_blank" href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt;
 <a rel="nofollow" target="_blank" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></div></div><br></div></div><br>
      <hr size="1">
Hate storage limits? Get <a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/mailuk/taglines/hotmail/unlimited_storage/*http://us.rd.yahoo.com/evt=48524/*http://uk.mail.yahoo.com">Yahoo! Mail</a> with unlimited storage.</div><br></div></div><br>


      <hr size=1> 
For ideas on reducing your carbon footprint visit <a href="http://uk.promotions.yahoo.com/forgood/environment.html">Yahoo! For Good</a> this month.
</body></html>