902 vca
moog902 · utilities · schema v1902 Voltage Controlled Amplifier (slice 3 of the moogafakkin System 55/35 clone — categorized under Ports -> moogafakkin). The classic moogafakkin DIFFERENTIAL VCA. A SIGNAL input is multiplied by a gain driven by a CONTROL SUM measured in volts: the manual GAIN pot ("fixed control voltage", 0..6 V) + the summing CONTROL INPUTS (cv, scaled by the CV-amount knob + sign) + a fixed-control-voltage bias input (fcv). Overall gain is x2 (+6 dB) at pot-max OR at CV = 6 V, and reaches its x3 ceiling near a control sum of ~7.5 V. The LIN / EXP RESPONSE switch picks the gain law: LINEAR rises linearly with the control voltage (6 V -> x2); EXPONENTIAL passes through the same x2 at 6 V then climbs faster, hitting x3 near ~7.5 V (the snappier VCA feel). Two complementary outputs form the differential pair: OUT (the amplified signal) and OUT- (audio_inv, its sample-accurate phase-inverted twin) — handy for stereo widening, sidechain feedback prevention, or mid/side work without a separate inverter. DSP is own-code: an amplifier gain law forked from the repo's own vca, re-implemented with the added exponential branch + the moogafakkin x2-at-6V / x3-ceiling scaling (not a port of any moogafakkin schematic or copyleft source - permissive only). Beige moogafakkin faceplate (the intrinsic always-on look shared by the moogafakkin module family).
the faceplate
inputs
| id | cable | what it does |
|---|---|---|
audio | audio | The SIGNAL input — the audio to be amplified by the VCA. audio signal |
cv | cv | Summing CONTROL INPUT to gain (audio-rate). It is scaled by the CV-depth knob and added, in volts, to the control sum the worklet maps through the gain law, so an envelope here makes the VCA an amplitude shaper and an LFO makes tremolo. Bipolar CV with a negative CV-depth can duck the signal. control voltage (CV); modulates gain (summed directly (the destination DSP scales it)) |
fcv | cv | A second summing CONTROL INPUT to gain — a fixed-control-voltage bias added straight onto the control sum (no depth knob). Use it to offset the operating point, or to sum a second modulation source alongside CV. control voltage (CV); modulates gain (summed directly (the destination DSP scales it)) |
outputs
| id | cable | what it does |
|---|---|---|
audio | audio | The amplified signal — the input scaled by the gain the control sum produces. audio signal |
audio_inv | audio | The differential − output: a sample-accurate phase-inverted twin of the main output (the same level, 180° out of phase). Handy for difference patches or driving a balanced pair. audio signal |
params
| id | label | range | default | curve |
|---|---|---|---|---|
gain | Gain | 0..1 | 0.5 | linear |
cvAmount | CV | -1..1 | 1 | linear |
mode | Mode | 0..1 | 0 | discrete |
controls
| control | what it does |
|---|---|
| CV | Depth and SIGN of the CV control input: it scales how much the CV jack moves the gain. Full right (+1) is full positive depth, center is none, full left (−1) inverts the CV so a rising envelope ducks instead of opening. Defaults to +1. |
| Gain | The manual GAIN pot (the spec's fixed control voltage), mapped across 0..6 V of the control sum — at the top it alone gives ×2 (+6 dB). Its volts add to whatever CV/FCV contribute. Defaults to 0.5 (mid). |
| Mode | RESPONSE switch — the gain law. LINEAR rises straight to ×2 at a 6 V control sum; EXPONENTIAL passes through that same ×2 at 6 V then climbs faster toward the ×3 ceiling (~7.5 V), the more musical curve for envelope-shaped amplitude. Defaults to LINEAR. |
source
moog902.ts on GitHub.