This is an old revision of the document!
Click here to return to the Filters page
The General (2nd-Order / Index Selectable) block provides a wide variety of 2nd-order filter algorithms. This block extends the functionality of the General (2nd-Order / Lookup) filter with an enhanced graphical filter design tool. In addition, each of this filter's response curves can be designed independently, allowing you to use complex filter configurations to match your desired system response.
To open the graphical window, click on the icon button. This filter provides:
Selection from a set of filter responses via external control input pin.
Graphical design of filter response curves.
Independent filter type and settings for each response curve.
Loading of filter coefficients from a text file containing the same.
Name | ADSP-214xx | ADSP-215xx/SC5xx | ADAU145x/146x |
---|---|---|---|
—————————————— | ——————-- | ——————————-- | —————————- |
2nd Order Index Selectable | B/S | B/S | S |
Name | Type | Description |
---|---|---|
—————————— | —————————— | ———————————————— |
ControlInput | Control | Index of the selected frequency response curve |
Input0 | Audio | Input to the filter |
Name | Type | Description |
---|---|---|
—————————— | —————————— | ———————————————— |
Output0 | Audio | The filtered output |
GUI Parameter Name | Default Value | Range | Function Description |
---|---|---|---|
————————————— | ————————— | ——————————————— | ———————————————————- |
NumFilters | 0 | 0 to 99 | Selects a filter response curve by filter number selected |
SlewPoints | 12 | 0 to 100 | The “Slew Points” control sets how many transition points the algorithm uses to transition from one selected filter curve to another, increasing the number of points will provide smoother transitions. |
FilterType_Filter0 | 0 | 0 to 13 | Select the type of filter |
SubType1_Filter0 | 0 | 0 to 3 | The “Sub Type” section is only available for the First Order filter type. In first order mode, you have the flexibility of choosing between two cascaded first order filters in a configuration of Low - Low, Low - High, High - Low, or High - High combinations. The “Active 1” and “Active 2” check boxes also apply to First Order filters only, and allow you to independently enable or disable either of the two first order filters. |
Boost_Filter0 | 10 dB | -150 to +30 dB | Set the boost value for a particular filter curve |
Frequency1_Filter0 | 100 Hz | 0 to 96000Hz | Cut-off frequency |
Frequency2_Filter0 | 1000 Hz | 0 to 96KHz | Cut-off frequency |
Gain1_Filter0 | 6 dB | -96 to +10 dB | Filter Gain |
Gain2_Filter | 0 dB | -96 to +10 dB | Filter Gain |
QFactor_Filter0 | 1.41 | 0.05 to 15 | Q factor of the filter |
Ripple_Filter0 | 0.1 | 0.1 to 5 | Set the Ripple factor for particular filter type(this control is not enabled for all filter types) |
Slope | 1 | 0 to 2 | Slope controls filter steepness and therefore the transition between the boost/cut and the flat response. |
FilterType | Parametric filter | Available filter Types | Controls the type of the filter |
EnabledOrBypassed | True | True/False | Enabled/Disabled the algorithm |
Phase | False | True/False | Controls the phase of coefficients in 0 degree or 180 degree phase |
LockFrequency | False | True/False | Enabled/Disabled locks the frequency control |
NumStages | 1 | 1 to 20 | Number of stages of filter. Change in this value requires re-compilation |
NumChannels | 1 | 1 to 20 | Number of input and output channels. Change in this value requires re-compilation |
Parameter Name | Description | ADSP-214xx/SC5xx/215xx | ADAU145x/146x |
---|---|---|---|
———————————— | ——————————————————————————- | —————————————- | —————————- |
GainArray | Filter Coefficient Array consisting of all filter coefficients | Float | FixPoint8d24 |
slew_mode | Slew value for the filter | NA | Integer32 |