TempoClick

Creates an impulse click track on the server for synchronizing BufSeq's.

*new(server, clock, bus, subdiv = 1)

server: The server on which the click will be placed.

clock: The TempoClock to which the click track will be synchronized. It must be a TempoClock.

bus: The control-rate bus that will receive the impulses. You should typically not specify this, so the click will grab its own bus.

subdiv: The tempo resolution, in 1/nths of the beat. If you want a click track to have four clicks per beat, use subdiv:4. Note that BufSeq and MultiBufSeq require the click to play at twice the desired resolution; to play 16th-note patterns, you would need to specify subdiv:8.

The click will be played automatically. It consumes very little processor power.

The click is registered as a dependent of the TempoClock, meaning that it will adapt to tempo changes, and it will free itself when the clock is stopped. This depends on a couple of lines of code being added to the TempoClock class file. Those instructions can be found in the installation file provided with the download. Note that if the clock's tempo changes, BufSeq's will fall out of sync with routines playing on the client. I don't know why this is, but I must mention it as a caveat.

free

Stop the click track and free server resources.