Sync & FM oscillator
ATMOSYNTH built-in module
One oscillator started over by another, which is the oldest way of making a sound too bright for the wave it is made of. Two phases run here: the master is the note, and the slave is what you hear, running at the note times Detune. Every time the master comes round it takes hold of the slave, and because the pitch is the master's, Detune moves the timbre rather than the note — sweep it and the sound climbs without the pitch going anywhere. That is the sync sweep, and an envelope or an LFO on the Detune input plays it. Sync is off at nothing, soft at one and hard at two. Hard throws the slave's phase back to the start mid-cycle, and the wave restarts wherever it had got to — the hard, vocal, tearing sound. Soft reverses the slave's direction instead, so the wave folds back and runs the way it came: nothing jumps, only the slope turns, which is gentler, hollower, and comes round every second master turn, so soft sits an octave under hard. Tuned above the note the slave gets through more of its wave between one reset and the next, which is where the sweep's brightness comes from. Tuned below it the master catches the slave before it has finished, so what comes out is a fraction of the wave and quieter for it — half the swing an octave down, a quarter of it two octaves down. That is sync at those tunings rather than a fault, and it is why the bottom of the knob is most use with sync off, where an octave down is the sub-oscillator most patches want. FM is linear and in hertz rather than a detuning in cents, and it goes through zero: driven below nothing the phase runs backwards instead of stopping there, which keeps the sidebands even once the depth passes the note being modulated. It moves master and slave together, so the sync ratio survives it. Patch an oscillator in for the bells and clangs FM is known for, or an LFO for a vibrato in hertz rather than semitones. Wave travels sine, triangle, sawtooth, square at nothing to three, and any two mixed between; sync is loudest on the last two, which have the most to be cut off. Sync is an input as well: whatever is patched there takes the master over on its rising zero crossings, and silence never crosses, so an empty one leaves the note the job. The code is mostly band-limiting. A reset is a step, it almost never lands on a sample instant, and one rounded to the nearest sample throws off tones at no harmonic of anything — the grit that gives a digital sync away. So every discontinuity is corrected where it actually happened and by however much the wave actually jumped, and soft sync's corner by that correction integrated once. The output is centred on the way out, for the reason an analog oscillator has a capacitor on its own: a wave cut off mid-cycle no longer sits either side of nothing, and two octaves down three quarters of what left would be a constant — which no speaker moves for, which eats the headroom the rest of the patch needs, and which thumps at both ends of the note.