<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hello, ChucK people -</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">How do I use CurveTable?  I've tried chucking a SinOsc to it as one would an envelope, but that didn't work.  I've also tried this:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">SinOsc s =&gt; Gain g =&gt; </SPAN></FONT><FONT class="Apple-style-span" color="#0032E6" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">dac</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">CurveTable t;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">[</SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">.</SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">, </SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">.</SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">, </SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">.</SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">,</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"> </SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">2</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">.</SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">, </SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">1</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">.</SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">, </SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">.</SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">,</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"> </SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">3</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">.</SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">, </SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">.</SPAN></FONT><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">0</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">] @=&gt; </SPAN></FONT><FONT class="Apple-style-span" color="#0032E6" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">float</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"> times[];</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">times =&gt; t.coefs;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#0032E6" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">while</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"> (</SPAN></FONT><FONT class="Apple-style-span" color="#0032E6" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">true</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">)</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">{</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" color="#CE833E" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">1</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">::</SPAN></FONT><FONT class="Apple-style-span" color="#0032E6" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">samp</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"> =&gt; </SPAN></FONT><FONT class="Apple-style-span" color="#0032E6" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">now</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">t.last() =&gt; g.gain;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">};</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Monaco; min-height: 17px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Monaco; min-height: 17px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">thanks,</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Monaco; min-height: 17px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">jascha</SPAN></FONT></DIV></BODY></HTML>