Dear list (especially Dan),<br><br>I just spend a hour or so pulling my hair out wondering why my little toy turntable wouldn&#39;t &quot;scratch&quot; anymore. It turns out that the issue is some changed behaviour in LiSa&#39;s .rate(). I believe .rate() no longer automatically casts integers to floats while previously it did. The following example demonstrates the issue;<br>
<br>//============8&lt;=================<br>LiSa l =&gt; dac;<br>second =&gt; l.duration;<br><br>//just making sure<br>&lt;&lt;&lt;l.rate(), &quot;&nbsp;&nbsp;&nbsp;&nbsp; default rate&quot;&gt;&gt;&gt;;<br><br>//note this is a integer<br>-1 =&gt; l.rate;<br>
&lt;&lt;&lt;l.rate(), &quot;&nbsp;&nbsp;&nbsp;&nbsp; should be -1 but isn&#39;t&quot;&gt;&gt;&gt;;<br><br>-1.0 =&gt; l.rate;<br>&lt;&lt;&lt;l.rate(), &quot;&nbsp;&nbsp;&nbsp; should be -1&quot;&gt;&gt;&gt;;<br>//============8&lt;=================<br><br>I&#39;m not sure how this can happen as casting integers to floats is supposed to be automatic in ChucK. If somebody could please look into this?<br>
<br>Yours,<br>Kas.<br>