<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">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:<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"><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><br><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">A simpler way to get a similar result is to range the output to [0-1], just as described before, but then just take a power of it. The higher the power, the sharper the curve. Then multiply the whole to your preferred range. In this case a range starting with 0 is possible, for it is not an exponential range as in the previous example.<br>
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">An example:<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>[1 20, 0 500 20(<br>|<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
[vline~]<br>|<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[pow~]<br>|<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[*~ your_maxval]<br>|<br></div>
<br></div></div></div></div>