This shows you the differences between two versions of the page.
Previous revisionLast revision | |||
— | resources:tools-software:sigmastudiov2:modules:muxesanddemuxes:crossfade [05 Jun 2020 15:53] – [Description] Nikhin Shetty | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[resources/ | ||
+ | ====== Cross Fade ====== | ||
+ | \\ | ||
+ | {{: | ||
+ | ===== Description ===== | ||
+ | The Cross Fade 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. | ||
+ | \\ | ||
+ | ===== Usage ===== | ||
+ | The output signal is selected by setting a value on the input control pin (top orange pin) to the desired input' | ||
+ | When the control input value changes, a crossfade 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, which is a very slow fade). | ||
+ | \\ | ||
+ | ===== Targets Supported ===== | ||
+ | ^Name^ADSP-214xx(Sample)^ADSP-214xx(Block)^ADSP-215xx/ | ||
+ | |Cross Fade| No | Yes|No| Yes| | ||
+ | \\ | ||
+ | ===== Pins ===== | ||
+ | ==== Input ==== | ||
+ | ^Name^Type^Description^ | ||
+ | |SourceSelect|Control|Controls the transition of data| | ||
+ | |Input0|Audio|Input channel 0| | ||
+ | |Input1|Audio|Input channel 1| | ||
+ | ==== Output ==== | ||
+ | ^Name^Type^Description^ | ||
+ | |Output0|Control|Output channel 0| | ||
+ | \\ | ||
+ | ===== Configurable Parameters ===== | ||
+ | ^GUI Parameter Name^Default Value^Range^Function Description^ | ||
+ | |Step|12|1 to 23|Step size for transition from one input to other input| | ||
+ | |NumChannels|2|20|Number of input and output channels. Change in this value requires re-compilation| | ||
+ | \\ | ||
+ | ===== DSP Parameters ===== | ||
+ | ^Parameter Name^Description^ADSP-214xx/ | ||
+ | |step|scaling of the inputs|Float| | ||
+ | \\ | ||
+ | ===== DSP Parameter Computation ===== | ||
+ | step = 2^(-1/ | ||
+ | \\ |