Standard linear crossfader with two inputs, used to mix between 2 audio (or control) signals with an adjustable transition.
|A||Audio/Control line to use when Alpha is towards 0.|
|B||Audio/Control line to use when Alpha is towards 1.|
|Alpha-control||Control input to automate the Alpha setting, from 0 to 1.
This input can be toggled from the Node settings panel.
|Alpha||Sets the crossfader “position”.
Values towards 0 put more of A into the mix, values towards 1 more of B.
|Fade mode||Sets the crossfade effect to use.
|Mix||The mixed inputs.|
When Fade mode is gain, this node performs a per sample linear interpolation:
A * (1 - alpha) + B * alpha.
When Fade mode is filter, a center frequency between 10 Hz and 22 kHz, based on the alpha setting is determined. A low-pass filter with this frequency is used on A, and a high-pass filter with the same frequency on B.
Note: Audio and Control lines (visualized with blue and orange, respectively) are both analogous to an analog signal. They can be used interchangeably, and, for example, an Audio output (blue) can be connected to a Control input (orange), or vice-versa.