Tools: Tune DRC: Export DRC for DMIC capture and cleanup filenames

A DRC blob for capture dmic_default is created. It boosts the capture
by 10 dB when the signal level is low.

The name of speaker blob is changed to speaker_default. The name with
endpoint name first helps to organize them e.g. in UCMv2 blobs data
directories.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2024-05-21 17:41:50 +03:00 committed by Liam Girdwood
parent bf149274ad
commit 1ff7c36363
1 changed files with 12 additions and 4 deletions

View File

@ -31,13 +31,21 @@ drc_coefs_and_config_export(params, 'passthrough');
params.enabled = 1;
drc_coefs_and_config_export(params, 'enabled');
% Export experimental configuration for a small speaker
% Export example configuration for a small speaker
params.enabled = 1;
params.threshold = -25;
params.knee = 15;
params.threshold = -30;
params.knee = 20;
params.ratio = 10;
params.post_gain = 3;
drc_coefs_and_config_export(params, 'generic_notebook_speaker');
drc_coefs_and_config_export(params, 'speaker_default');
% Export example configuration for DMIC capture
params.enabled = 1;
params.threshold = -35;
params.knee = 25;
params.ratio = 10;
params.post_gain = 0;
drc_coefs_and_config_export(params, 'dmic_default');
rmpath ../common