Skip to content

Audio: Multiband-DRC: Tune: Updates to setup tool after moving then to modules, blob updates to pass a quality check#9599

Merged
lgirdwood merged 5 commits intothesofproject:mainfrom
singalsu:multiband_drc_tune_updates
Oct 25, 2024
Merged

Audio: Multiband-DRC: Tune: Updates to setup tool after moving then to modules, blob updates to pass a quality check#9599
lgirdwood merged 5 commits intothesofproject:mainfrom
singalsu:multiband_drc_tune_updates

Conversation

@singalsu
Copy link
Collaborator

@singalsu singalsu commented Oct 18, 2024

Fixes the impacts of moving tools for other modules (Crossover, DRC, EQ) and updates the blob, so that multiband-DRC test can be executed in ipc4 testbench with scripts/host-testbench. The ipc3 version test passed only because it was using a pass-through blob. The previous default blob with processing enabled failed to too strong distortion.

The patch also adds to multiband-DRC design example plot of emphasis/de-emphasis response to better understand the impact of emphasis parameters.

This patch fixes paths to moved utilities from DRC, EQ, and
crossover. The paths are changed and common utilities are
prefixed with sof_. The same sof prefix add is done for
Mltiband-DRC.

There are no functional changes and changes to config blob
data contents from this patch.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This change allows to tune all bands parameters from script
top level. It prepares for a better testable default blob
for the component. The actual setup blobs data is not impacted
by this same since the parameters are kept the same.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
The plot is useful to see impact of emphasis/de-emphasis filter
parameters. The patch adds two arguments to function
sof_iir_gen_quant_coefs() for rate and enable to show in the
plot when enabled and with a frequency scale in x-axis.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This change helps the default blob to pass the coarse audio
quality check that is done in scripts/host-testbench.sh.

The knee and limiting region of each band is brought down
from threshold -24 to -40 to avoid signal clipping. It helps
to pass the -1 dBFS chirp in the test. The band edge frequencies
are moved up for test purpose to better see the band edges.

The emphasis of high frequencies is changed with parameter
stage_gain to much less than 1 dB to keep the feature active
in testing performance but not impacting much to processed
audio. The emphasis filter with previous setting caused a
lot of distortion and may need revisit in coefficients
calculation or filter scaling.

These parameters are not final.  The better default parameters
for e.g. a notebook speaker are for further study.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
New blob for testing that passes the scripts/host-testbench.sh
audio quality test.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu singalsu marked this pull request as ready for review October 18, 2024 15:36
@singalsu singalsu changed the title Audio: Multiband-DRC: Tune: Updates to setup too after moving then to modules, blob updates to pass a quality check Audio: Multiband-DRC: Tune: Updates to setup tool after moving then to modules, blob updates to pass a quality check Oct 18, 2024
@lgirdwood lgirdwood merged commit 480549f into thesofproject:main Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants