This is an old revision of the document!
Crossfade (Data-Controlled)
This block creates a smooth transition between two input signals: the volume of one signal is decreased while the other input signal level increases, creating a gradual switch (cross-fade) between the inputs.
The output signal is selected by setting a value on the input control pin (top orange pin) to the desired input's index of either 0.0 or 1.0. The control signal should be a 28.0 format integer value, typically from a DC input block or RMS Table.
When the control input value changes, a cross fade is initiated between the current output and the newly selected input signal. The cross-fade transition rate (slew rate) can be adjusted using the numerical control on the block, (the maximum SW Slew Rate value is 23).
This block's algorithm can be grown or added:
- Select Grow Algorithm from the right-click menu to create an additional output and input pair (sharing the signal select control pin and SW slew ram parameter).
- Select Add Algorithm from the right-click menu to create an additional algorithm with its own independent input select control pin.
See the Multiplexer/Demultiplexer Example of the Crossfade (Data-Controlled) block.


