soft/tune/eq
Seppo Ingalsuo 206deaf457 EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters
This patch changes code to allocate filter poles and zeros to biquads
to allow seeing poor SNR due to strong scaling vs. available fixed point
filter word length. The issue was severe especially with Matlab version
of tf2sos() function. The replacement is straighforward z, p frequency
sort. The scaling of biquads was changed to max -6 dB instead of previous
-3 dB to be more safe against internal signal clipping.

The IIR design was changed entirely to be based on zeros and poles
(z, p, k) in intermediate storate instead of polynomial coefficients.
This improves the accuracy especially of low frequencies high-pass
designs.

The default max. IIR order is increased from 12 to 16.

Finally since the grpdelay() function in octave-signal package calculates
incorrect result the group delay computation and plotting is disabled
for now in Octave. It works in Matlab.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-08-30 13:49:17 +03:00
..
eq_align.m SOFT: Add equalizer tuning scripts and small examples 2018-08-07 19:05:38 +03:00
eq_alsactl_write.m SOFT: Add equalizer tuning scripts and small examples 2018-08-07 19:05:38 +03:00
eq_blob_write.m SOFT: Add equalizer tuning scripts and small examples 2018-08-07 19:05:38 +03:00
eq_coef_quant.m SOFT: Add equalizer tuning scripts and small examples 2018-08-07 19:05:38 +03:00
eq_compute.m EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters 2018-08-30 13:49:17 +03:00
eq_compute_response.m EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters 2018-08-30 13:49:17 +03:00
eq_compute_tot_response.m EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters 2018-08-30 13:49:17 +03:00
eq_defaults.m EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters 2018-08-30 13:49:17 +03:00
eq_define_parametric_eq.m EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters 2018-08-30 13:49:17 +03:00
eq_fir_blob_merge.m SOFT: Add equalizer tuning scripts and small examples 2018-08-07 19:05:38 +03:00
eq_fir_blob_pack.m SOFT: Add equalizer tuning scripts and small examples 2018-08-07 19:05:38 +03:00
eq_fir_blob_quant.m SOFT: Add equalizer tuning scripts and small examples 2018-08-07 19:05:38 +03:00
eq_iir_blob_merge.m SOFT: Add equalizer tuning scripts and small examples 2018-08-07 19:05:38 +03:00
eq_iir_blob_pack.m SOFT: Add equalizer tuning scripts and small examples 2018-08-07 19:05:38 +03:00
eq_iir_blob_quant.m EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters 2018-08-30 13:49:17 +03:00
eq_norm.m EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters 2018-08-30 13:49:17 +03:00
eq_plot.m EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters 2018-08-30 13:49:17 +03:00
example_fir_eq.m EQ: Improve example equalizer design scripts 2018-08-09 17:07:55 +03:00
example_iir_eq.m EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters 2018-08-30 13:49:17 +03:00
example_spk_eq.m EQ Tool: Fix compatibility with Matlab and improve accuracy of IIR filters 2018-08-30 13:49:17 +03:00