← All effects
Switches

Controllable Control Switch 2 In

What it is

The Controllable Control Switch 2 In block passes one of two control inputs through to a single control output. A third control input is the selector: its value chooses channel 1 or channel 2 (out-of-range values are clamped to that pair). Two adjustable gains shape the mix — an output gain (0 to 1) that scales the routed signal and a leakiness control (0 to 1) that lets a fraction of the unselected channel bleed through instead of muting it fully — and a Mute toggle silences the output. Everything runs in the control domain.

How it works

Each tick it reads the selector control input, clamps it to a valid channel number, and forms the output as the sum of the two inputs scaled by per-channel gains: the selected channel gets the full output gain scaled by one minus the leakiness, while the other channel contributes only the leaked fraction; Mute forces the gains to zero. It processes one sample-frame per tick, in step with WaveWarp's sample-per-sample engine.