SCLOrkClock can be used as a TempoClock but takes its synchronization information from a SCLOrkClockServer, so will be synchronized in time to all other clocks connected to the same SCLOrkClockServer. This means that the beats
value of each SCLOrkClock talking to the same time server, and with the same name, is synchronized. This allows for patterns and events to be played with the same quantization or scheduling on different computers in synchronicity.
Call before creating clocks. Establishes a connection with the SCLOrkClockServer, starts to compute timing information, and gathers list of current active clocks.
serverName |
A name or IP address of the SCLOrkClockServer. |
Create and return a new SCLOrkClock object. The first argument is for the network synchronization, and the remaining arguments are passed on to TempoClock: new.
name |
A symbol describing a unique name of the clock. Any clocks created with the same name will share all information over the network. NOTE: If a clock of this name already exists, all of the rest of the parameters will be ignored in favor of the existing clock parameters. |
tempo |
Starting tempo for the clock. |
beatsPerBar |
How many beats per bar at the start of the clock. |
serverName |
The name of the clock server to consult. |
A newly initialized SCLOrkClock.
Allows for reading, but not changing, of the curent beat count.
Allows for reading, but not changing, of the current seconds count.
If true, the clock will survive calls to command+period.