Dear list (especially Dan),
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;
//============8<=================
LiSa l => dac;
second => l.duration;
//just making sure
<<<l.rate(), " default rate">>>;
//note this is a integer
-1 => l.rate;
<<<l.rate(), " should be -1 but isn't">>>;
-1.0 => l.rate;
<<<l.rate(), " should be -1">>>;
//============8<=================
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?
Yours,
Kas.