<div>
                    <span style="font-size: 15px;">there's no way to use this to ramp an arbitrary variable, like the frequency of a SinOsc, for example, is there?  Cause I do stuff like this and find it kinda annoying:</span>
                </div><div><span style="font-size: 15px;"><br></span></div><div><span style="font-size: 15px;"><div>SinOsc s => dac;</div><div>110 => float initial => s.freq;</div><div><br></div><div>fun void ramp() {</div><div>    880 => float final;</div><div>    1::ms => dur res;</div><div>    500::ms => dur width;</div><div>    (final - initial) / (width / res) => float delta;</div><div>    now => time start;</div><div>    while(now < start + width) {</div><div>        res => now;</div><div>        s.freq() + delta => s.freq;</div><div>    }</div><div>}</div><div>spork ~ ramp();</div><div><br></div><div>1::second => now;</div></span></div>
                <div><div><span style="font-size: 15px;"><br></span></div><div><span style="font-size: 15px;"><br></span></div><div><span style="font-size: 15px;"><br></span></div></div>
                 
                <p style="color: #A0A0A8;">On Friday, July 13, 2012 at 2:43 PM, Kassen wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>On 13 July 2012 20:17, George Locke <<a href="mailto:george.locke.maxmsp@gmail.com">george.locke.maxmsp@gmail.com</a>> wrote:</div><blockquote type="cite"><div>sweet.  guess i might've figured that one out on my own...</div></blockquote><div><br></div><div>I understand the problem.</div><div>Like this I have been using it for quite a while, but the need for the</div><div>extra Step, unless it sets some sort of variable scaling, feels a bit</div><div>counter-intuitive. I seem to remember it was Perry who first proposed</div><div>that Envelope without any input should assume a input of 1. That would</div><div>bring it more closely in line with similar objects in other systems.</div><div><br></div><div>There is also no problem with asking questions if you looked around a</div><div>bit; the documentation is a bit scattered.</div><div><br></div><div>Happy ChucKing,</div><div>Kas.</div><div>_______________________________________________</div><div>chuck-users mailing list</div><div><a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a></div><div><a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>