Electronic music - sync

From Helpful
Jump to: navigation, search
The physical and human spects dealing with audio, video, and images

Vision and color perception: objectively describing color · the eyes and the brain · physics, numbers, and (non)linearity · color spaces · references, links, and unsorted stuff

Image: file formats · image processing

Video: format notes · encoding notes · On display speed


Audio physics and physiology: Basic sound physics · Human hearing, psychoacoustics · Descriptions used for sound and music

Digital sound and processing: capture, storage, reproduction · programming and codescs · some glossary · Audio and signal processing - unsorted stuff


Electronic music: Some history, ways of making noises · Gaming synth · on latency ··· microphones · studio and stage notes · Effects · sync ·

Music electronics: device voltage and impedance, audio and otherwise · amps and speakers · basic audio hacks · Simple ADCs and DACs · digital audio · multichannel and surround ·

Noise stuff: Stray signals and noise · sound-related noise names · electronic non-coupled noise names · electronic coupled noise · ground loop · strategies to avoid coupled noise · Sampling, reproduction, and transmission distortions · (tape) noise reduction


Unsorted: Visuals DIY · Signal analysis, modeling, processing (some audio, some more generic) · Music fingerprinting and identification

For more, see Category:Audio, video, images

Sync in general

Devices can keep pretty damn regular rhythm with an internal clock.

However, multiple devices with same-speed crystals need vary very little which they will for those to go out of sync with each other.


So instead, we often communicate what we want: se wend a pulse to signal when to move on to the next step.

This means there is only one clock, and everything else will keep synchronized to it - no matter how (ir)regular that one clock is.


Sync is electrically very simple.

Typically a square impulse, because that is best defined electrically, and easy to consume.


One practical limitation is that such a pulse alone can't communicate when a measure should start over, so it's not very hard to get two devices playing at the same speed, but start/restart their measures at different times.

One workaround is to, if possible, prime each listening device at the start, and only then start the sync pulses.

PPQN

PPQN (a.k.a. PPQ and TPQN) is fairly literal: the amount of electronic-level pulses (/ticks) before the listening side moves on to the next quarter note.

Technically, it's only a quarter note in relation to others that intepret it the same way - but that's often true.


(note that this pulse is electronic/signal sense[1] of a rapid transient that returns to its baseline, not that of musical pulse. The below uses ticks to lessen confusion)


PPQN is often seen in the form 24PPQN, e.g. in MIDI beat clock (and the earlier DIN sync).



Sync in the real world

MIDI beat clock, a.k.a. MIDI timing clock, MIDI clock, is using regular MIDI connection to transmit a (single-byte) message at 24PPQN.

see also MIDI#Beat_clock

MIDI Timecode, a.k.a. MTC, is a variant of SMPTE

Which isn't really a beat, so somewhere between finicky and useless to use for rhythm. It's useful to point out that this is not the same as beat clock.
see also MIDI#MTC


DIN sync pinout
DIN Sync[2] is a PPQN style pulse on a dedicated pin of a DIN socket. (A second pin set whether the drum machine should be running or paused. There are a few pinout variations.)

DIN sync is typically 24PPQN, and also known as Sync24.

Some old drum machines (e.g. some from Linn, Korg) used 48PPQN, many others 24PPQN (e.g. Roland). If DIN-synced between those, they'd go at twice/half speed. Which some people used intentionally, others has a converter box for.


Modular synth sync - most modules trigger as soon as they see an event (trigger or gate), and don't run their own timer at all. Even deriving varied clock signals using modules tends to not do so.

As such, it's usually only the clock generator you use that needs to know about rhythm, everything else just needs to react.



Modular

Triplets, swing