Just trying to get my head around Rack module development by looking at the source for the Fundamental modules.
My question is about the
if (running) statement. I get the that the inner if part is if there is an external clock. What I don’t understand is the maths involved to get the phase to tick the index of the sequence with the internal clock. (Plus I’m not exactly sure what is the purpose of the
CLOCK_INPUT?) I think I understand that
sampleTime is just the inverse of
sampleRate. What does
clockTime * args.sampleTime give in units?
I’m pretty sure I’m missing something simple, just can’t see it right now.
Thanks in advance.