Dear list (especially Dan),<br><br>I just spend a hour or so pulling my hair out wondering why my little toy turntable wouldn't "scratch" anymore. It turns out that the issue is some changed behaviour in LiSa'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<=================<br>LiSa l => dac;<br>second => l.duration;<br><br>//just making sure<br><<<l.rate(), " default rate">>>;<br><br>//note this is a integer<br>-1 => l.rate;<br>
<<<l.rate(), " should be -1 but isn't">>>;<br><br>-1.0 => l.rate;<br><<<l.rate(), " should be -1">>>;<br>//============8<=================<br><br>I'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>