<br><br><div class="gmail_quote">2010/10/21 tim vets <span dir="ltr"><<a href="mailto:timvets@gmail.com">timvets@gmail.com</a>></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"><<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></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>
> Hi all,<br>
> I'm a bit confused about the grain rate of [line]<br>
> the help says that 'the default grain rate is 20 ms'<br>
> however, when I connect a [delta] to a [line], it shows zero's,<br>
> while inserting a [speedlim 20] changes that.<br>
> also some other tests in attached patch.<br>
> 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 "looks" like you get "0", whereas in reality you get:<br>
[20, 0( [*]<br>
<br>
the "20" shows up so incredibly short (and is then overwritten by "0",<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 ("7") and send [7 20( to [line]<br>
- line will immediately output the current value ("0") and after 20ms it<br>
will output the next value ("7")<br>
- at the "same" time, you generate a new value ("9"), and send this to<br>
[line], which will immediately output the current value ("7").<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 "0", 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't know where I got [delta] from, it doesn'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'm starting to see why...</div><div>Tim</div><div><br></div></div></blockquote><div>btw: this fixed my 'problem':</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 -> <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>