<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
I have been searching extensively on the internet for how to do this, but I can't find anything. I'm just struggling to visualize how I would do this, especially as one would need to read and write right-&gt;left.<br>I had a read about wrap, and how it outputs the difference between the input and nearest integer, like the output of 1.75 would be 0.25. How would this replace two phasors?<br>So one phasor would be used to read, then another one would trail slightly behind writing?<br><br>Do you know of any examples or tutorials on continually reading and writing into an array, whilst incrementing the index?<br><br>oh, and after much reading I have discovered that although you can read out of a delay line at any point, you can not drop in at a place and write (ie.you cannot write at the 50msec point in a 200msec delay line)<br>so it looks like tables really are the way forward.<br><br>Thanks<br>Samuel<br><br>&gt; On Tue, 12 Apr 2011, samuel rowe wrote:<br>&gt; <br>&gt; &gt; Mathieu, just out of interest, what are the [phasor~] s used for?<br>&gt; <br>&gt; [phasor~] can be thought of as a cycling counter. It counts up to 1 and <br>&gt; then instead of giving a 1 it drops to 0 and starts again. This can be <br>&gt; used to loop through a recorded sound in a table.<br>&gt; <br>&gt; In the case of a table-based delay line, you have to be continually <br>&gt; writing in the table. In the case of a constant delay, this means that <br>&gt; each sample will be read only (and exactly) once before it is replaced by <br>&gt; something newer, and this means that the frequencies of the two phasors <br>&gt; will be the same, but their phases will be different.<br>&gt; <br>&gt; You can also replace two phasors with just one if you add a [+~] and a <br>&gt; [wrap~]. That's especially useful in your case.<br>&gt; <br>&gt;   _______________________________________________________________________<br>&gt; | Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC<br>                                               </body>
</html>