This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
resources:tools-software:sigmastudiov2:modules:advanceddsp:adaptivemixer [18 Mar 2021 15:39] – created John Joseph | resources:tools-software:sigmastudiov2:modules:advanceddsp:adaptivemixer [12 May 2021 13:22] (current) – John Joseph | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[resources/ | + | [[resources/ |
- | =====Adaptive Mixer Dual Graph===== | + | ======Adaptive Mixer Dual Graph====== |
+ | |||
+ | {{: | ||
+ | \\ | ||
+ | ===== Description ===== | ||
+ | The Adaptive Mixer Dual (graph) is an advanced method of mixing two signals based on a third control signal. | ||
+ | \\ | ||
+ | \\ | ||
+ | ===== Usage ===== | ||
+ | The orange pin here indicates that the input control signal will be converted to a RMS average value, eliminating the need to use the RMS table for this application. The RMS table value is used to determine the scale factors for the signals to be mixed. Users can select and change the curves for both signals to be mixed.| | ||
+ | \\ | ||
+ | {{: | ||
+ | \\ | ||
+ | ===== Targets Supported ===== | ||
+ | ^ Name ^ ADSP-214xx ^ ADSP-215xx/ | ||
+ | | ------------------------------------------ | -------------------- | -------------------------------- | ---------------------------- | | ||
+ | | Adaptive Mixer Dual Graph | NA | NA | S | | ||
+ | \\ | ||
+ | ===== Pins ===== | ||
+ | ==== Input ==== | ||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | ---------------------- | -------------- | ---------------------- | | ||
+ | |Input0 | Audio |Audio input | | ||
+ | |Input1 | Audio |Audio input | | ||
+ | |Selector | Control |Calculates the RMS average for this input signal | | ||
+ | ==== Output ==== | ||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | ---------------------- | -------------- | ---------------------- | | ||
+ | |Output0 | Audio |Compressed mono audio output | | ||
+ | \\ | ||
+ | ===== Configurable Parameters ===== | ||
+ | ^ GUI Parameter | ||
+ | | ---------------------------------------- | ---------------------- | ------------------ | ---------------------------------------- | | ||
+ | | TimeConstant | ||
+ | | Step | 8 | 1 to 23 | Controls the slew ram rate in terms of how quickly the algorithm ramps to the next value | | ||
+ | | Smooth | ||
+ | | Show Graph | | | This button allows you to bring up the mix ratio window. You can change the curve by moving, adding, or removing graph points. The RMS table value gives you the x-value on this graph and the corresponding y-values will be the scale factors for the output levels of the mix between the 1st and 2nd pins | | ||
+ | | TableMixer1 | ||
+ | | TableMixer2 | ||
+ | \\ | ||
+ | ===== DSP Parameters ===== | ||
+ | ^ Parameter Name ^ Description ^ ADAU145x/ | ||
+ | | ---------------------------------------- | -------------------------------------------------------------------------------- | ---------------------------- | | ||
+ | | tc | Time constant | FixPoint8d24 | | ||
+ | | step | step size | FixPoint8d24 | | ||
+ | | points_ONE | First graph | FixPoint8d24 | | ||
+ | | points_TWO | Second graph | FixPoint8d24 | | ||
+ | ===== DSP Parameter Computation ===== | ||
+ | step = 2 ^ (-1 / Step) | ||
+ | tc = (10 ^ (TimeConstant / (10 * FS))) - 1 |