scaler

scaler · utilities · schema v1

SCALER — a tiny 1-in / 1-out signal multiplier (a fixed-gain VCA-without-CV / "gain trim" utility). Model: out = in × AMOUNT, computed sample-accurately by a single Web Audio GainNode (no worklet, no DSP build). Controls — AMOUNT: the single scale-factor knob, range ×0.1 .. ×10 on a LOG taper so unity (1.0) sits at the knob CENTER and the cut/boost is symmetric (left extreme = ×0.1, right extreme = ×10); default 1.0, so a freshly spawned SCALER passes a direct patch through unaltered until you dial it. Below 1.0 it ATTENUATES (down to a tenth), above 1.0 it BOOSTS (up to ten times) — unlike a passive attenuator (which only cuts, 0..1), the SCALER can also amplify. IO — IN: the signal to scale (typed audio so it interops with audio cables directly, and widened to accept the CV family so a CV / gate / pitch source can be scaled too — it is just a multiply, valid for either signal class); OUT: the scaled signal (out = in × amount). OUT is TYPE-TRANSPARENT: its cable type ADOPTS whatever is patched into IN — a CV source makes OUT emit CV, an audio source makes it emit audio (it falls back to audio when nothing is patched). This matters when SCALER feeds a VIDEO module: a CV stays CV through the audio→video bridge so AMOUNT actually scales the modulation, instead of being read as audio (which the bridge envelope-follows and clamps, making the knob do nothing). All patching is via the card's yellow drill-down PATCH PANEL (top-left / top-right affordances → INPUT / OUTPUT) — no side jacks. AMOUNT is MIDI / control-surface assignable (right-click → MIDI Learn) like every other knob. Usage: drop one inline on any audio or CV cable to trim level or boost a quiet source; scale an LFO / envelope / sequencer CV up or down before it modulates a destination; or use it as a simple makeup-gain stage after an effect.

A one-knob signal multiplier — a clean gain trim that can both CUT and BOOST. The single AMOUNT knob multiplies whatever passes through by a factor from ×0.1 (a tenth) up to ×10 (ten times): out = in · amount. Unlike a passive attenuator (which only cuts, 0..1), SCALER can also amplify, and unlike a VCA it has no CV input — it is a fixed, set-and-forget trim. It works on EITHER signal class: the input accepts audio, CV, pitch or gate cables, and the output adopts the cable type of whatever is patched in, so scaling a CV stays CV through the system (this is what makes the knob actually do something at a cross-domain destination). There is no DSP worklet — it is a single Web Audio GainNode, sample-accurate.

the faceplate

scalerinaudiooutaudioaudiocvgatepitch
1 inputs · 1 outputs · 1 params

inputs

idcablewhat it does
inaudioThe signal to scale. Typed audio but widened to accept CV / pitch / gate cables too, so the same multiply works on a control voltage, a pitch line or an audio bus — it is just a gain.
audio signal; also accepts: control voltage (CV), V/oct pitch CV, gate / trigger

outputs

idcablewhat it does
outaudioThe scaled signal, out = in · amount. Type-transparent: the emitted cable type adopts whatever is patched into IN (a CV source makes this emit CV, an audio source makes it emit audio); with nothing patched it presents as an audio jack.
audio signal; type mirrors whatever is patched into in

params

idlabelrangedefaultcurve
amountAMOUNT0.1..101log

controls

controlwhat it does
AMOUNTThe scale factor, on a log fader so unity (×1.0) sits at the knob CENTER and the taper is symmetric: full left = ×0.1 (attenuate to a tenth), full right = ×10 (boost ten-fold). Defaults to ×1.0, so a freshly spawned SCALER is a transparent direct patch until you move it.

source

scaler.ts on GitHub.

Generated from packages/web/src/lib/{audio,video}/module-registry.ts · repo