<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi all, sorry if this question has been answered before, but I can't find it in the docs.</span><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">I'd like to ramp a pitch quickly from one frequency to another. I feel like there should be a better way to do this than what I'm currently using, which is this:</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">// Where length is the # of milliseconds this should take</div><div style="font-family:arial,sans-serif;font-size:13px">

<div>for (0 => int i; i < length $ int; i++) {</div><div>    f1 - ((i/length) * (f1 - f2)) => float newFreq;</div><div>    osc.freq(newFreq);</div><div>    1::ms => now;</div><div>}</div></div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">This works but it produces an unfortunate clicking noise at the end (and yup, I'm using an envelope). Any tips?</div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks!</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">--Bonnie</div></div>