v0.1Latest

A/B Switch

Select control input A or B based on a non-zero select signal.

A/B Switch routes A to Output when Select is zero, and B when Select is nonzero, including negative values and values below 0.5. Selection is evaluated for every sample, so gates and Toggle values can switch control signals immediately. Unconnected A defaults to 0, B to 1, and Select to 0. Non-finite values on the selected input produce 0. The switch has no latched state; its output follows the current inputs across graph edits and transport changes.

Inputs

A

IDa
Signalcontrol · control rate
Default0
CoercionImplicit

B

IDb
Signalcontrol · control rate
Default1
CoercionImplicit

Select

IDselect
Signalcontrol · control rate
Default0
CoercionImplicit

Outputs

Output

IDy
Signalcontrol · control rate
CoercionImplicit

Details

Canonical IDlogic.switch
Categoryutilities
Runtime Surfacecontrol
Runtime Targetscontrol-main-thread
JUCE Early AccessSupported
Early Access NoteNative-supported in the plugin for the current catalog/runtime support contract.