<div dir="ltr"><div class="gmail_extra">On Mon, Oct 28, 2013 at 10:05 AM, peiman khosravi <span dir="ltr">&lt;<a href="mailto:peimankhosravi@gmail.com" target="_blank">peimankhosravi@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif">Since I&#39;m on a mailing spree: how can I make a pd version of slide~ (MSP), which, according to the msp reference, is a logarithmic lowpass filter for smoothing envelops. Anything similar will do. I&#39;m using vline~ for now to smooth out midi faders but it doesn&#39;t feel quite the same. </div>

<div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">And on a related subject: what is the best way to create an exponential signal ramp?</div>
<div style="font-family:arial,helvetica,sans-serif"><br></div></div></blockquote><div dir="ltr"><br><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[vline~] is not a lowpass filter, so I guess you use [vline~] to control a signal controlled lowpass filter. To make this exponentional you could connect [vline~] to the right inlet of [pow~] and make sure the output of [vline~] is [0-1] (and never exceeds 1). Then choose your range (e.g. [500-1000]). Connect [sig~ 2] to the left inlet of [pow~] and multiply the output by 500. To scale the range, just use [*~] or [/~] and never [+~] or [-~], for you&#39;re working on an exponential scale. This means that an output of 0 is impossible, so for a logarithmic amplitude control choose a very large range (e.g. 1-100000) and divide the output by the same value to get the range [1/100000-1].<br>
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hope this helps.<br></div><br></div></div></div></div>