| | [sc-users] BeatSched... what a mess! |
 | | The problem is, as Casey pointed out some time ago and never got a good answer for, if you're using deltaTillNext to get quantized time values, every so often it returns a very small value. |
 | | This is felix's example, which was supposed to show it working correctly: Tempo.bpm_(120); (d = Routine({ 20.do({ var dbeat; dbeat = OSCSched.global.deltaTillNext(4.0); dbeat.postln; Tempo.beats2secs(dbeat).wait; "Next wait".postln; }); }); SystemClock.play(d);) And here's part of the output when I just ran it, annotated: Next wait 3.9982833079999 Next wait 0.0026916679998976 -- WRONG! |
 | | Next wait 3.9999772079999 Next wait 3.9998792399999 Next wait 3.9996543499999 Next wait 3.99964972 Next wait 0.00083424399997512 -- WRONG! |
| www.create.ucsb.edu /pipermail/sc-users/2003-May/003694.html (377 words) |