bang |
|
A sequence of bang messages is used to set the tap tempo. A bang message is interpreted as one tap. If the sync~ object receives three taps in a row with reasonably consistent timing, it changes the tempo to match them. |
int |
MIDI-data [int]
|
MIDI beat clock. Integer input is interpreted as MIDI data - you can directly connect the output of an rtin object. sync~ responds to MIDI beat clock start/stop (int 250 and 252), and tick (248). All other values are ignored. |
float |
beats-per-minute [float]
|
Sets the BPM for the clock. |
bpm |
bpm-rate [float]
|
The word bpm, followed by a number, sets the rate of the current output ramp to a frequency corresponding to the specified beats/minute. |
midioffset |
output-phase [float]
|
The word offset, followed by a floating point number in the range 0.-1.0, adjusts the MIDI output "phase" of the current output ramp. |
offset |
ramp-phase [float]
|
The word offset, followed by a floating point number in the range 0.-1.0, adjusts the "phase" of the current output ramp. |
ppq |
number-of-ticks-per-quarter-note [int]
|
The word ppq (parts per quarter), followed by a number, specifies the number of ticks output for each quarter note. By default, MIDI beat clock specifies a PPQ of 24. The ppq message is useful mainly for doubling or halving the tempo for an external device that is set to a different time signature. The ramp signal generated by the sync~ object can be scaled for output further by using the rate~ object. |
signal |
|
The sync~ object will set its tempo to match an audio click track input. The click track should contain amplitude peaks at quarter-note intervals of the desired tempo. Signal input will affect the tempo only if sync~ detects peak values greater than 0.1 and within the tempo range of approximately 30-240 BPM. |
start |
|
The word start causes the current output ramp to halt, and resets the ramp to 0. The start message has the same effect as receiving the MIDI beat clock start value (250). When the start message is received, sync~ outputs the number 250 from the MIDI beat clock output so that any external devices will also start. |
stop |
|
The word stop causes the current output ramp to halt, and to remain stationary until a start message is received. It is equivalent to sending the MIDI beat clock stop value (252). When the stop message is received, the sync~ object sends the number 252 from its MIDI beat clock output. The sync~ object does not send MIDI beat clock ticks while it is stopped. |