slewswitch

slewSwitch · utility · schema v1

Quad slew limiter combined with a 4→1 sequential CV switch. Four CV inputs each pass through an independent slew limiter (per-channel time constant 1 ms–5 s, CV-controllable) for portamento / smoothing, available on out1–out4. A step_clock gate advances a sequential switch that selects among the (slewed) channels and presents the result on `switched`, with a LENGTH (1–4) and MODE control, a crossfade time between selections, a reset gate, a step_idx CV, and an end-of-cycle (eoc) gate. One of the three ATLANTIS-PATCH support modules; broadly useful as a general CV smoother + router.

Two CV utilities in one: a four-channel SLEW LIMITER and a 4-to-1 sequential SWITCH. The slew side smooths each of the four CV inputs independently — its per-channel slew time controls how long the output takes to glide to a new value (a portamento / lag for pitch, an envelope-rounder for gates, a smoother for any steppy CV). The switch side scans those same four slewed channels one at a time: each rising edge at the CLOCK input advances the selection, and the SWITCHED output carries whichever channel is currently chosen (with an equal-power crossfade between channels so the hand-off is glitch-free). The scan can run forward, pendulum (ping-pong) or random, over a settable length of 1-4 steps; a STEP IDX output and an end-of-cycle pulse round it out. The four direct OUT jacks are always live regardless of the switch. The slew + switch math runs in a DSP worklet.

the faceplate

slewswitchin1cvin2cvin3cvin4cvstep_clockgateresetgateslew1_cvcvslew2_cvcvslew3_cvcvslew4_cvcvout1cvout2cvout3cvout4cvswitchedcvstep_idxcveocgateaudiocvgatepitch
10 inputs · 7 outputs · 7 params

inputs

idcablewhat it does
in1cvChannel 1 CV input into the slew limiter (smoothed by the S1 time). Available at OUT 1 and selectable by the switch.
control voltage (CV)
in2cvChannel 2 CV input into the slew limiter (smoothed by S2).
control voltage (CV)
in3cvChannel 3 CV input into the slew limiter (smoothed by S3).
control voltage (CV)
in4cvChannel 4 CV input into the slew limiter (smoothed by S4).
control voltage (CV)
step_clockgateThe switch advance clock — each rising edge steps the 4-to-1 sequential switch to the next channel (per the Mode and Len settings). Leave unpatched and the switch holds on its current channel.
gate / trigger
resetgateResets the switch index back to channel 0 on each rising edge, re-syncing the scan to the start of its cycle.
gate / trigger
slew1_cvcvCV that sums into the S1 slew-time amount (log-scaled), modulating how fast channel 1 glides.
control voltage (CV); modulates slew1 (multiplicative ≈ octaves — ±1 CV spans the param’s log range)
slew2_cvcvCV that sums into the S2 slew-time amount (log-scaled).
control voltage (CV); modulates slew2 (multiplicative ≈ octaves — ±1 CV spans the param’s log range)
slew3_cvcvCV that sums into the S3 slew-time amount (log-scaled).
control voltage (CV); modulates slew3 (multiplicative ≈ octaves — ±1 CV spans the param’s log range)
slew4_cvcvCV that sums into the S4 slew-time amount (log-scaled).
control voltage (CV); modulates slew4 (multiplicative ≈ octaves — ±1 CV spans the param’s log range)

outputs

idcablewhat it does
out1cvChannel 1 slewed CV — in1 smoothed by the S1 slew time. Always live, independent of the switch.
control voltage (CV)
out2cvChannel 2 slewed CV (in2 smoothed by S2).
control voltage (CV)
out3cvChannel 3 slewed CV (in3 smoothed by S3).
control voltage (CV)
out4cvChannel 4 slewed CV (in4 smoothed by S4).
control voltage (CV)
switchedcvThe 4-to-1 switch output: the slewed signal of the currently-selected channel, with an equal-power crossfade (the Xfd time) on each switch so transitions don't click.
control voltage (CV)
step_idxcvThe current switch index as a CV, mapped to -1..+1 across the active channels — for driving a display or for downstream addressing of the scan position.
control voltage (CV)
eocgateEnd-of-cycle: a short (~5 ms) gate pulse each time the switch WRAPS back to channel 0 (in random mode it pulses on every step). Chain it to another clock/reset to daisy-chain cycles.
gate / trigger

params

idlabelrangedefaultcurve
slew1S10.001..5s0.5log
slew2S20.001..5s0.5log
slew3S30.001..5s0.5log
slew4S40.001..5s0.5log
modeMode0..20discrete
lengthLen1..44discrete
xfadeTimeXfd0.001..2s0.05log

controls

controlwhat it does
LenHow many channels the switch scans, 1-4 (a cycling LEN button). A length of 2, for example, ping-pongs/cycles only channels 0-1 and ignores 2-3. Default 4.
ModeThe switch scan pattern (a cycling button on the card): FWD = forward 0→1→2→3→0…, PND = pendulum / ping-pong 0→1→2→3→2→1→0…, RND = random (a new channel each clock, never repeating the previous). Default FWD.
S1Channel 1 slew time, log 0.001..5 s (default 0.5 s) — how long OUT 1 takes to glide to a new value. Short = snappy/near-instant, long = a slow lag/portamento. Sums with the S1 CV input.
S2Channel 2 slew time, log 0.001..5 s (default 0.5 s). Sums with the S2 CV input.
S3Channel 3 slew time, log 0.001..5 s (default 0.5 s). Sums with the S3 CV input.
S4Channel 4 slew time, log 0.001..5 s (default 0.5 s). Sums with the S4 CV input.
XfdThe equal-power crossfade time applied to the SWITCHED output when the selection changes, log 0.001..2 s (default 0.05 s). Short = a tight switch, long = a slow morph between the two channels' values.

source

slewswitch.ts on GitHub.

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