Skip to content

Commit

Permalink
Tools: Tune DRC: Export DRC for DMIC capture and cleanup filenames
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
singalsu authored and lgirdwood committed May 22, 2024
1 parent bf14927 commit 1ff7c36
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tools/tune/drc/example_drc.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,21 @@ function example_drc()
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

Expand Down

0 comments on commit 1ff7c36

Please sign in to comment.