[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Event Timing Offset
James Harkins <jamshark70@xxxxxxxxx> writes:
> I can help you with implementation details.
So much is still foggy. I need to play with this a little and read it
a couple of more times and then I'll get back to you;).
> Synth(...) which is guaranteed to introduce timing inaccuracies
Thank you for mentioning this. This was quite serious and I didn't
know this. Not sure if I understand this correctly, but would this be
sufficient:?
~hukarz1_task = Task({
var startCycle, baseTime;
loop{
startCycle = thisThread.clock.beats;
baseTime = thisThread.clock.beats.roundUp(1);
thisThread.clock.schedAbs(baseTime + ~timeisme,{
s.makeBundle(0.25, {
Synth("hukarz1");
});
});
(startCycle + 8.0 - thisThread.clock.beats).wait;
}
})
--
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
[sip|iax]: e e
jid:b0ef@ n n