slewswitch
slewSwitch · utility · schema v1Quad 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.
the faceplate
10 inputs · 7 outputs · 7 params
inputs
| id | cable | what it does |
|---|---|---|
in1 | cv | Channel 1 CV input into the slew limiter (smoothed by the S1 time). Available at OUT 1 and selectable by the switch. control voltage (CV) |
in2 | cv | Channel 2 CV input into the slew limiter (smoothed by S2). control voltage (CV) |
in3 | cv | Channel 3 CV input into the slew limiter (smoothed by S3). control voltage (CV) |
in4 | cv | Channel 4 CV input into the slew limiter (smoothed by S4). control voltage (CV) |
step_clock | gate | The 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 |
reset | gate | Resets the switch index back to channel 0 on each rising edge, re-syncing the scan to the start of its cycle. gate / trigger |
slew1_cv | cv | CV 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_cv | cv | CV 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_cv | cv | CV 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_cv | cv | CV 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
| id | cable | what it does |
|---|---|---|
out1 | cv | Channel 1 slewed CV — in1 smoothed by the S1 slew time. Always live, independent of the switch. control voltage (CV) |
out2 | cv | Channel 2 slewed CV (in2 smoothed by S2). control voltage (CV) |
out3 | cv | Channel 3 slewed CV (in3 smoothed by S3). control voltage (CV) |
out4 | cv | Channel 4 slewed CV (in4 smoothed by S4). control voltage (CV) |
switched | cv | The 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_idx | cv | The 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) |
eoc | gate | End-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
| id | label | range | default | curve |
|---|---|---|---|---|
slew1 | S1 | 0.001..5s | 0.5 | log |
slew2 | S2 | 0.001..5s | 0.5 | log |
slew3 | S3 | 0.001..5s | 0.5 | log |
slew4 | S4 | 0.001..5s | 0.5 | log |
mode | Mode | 0..2 | 0 | discrete |
length | Len | 1..4 | 4 | discrete |
xfadeTime | Xfd | 0.001..2s | 0.05 | log |
controls
| control | what it does |
|---|---|
| Len | How 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. |
| Mode | The 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. |
| S1 | Channel 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. |
| S2 | Channel 2 slew time, log 0.001..5 s (default 0.5 s). Sums with the S2 CV input. |
| S3 | Channel 3 slew time, log 0.001..5 s (default 0.5 s). Sums with the S3 CV input. |
| S4 | Channel 4 slew time, log 0.001..5 s (default 0.5 s). Sums with the S4 CV input. |
| Xfd | The 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.