How It Works
Technical view
The active path matches Studio Compressor in the current code: a smoothed level detector feeds an envelope-based gain-scaling stage, followed by low-shelf contouring and a high-shelf tone control. It already extends sustain by reducing peaks and lifting the tail through the global mix structure, but it is not yet a separate sustain-specific topology.
- Compression, Gate & EQ
- waveshaping / saturation
- delay processing
- oscillator / LFO modulation
- DC blocking
Signal Path
Compiled preview chain
Preview source: An internally generated picked-string phrase is widened to stereo with a 19-sample right-channel delay and slight left/right shelf-EQ offsets before it hits the dynamics or EQ core.
- 1internal picked-string demo phrase
- 2stereo spread with a short right-channel delay
- 3envelope-following gain reduction
- 4low-shelf contour shaping
- 5post-processing high-shelf tone shaping
- 6dry / wet mix
- 7DC blocker
- 8output gain trim
- 9final tanh limiter
Preview source
An internally generated picked-string phrase is widened to stereo with a 19-sample right-channel delay and slight left/right shelf-EQ offsets before it hits the dynamics or EQ core.
Effect core
Envelope-dependent gain reduction with post-compression low-shelf contouring and high-shelf tone shaping.
Signal path
The static waveform and the live player both reflect this compiled signal chain.
- internal picked-string demo phrase
- stereo spread with a short right-channel delay
- envelope-following gain reduction
- low-shelf contour shaping
- post-processing high-shelf tone shaping
- dry / wet mix
- DC blocker
- output gain trim
- final tanh limiter
Controls that matter
These are the currently active controls detected in the FAUST source for this effect.
- mix: Blends the untouched stereo preview source with the processed path after the core effect.
- output_gain_db: Applies final post-effect level trim after DC blocking and before the output limiter.
- squeeze: Raises the multiplier applied to the smoothed input envelope in the denominator of the gain-scaling stage.
- tone: Adjusts the post-processing high shelf.
- contour: Raises the numerator of the gain-scaling stage and adjusts the post-processing low shelf.
Code-backed analysis
The generated description is tied to the active helper blocks and routing found in the current DSP.
- demo
- fx
- outputStage
- leftDemo
- rightDemo
- gateCore
- phraseMono
- previewShiftSamples
Controls
Audible controls in this DSP
Blends the untouched stereo preview source with the processed path after the core effect.
Lower settings keep more dry attack and natural dynamics; higher settings push the processed behavior forward.
Applies final post-effect level trim after DC blocking and before the output limiter.
Matches loudness without changing the actual dynamic or EQ structure.
Raises the multiplier applied to the smoothed input envelope in the denominator of the gain-scaling stage.
Increases sustain and peak flattening as it rises.
Adjusts the post-processing high shelf.
Keeps the sustained signal darker and rounder or brighter and more present.
Raises the numerator of the gain-scaling stage and adjusts the post-processing low shelf.
Adds body and fullness to the leveled signal.
Analysis
Code-derived notes
Current implementation shares the same envelope-leveling compressor core as Studio Compressor, Optical Compressor, FET Compressor, Parallel Compressor, Multi-Band Compressor, and Upward Compressor.
Active blocks
- demo
- fx
- outputStage
- leftDemo
- rightDemo
- gateCore
- phraseMono
- previewShiftSamples
- pickedVoice
- fund
- pickEnv
- ampEnv
- triggerAt
- maxDelaySamples
Inactive helpers
- synthVoice
- organVoice
- bellVoice
- softsat
- quantize
- combLP
- echoOnly
- diffuser
Warnings
No current warnings are attached to this effect.
Source
- library/compression-gate-eq/sustain-compressor.dsp
- Output stage: DC blocker -> output gain trim -> final tanh limiter
- Library position: 45