Synchronize MSP with an external source
sync~ outputs a 0-1 ramp, like phasor~. The frequency of the ramp can be specified in beats per minute (BPM), or by sending sync~ a tempo reference via tap tempo, MIDI beat clock, or an audio signal containing a 'click track.' Also, sync~ generates MIDI beat clock to synchronize external devices.
|| A sequence of sync~ object receives three taps in a row with reasonably consistent timing, it changes the tempo to match them.
messages is used to set the tap tempo. A message is interpreted as one tap. If the |
|| 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.
|| Sets the BPM for the clock.
|| The word
, followed by a number, sets the rate of the current output ramp to a frequency corresponding to the specified beats/minute. |
|| The word
, followed by a floating point number in the range 0.-1.0, adjusts the MIDI output "phase" of the current output ramp. |
|| The word
, followed by a floating point number in the range 0.-1.0, adjusts the "phase" of the current output ramp. |
|| The word sync~ object can be scaled for output further by using the rate~ object.
(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 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 |
|| 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.
|| The word sync~ outputs the number 250 from the MIDI beat clock output so that any external devices will also start.
causes the current output ramp to halt, and resets the ramp to 0. The message has the same effect as receiving the MIDI beat clock start value (250). When the message is received, |
|| The word 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.
causes the current output ramp to halt, and to remain stationary until a message is received. It is equivalent to sending the MIDI beat clock stop value (252). When the message is received, the |
Transmit raw MIDI data
Sawtooth wave generator
Time-scale the output of a phasor~
Output received MIDI real time messages
Sequencer for recording and playing MIDI data
Control a master clock and report time values.
Variable size wavetable