You have to know the length of the array. If you know the length you know where the phasor is with respect to the end of the array.<br>Also, if you want to write something into the array, you should do it before phasor reaches the end. Otherwise you&#39;ll have to read and write at the same time. Generally i use a different array to write to, and switch to it when phasor has finished reading the first array.<br>
<br>Pierre<br><br><div class="gmail_quote">2011/5/26 Arda Eden <span dir="ltr">&lt;<a href="mailto:ardaeden@gmail.com">ardaeden@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
I&#39;m reading a drum loop from an array. While playing when i read another loop in to the array it naturaly keeps playing from the phasor&#39;s current value. How can i wait the array to be finished reading before writing the new sound file into the array ? Thanks.<br>

_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br>