mirror of https://github.com/thesofproject/sof.git
e0a9afe6a7
This patch replaces in topology sof-hda-generic.m4 the use of macro pipe-volume-capture.m4 usage with a new macro pipe-highpass-capture.m4. The used 40 Hz cut-off is sufficient to suppress the DC pulse in the beginning of capture from headset with minimal impact to other applications such as recording music. The capture volume ramp length is changed from 250 ms to 400 ms. The longer ramp is feasible because the microphone path seems to open at 500 ms from capture. It helps to attenuate the remaining noises in the beginning of capture. The patch also adds additional high-pass responses macros for topology with different 20-50 Hz cut-off frequencies into SOF/tools/topology/m4. The changes for Matlab/Octave script example_iir_eq.m that generated the filter coefficients are included here as well. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com> |
||
---|---|---|
.. | ||
asrc.m4 | ||
buffer.m4 | ||
bytecontrol.m4 | ||
ch_sel.m4 | ||
dai.m4 | ||
debug.m4 | ||
demux_coef_default.m4 | ||
detect.m4 | ||
detect_test_coef.m4 | ||
eq_fir.m4 | ||
eq_fir_coef_flat.m4 | ||
eq_iir.m4 | ||
eq_iir_coef_flat.m4 | ||
eq_iir_coef_highpass_20hz_0db_16khz.m4 | ||
eq_iir_coef_highpass_20hz_0db_48khz.m4 | ||
eq_iir_coef_highpass_20hz_20db_16khz.m4 | ||
eq_iir_coef_highpass_20hz_20db_48khz.m4 | ||
eq_iir_coef_highpass_30hz_0db_16khz.m4 | ||
eq_iir_coef_highpass_30hz_0db_48khz.m4 | ||
eq_iir_coef_highpass_30hz_20db_16khz.m4 | ||
eq_iir_coef_highpass_30hz_20db_48khz.m4 | ||
eq_iir_coef_highpass_40hz_0db_16khz.m4 | ||
eq_iir_coef_highpass_40hz_0db_48khz.m4 | ||
eq_iir_coef_highpass_40hz_20db_16khz.m4 | ||
eq_iir_coef_highpass_40hz_20db_48khz.m4 | ||
eq_iir_coef_highpass_50hz_0db_16khz.m4 | ||
eq_iir_coef_highpass_50hz_0db_48khz.m4 | ||
eq_iir_coef_highpass_50hz_20db_16khz.m4 | ||
eq_iir_coef_highpass_50hz_20db_48khz.m4 | ||
kpbm.m4 | ||
mixer.m4 | ||
mixercontrol.m4 | ||
muxdemux.m4 | ||
pcm.m4 | ||
pga.m4 | ||
pipeline.m4 | ||
src.m4 | ||
tone.m4 | ||
utils.m4 |