Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools: Topology2: Intel: Add enhanced speaker and DMIC processing to SDW PCs #9652

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

singalsu
Copy link
Collaborator

@singalsu singalsu commented Nov 13, 2024

No description provided.

The control names for volume in host and ALH DAI pipelines
are aligned with other topologies with Pre Mixer and Post Mixer
prefixes. The name Amplifier is changed to more descriptive
"Speaker Playback". The names become after change:

- "Pre Mixer Speaker Playback Volume"
- "Post Mixer Speaker Playback Volume"

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch adds to ALH pipeline between gain and ALH processing
with IIR, FIR, and DRC.

The change is intended for topologies for PCs running Linux OS.
Topologies with enable enhanced playback are currently:

- sof-mtl-rt713-l0-rt1316-l12.tplg
- sof-lnl-rt722-l0.tplg

The change adds in MTL platform 4.2 MCPS load to speaker playback
in pass-through mode. With highpass IIR and default speaker DRC
the load increase is 45 MCPS. Other topologies than above have
no MCPS increase.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch adds to all topologies with SDW DMIC the module
copier to in ALH copier pipeline after the IIR equalizer. The
module copier allows to duplicate the stream for several
post-processing pipelines as analogy with mixin/mixout in
playback pipelines.

When SDW_DMIC_ENHANCED_CAPTURE is set "true" in topology build
the multi-microphone beamformer (TDFB) and dynamic range
control (DRC) components are added to host pipeline.

The capture pre-processing is enabled for PC topology
sof-lnl-rt722-l0.tplg. The beamformer is set for a narrow
opening stereo image suitable for notebook user voice
enhance. The DRC is set for a default DMIC level boost.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu singalsu force-pushed the tplg_sdw_add_enhanced_speaker_mic branch from 04b0c72 to 86e992c Compare November 14, 2024 16:04
@singalsu singalsu changed the title [wip]Tools: Topology2: Add enhanced speaker processing to SDW PCs Tools: Topology2: Intel: Add enhanced speaker and DMIC processing to SDW PCs Nov 14, 2024
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - are there before and after audio signal response measurements ?

@singalsu
Copy link
Collaborator Author

Here's pictures of topologies. The added components are marked:

sof-mtl-rt713-l0-rt1316-l12
sof-lnl-rt722-l0

@singalsu
Copy link
Collaborator Author

singalsu commented Nov 14, 2024

LGTM - are there before and after audio signal response measurements ?

I have the upper type of device that is without microphone, so I can't demonstrate the capture enhance. But I can make some recording demo of playback with DRC on/off. If I'm able to measure the speaker response I can also demo the EQ on/off. The current 100 Hz high-pass filter is not audible though it helps to reduce speaker distortion when playing loud.

@@ -0,0 +1,199 @@
#
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@singalsu lets update this to use the subtreecopy construct like we discussed

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.

3 participants