<div dir="ltr"><div>Thank you very much IOhannes.<br><br></div>Pierre.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-22 21:43 GMT+01:00 IOhannes m zmölnig <span dir="ltr"><<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/22/2015 09:05 PM, Pierre Massat wrote:<br>
<br>
> The input from the controller is first normalized to the delay line max<br>
> length, then passed to a [pack 0 20], then to a [line~], before affecting<br>
> the delay length. I thought the line would smooth the control input, but<br>
> apparently it's not. Are the 20 ms for the [line~] too short<br>
<br>
</span>yes most likely.<br>
20ms is equivalent to 50Hz which is well notifiable (you are modulating<br>
your input signal with a 50Hz half-period)<br>
<br>
as a rule of thumb, use something above 50ms (==20Hz which is basically<br>
inaudible), the higher the smoother (though obviously the higher you<br>
get, the longer it will take to reach the target; so having very long<br>
lengths might become inacceptable as well)<br>
<span class=""><br>
<br>
> , or am I not<br>
> doing it the proper way ? I actually don't know what happens to line~ when<br>
> a new value is given to it before the 20 ms are over.<br>
><br>
<br>
</span>[line~] interpolates from the *current* value to the target value in x ms.<br>
the *current* value is the value it currently has.<br>
so if you start with [0, 1.5 3000(, and after 1 second send it a<br>
[0 100(, it will start the second ramp from 0.5 (because this is where<br>
the 1.5/3000 ramp was interrupted).<br>
<br>
gfrdsa<br>
<span class="HOEnZb"><font color="#888888">IOhannes<br>
<br>
<br>
</font></span><br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.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></div>