<br><br><div class="gmail_quote">2010/10/21 tim vets <span dir="ltr">&lt;<a href="mailto:timvets@gmail.com">timvets@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br><br><div class="gmail_quote">2010/10/21 IOhannes zmölnig <span dir="ltr">&lt;<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div></div><div>On 10/21/2010 03:30 PM, tim vets wrote:<br>
&gt; Hi all,<br>
&gt; I&#39;m a bit confused about the grain rate of [line]<br>
&gt; the help says that &#39;the default grain rate is 20 ms&#39;<br>
&gt; however, when I connect a [delta] to a [line], it shows zero&#39;s,<br>
&gt; while inserting a [speedlim 20] changes that.<br>
&gt; also some other tests in attached patch.<br>
&gt; can someone explain ?<br>
<br>
</div></div>as matju already stated, [delta] is something, a lot of people<br>
(including me) do not know.<br>
<br>
assuming it is the same as:<br>
|<br>
[t b b]<br>
|     |<br>
[timer]<br>
|<br>
<br>
then it &quot;looks&quot; like you get &quot;0&quot;, whereas in reality you get:<br>
[20, 0( [*]<br>
<br>
the &quot;20&quot; shows up so incredibly short (and is then overwritten by &quot;0&quot;,<br>
that you simply cannot see it.<br>
[print] usually allows you to track such things, as you not only see the<br>
last value, but the entire history.<br>
<br>
[*] why?<br>
when [line] receives a new target, it will immediately send out the<br>
start value, and then (in grain-time ms) the next value until it reaches<br>
the target value.<br>
in your case this translates to:<br>
- you generate the first number (&quot;7&quot;) and send [7 20( to [line]<br>
- line will immediately output the current value (&quot;0&quot;) and after 20ms it<br>
will output the next value (&quot;7&quot;)<br>
- at the &quot;same&quot; time, you generate a new value (&quot;9&quot;), and send this to<br>
[line], which will immediately output the current value (&quot;7&quot;).<br>
<br>
since both the start value and the target value are output at the same<br>
logical time, [timer] caluculates a time-difference of &quot;0&quot;, which will<br>
be visible for the next 20ms.<br>
<br></blockquote><div><br></div><div><br></div></div></div><div>the way I understood it, [delta] is the equivalent of:</div><div><img src="cid:ii_12bcf778c454f31e" alt="delta.png" title="delta.png"></div><div>I also don&#39;t know where I got [delta] from, it doesn&#39;t seem to have a help patch associated with it.</div>


<div>anyways, replacing [delta] with the above gives the same result.</div><div>but I&#39;m starting to see why...</div><div>Tim</div><div><br></div></div></blockquote><div>btw: this fixed my &#39;problem&#39;:</div><div>

<br></div><div>[line] </div><div>|</div><div>[change]</div><div>|</div><div>[delta]</div><div><br></div><div>gr,</div><div>Tim</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="gmail_quote"><div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

gmadr<br>
<font color="#888888">IOhannes<br>
<br>
</font><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">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>
<br></blockquote></div><br>
</blockquote></div><br>