A detector measures the signal level, either by peak or by smoothed RMS. When the level goes above Threshold, the compressor reduces the gain according to Ratio, with a soft Knee around the threshold. Attack and Release set how quickly the gain reduction arrives and recovers, and Hold keeps the reduction in place for a moment before recovery. Makeup raises the output afterwards. The detector can be high-passed so low frequencies do not trigger compression, and the detectors of a multichannel bundle can be linked so every channel gets the same reduction.
The key input is a sidechain. While something is connected to it, the detector measures the key instead of the main input, and the gain it computes is applied to the main input: a kick on the key pushes a pad down on every hit (ducking), and a high-passed copy of a voice on the key turns the voice down only when it hisses (de-essing). The key carries one channel, which then drives every channel of the main input, or exactly as many channels as the main input. Left unconnected, the main input drives the detector exactly as before. A key from a node with processing latency is delayed with the rest of the graph, so it stays aligned with the audio it controls.
Use it to even out dynamics, add punch or control a peaky source, or with a key to duck one sound under another and to de-ess. For a hard ceiling that nothing passes, use the Limiter; to silence a signal below a level, use the Gate; to compress bands separately, use the Multiband compressor.
On replaces the output with the signal the detector measures: the key when it is connected, otherwise the main input, after the detector high-pass. Use it to hear what triggers compression while you set a key filter or Detector high-pass; the gain reduction keeps running underneath, so switching back is seamless.
Each help patch is an ordinary Toy that teaches one idea. The diagram shows the Patch; the preview shows its Frame. Open it in TuneToys to play and edit it.
Fundamental pitch, capped below Nyquist; detune uses cents. Range: 20–20000 Hz. Default: 220 Hz. Logarithmic scale. Units: Hz.
Hz
Output gain. Range: 0–0.5 ×. Default: 0.12 ×. Linear scale. Units: linear gain.
×
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–7. Default: 0. Linear scale. Units: unitless.
Cycle offset; Gate rising edges restart phase from this position. Range: 0–1 cycles. Default: 0 cycles. Linear scale. Units: cycles.
cycles
Pitch offset in cents. Range: -1200–1200 cents. Default: 0 cents. Linear scale. Units: cents.
cents
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Semitones a full pitch bend on the MIDI input moves the note, up or down. Range: 0–48 st. Default: 2 st. Linear scale. Units: st.
st
Time constant of the slide from one MIDI note's pitch to the next; 0 jumps. Range: 0–2000 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Envelope
Audio2ch
Audio2ch
Done1 lane
Time to rise to full gain. Range: 0–10000 ms. Default: 10 ms. Linear scale. Units: ms.
ms
Time to fall to sustain in ADSR, or zero in AD. Range: 0–10000 ms. Default: 120 ms. Linear scale. Units: ms.
ms
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–2. Default: 0. Linear scale. Units: unitless.
Width of the quadratic soft knee. Range: 0–24 dB. Default: 6 dB. Linear scale. Units: dB.
dB
Gain after compression. Range: 0–24 dB. Default: 6 dB. Linear scale. Units: dB.
dB
Blends independent detectors with the strongest detector across the entire bundle. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Peak amplitude or smoothed mean-square detection. Range: 0–1. Default: 0. Linear scale. Units: unitless.
High-pass only in the detector (on the key when it is connected); zero bypasses it. Range: 0–1000 Hz. Default: 0 Hz. Linear scale. Units: Hz.
Hz
Holds attenuation before recovery. Range: 0–250 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Blends the chosen release with a slower recovery after sustained reduction. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Outputs the filtered detector signal instead of the compressed audio, to tune the key and its high-pass. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Audio output
Audio2ch
Note
Note
Patch: Oscillator audio output connected to Envelope audio input. Envelope audio output connected to Compressor audio input. Compressor audio output connected to Patch outputs audio input.Connections as text
Oscillator audio output connected to Envelope audio input
Envelope audio output connected to Compressor audio input
Compressor audio output connected to Patch outputs audio input
Only signal above Threshold is turned down. Ratio sets how strongly.
Makeup restores the level after compression.
Frame preview (static). Controls show their default values.
Fundamental pitch, capped below Nyquist; detune uses cents. Range: 20–20000 Hz. Default: 220 Hz. Logarithmic scale. Units: Hz.
Hz
Output gain. Range: 0–0.5 ×. Default: 0.12 ×. Linear scale. Units: linear gain.
×
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–7. Default: 0. Linear scale. Units: unitless.
Cycle offset; Gate rising edges restart phase from this position. Range: 0–1 cycles. Default: 0 cycles. Linear scale. Units: cycles.
cycles
Pitch offset in cents. Range: -1200–1200 cents. Default: 0 cents. Linear scale. Units: cents.
cents
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Semitones a full pitch bend on the MIDI input moves the note, up or down. Range: 0–48 st. Default: 2 st. Linear scale. Units: st.
st
Time constant of the slide from one MIDI note's pitch to the next; 0 jumps. Range: 0–2000 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Envelope
Audio2ch
Audio2ch
Done1 lane
Time to rise to full gain. Range: 0–10000 ms. Default: 10 ms. Linear scale. Units: ms.
ms
Time to fall to sustain in ADSR, or zero in AD. Range: 0–10000 ms. Default: 120 ms. Linear scale. Units: ms.
ms
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–2. Default: 0. Linear scale. Units: unitless.
Width of the quadratic soft knee. Range: 0–24 dB. Default: 6 dB. Linear scale. Units: dB.
dB
Gain after compression. Range: 0–24 dB. Default: 0 dB. Linear scale. Units: dB.
dB
Blends independent detectors with the strongest detector across the entire bundle. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Peak amplitude or smoothed mean-square detection. Range: 0–1. Default: 0. Linear scale. Units: unitless.
High-pass only in the detector (on the key when it is connected); zero bypasses it. Range: 0–1000 Hz. Default: 0 Hz. Linear scale. Units: Hz.
Hz
Holds attenuation before recovery. Range: 0–250 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Blends the chosen release with a slower recovery after sustained reduction. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Outputs the filtered detector signal instead of the compressed audio, to tune the key and its high-pass. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Audio output
Audio2ch
Note
Note
Patch: Oscillator audio output connected to Envelope audio input. Envelope audio output connected to Compressor audio input. Compressor audio output connected to Patch outputs audio input.Connections as text
Oscillator audio output connected to Envelope audio input
Envelope audio output connected to Compressor audio input
Compressor audio output connected to Patch outputs audio input
RMS reacts to average level; Peak reacts to the highest sample.
Detector high-pass keeps low frequencies from triggering compression.
Frame preview (static). Controls show their default values.
A kick on the compressor's key input pushes a sustained pad down on every hit.
Oscillator
MIDI1 lane
Audio1ch
Fundamental pitch, capped below Nyquist; detune uses cents. Range: 20–20000 Hz. Default: 220 Hz. Logarithmic scale. Units: Hz.
Hz
Output gain. Range: 0–0.5 ×. Default: 0.12 ×. Linear scale. Units: linear gain.
×
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–7. Default: 0. Linear scale. Units: unitless.
Cycle offset; Gate rising edges restart phase from this position. Range: 0–1 cycles. Default: 0 cycles. Linear scale. Units: cycles.
cycles
Pitch offset in cents. Range: -1200–1200 cents. Default: 0 cents. Linear scale. Units: cents.
cents
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Semitones a full pitch bend on the MIDI input moves the note, up or down. Range: 0–48 st. Default: 2 st. Linear scale. Units: st.
st
Time constant of the slide from one MIDI note's pitch to the next; 0 jumps. Range: 0–2000 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Envelope
Audio1ch
Audio1ch
Done1 lane
Time to rise to full gain. Range: 0–10000 ms. Default: 10 ms. Linear scale. Units: ms.
ms
Time to fall to sustain in ADSR, or zero in AD. Range: 0–10000 ms. Default: 120 ms. Linear scale. Units: ms.
ms
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–2. Default: 0. Linear scale. Units: unitless.
Repeats complete envelope cycles while Gate is held. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Restart from the current gain or reset to zero on a rising Gate. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Duration of the held part in repeating ADSR/AR cycles. Range: 0–10000 ms. Default: 100 ms. Linear scale. Units: ms.
ms
Oscillator
MIDI1 lane
Audio2ch
Fundamental pitch, capped below Nyquist; detune uses cents. Range: 20–20000 Hz. Default: 220 Hz. Logarithmic scale. Units: Hz.
Hz
Output gain. Range: 0–0.5 ×. Default: 0.12 ×. Linear scale. Units: linear gain.
×
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–7. Default: 0. Linear scale. Units: unitless.
Cycle offset; Gate rising edges restart phase from this position. Range: 0–1 cycles. Default: 0 cycles. Linear scale. Units: cycles.
cycles
Pitch offset in cents. Range: -1200–1200 cents. Default: 0 cents. Linear scale. Units: cents.
cents
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Semitones a full pitch bend on the MIDI input moves the note, up or down. Range: 0–48 st. Default: 2 st. Linear scale. Units: st.
st
Time constant of the slide from one MIDI note's pitch to the next; 0 jumps. Range: 0–2000 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Filter
Audio2ch
Audio2ch
Filter cutoff, capped at 0.45 times sample rate. Range: 20–20000 Hz. Default: 1200 Hz. Logarithmic scale. Units: Hz.
Width of the quadratic soft knee. Range: 0–24 dB. Default: 6 dB. Linear scale. Units: dB.
dB
Gain after compression. Range: 0–24 dB. Default: 0 dB. Linear scale. Units: dB.
dB
Blends independent detectors with the strongest detector across the entire bundle. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Peak amplitude or smoothed mean-square detection. Range: 0–1. Default: 0. Linear scale. Units: unitless.
High-pass only in the detector (on the key when it is connected); zero bypasses it. Range: 0–1000 Hz. Default: 0 Hz. Linear scale. Units: Hz.
Hz
Holds attenuation before recovery. Range: 0–250 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Blends the chosen release with a slower recovery after sustained reduction. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Outputs the filtered detector signal instead of the compressed audio, to tune the key and its high-pass. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Mixer2 ch
Audio2ch
Duck.in2ch
Compressor
dB
Position on a two-lane mix: −1 left, 0 centre, 1 right. Constant-power for a one-lane channel, balance for a two-lane one; ignored on other widths. Range: -1–1. Default: 0. Linear scale. Units: unitless. The ring fills from zero for this signed linear range. Manual editing is unavailable while this host owns the control.
Read only
Thump.in1ch
Envelope
dB
Position on a two-lane mix: −1 left, 0 centre, 1 right. Constant-power for a one-lane channel, balance for a two-lane one; ignored on other widths. Range: -1–1. Default: 0. Linear scale. Units: unitless. The ring fills from zero for this signed linear range. Manual editing is unavailable while this host owns the control.
Read only
Mix output level in decibels, after every channel. −60 dB is off; 0 dB leaves the sum unchanged. Range: -60–12 dB. Default: 0 dB. Linear scale. Units: dB.
dB
Audio output
Audio2ch
Note
Note
Patch: Oscillator “kick” audio output connected to Envelope audio input. Oscillator “pad” audio output connected to Filter audio input. Filter audio output connected to Compressor audio input. Envelope audio output connected to Compressor key input. Compressor audio output connected to Mixer duck.in input. Envelope audio output connected to Mixer thump.in input. Mixer audio output connected to Patch outputs audio input.Connections as text
Oscillator “kick” audio output connected to Envelope audio input
Oscillator “pad” audio output connected to Filter audio input
Filter audio output connected to Compressor audio input
Envelope audio output connected to Compressor key input
Compressor audio output connected to Mixer duck.in input
Envelope audio output connected to Mixer thump.in input
Mixer audio output connected to Patch outputs audio input
The kick reaches the compressor's key input, so the kick's level, not the pad's, sets the gain reduction.
Threshold and Ratio set how far the pad dips on each hit; Release sets how fast it swells back.
Frame preview (static). Controls show their default values.
A high-passed copy of a synthetic voice keys its compressor, so only the hissing esses are turned down.
Oscillator
MIDI1 lane
Audio2ch
Fundamental pitch, capped below Nyquist; detune uses cents. Range: 20–20000 Hz. Default: 220 Hz. Logarithmic scale. Units: Hz.
Hz
Output gain. Range: 0–0.5 ×. Default: 0.12 ×. Linear scale. Units: linear gain.
×
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–7. Default: 0. Linear scale. Units: unitless.
Cycle offset; Gate rising edges restart phase from this position. Range: 0–1 cycles. Default: 0 cycles. Linear scale. Units: cycles.
cycles
Pitch offset in cents. Range: -1200–1200 cents. Default: 0 cents. Linear scale. Units: cents.
cents
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Semitones a full pitch bend on the MIDI input moves the note, up or down. Range: 0–48 st. Default: 2 st. Linear scale. Units: st.
st
Time constant of the slide from one MIDI note's pitch to the next; 0 jumps. Range: 0–2000 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Filter
Audio2ch
Audio2ch
Filter cutoff, capped at 0.45 times sample rate. Range: 20–20000 Hz. Default: 1200 Hz. Logarithmic scale. Units: Hz.
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–5. Default: 1. Linear scale. Units: unitless.
One or two cascaded state-variable stages; notch/all-pass retain their response semantics. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Noise
Audio2ch
Peak amplitude of white noise. Each channel and node path owns a repeatable independent stream; preparation restarts it. Range: 0–0.5 ×. Default: 0.12 ×. Linear scale. Units: linear gain.
×
Filter
Audio2ch
Audio2ch
Filter cutoff, capped at 0.45 times sample rate. Range: 20–20000 Hz. Default: 1200 Hz. Logarithmic scale. Units: Hz.
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–5. Default: 1. Linear scale. Units: unitless.
One or two cascaded state-variable stages; notch/all-pass retain their response semantics. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Reduces resonant gain as Q increases. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Envelope
Audio2ch
Audio2ch
Done1 lane
Time to rise to full gain. Range: 0–10000 ms. Default: 10 ms. Linear scale. Units: ms.
ms
Time to fall to sustain in ADSR, or zero in AD. Range: 0–10000 ms. Default: 120 ms. Linear scale. Units: ms.
ms
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–2. Default: 0. Linear scale. Units: unitless.
Repeats complete envelope cycles while Gate is held. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Restart from the current gain or reset to zero on a rising Gate. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Duration of the held part in repeating ADSR/AR cycles. Range: 0–10000 ms. Default: 100 ms. Linear scale. Units: ms.
ms
Mixer2 ch
Audio2ch
Formant.in2ch
Filter
dB
Position on a two-lane mix: −1 left, 0 centre, 1 right. Constant-power for a one-lane channel, balance for a two-lane one; ignored on other widths. Range: -1–1. Default: 0. Linear scale. Units: unitless. The ring fills from zero for this signed linear range. Manual editing is unavailable while this host owns the control.
Read only
Bursts.in2ch
Envelope
dB
Position on a two-lane mix: −1 left, 0 centre, 1 right. Constant-power for a one-lane channel, balance for a two-lane one; ignored on other widths. Range: -1–1. Default: 0. Linear scale. Units: unitless. The ring fills from zero for this signed linear range. Manual editing is unavailable while this host owns the control.
Read only
Mix output level in decibels, after every channel. −60 dB is off; 0 dB leaves the sum unchanged. Range: -60–12 dB. Default: 0 dB. Linear scale. Units: dB.
dB
Filter
Audio2ch
Audio2ch
Filter cutoff, capped at 0.45 times sample rate. Range: 2000–12000 Hz. Default: 5000 Hz. Logarithmic scale. Units: Hz.
Width of the quadratic soft knee. Range: 0–24 dB. Default: 6 dB. Linear scale. Units: dB.
dB
Gain after compression. Range: 0–24 dB. Default: 0 dB. Linear scale. Units: dB.
dB
Blends independent detectors with the strongest detector across the entire bundle. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Peak amplitude or smoothed mean-square detection. Range: 0–1. Default: 0. Linear scale. Units: unitless.
High-pass only in the detector (on the key when it is connected); zero bypasses it. Range: 0–1000 Hz. Default: 0 Hz. Linear scale. Units: Hz.
Hz
Holds attenuation before recovery. Range: 0–250 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Blends the chosen release with a slower recovery after sustained reduction. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Outputs the filtered detector signal instead of the compressed audio, to tune the key and its high-pass. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Audio output
Audio2ch
Note
Note
Note
Patch: Oscillator audio output connected to Filter “formant” audio input. Noise audio output connected to Filter “ess” audio input. Filter “ess” audio output connected to Envelope audio input. Filter “formant” audio output connected to Mixer formant.in input. Envelope audio output connected to Mixer bursts.in input. Mixer audio output connected to Filter “sibilance” audio input. Mixer audio output connected to Compressor audio input. Filter “sibilance” audio output connected to Compressor key input. Compressor audio output connected to Patch outputs audio input.Connections as text
Oscillator audio output connected to Filter “formant” audio input
Noise audio output connected to Filter “ess” audio input
Filter “ess” audio output connected to Envelope audio input
Filter “formant” audio output connected to Mixer formant.in input
Envelope audio output connected to Mixer bursts.in input
Mixer audio output connected to Filter “sibilance” audio input
Mixer audio output connected to Compressor audio input
Filter “sibilance” audio output connected to Compressor key input
Compressor audio output connected to Patch outputs audio input
Only the high-passed copy reaches the key, so the compressor reacts to esses and leaves the vowel alone.
Turn Listen on to hear exactly what the detector hears, then set the key high-pass so only the hiss remains.
The Multiband compressor's high band is the other way to de-ess: see its help patches.
Frame preview (static). Controls show their default values.
Limiter Linked or independent sample-peak limiting with hold and adaptive release.
Gate Noise gate and downward expander with a sidechain key input, range, hold, lookahead, detector filtering and channel linking.
Multiband compressor Three-band compressor on a flat-summing crossover: per-band threshold, ratio, attack, release, makeup and solo, then an output trim.
Envelope Curved AD, AR and ADSR gain envelopes with looping and explicit retrigger behavior.