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: Add pre-processing to ACE 1/2/3.x PCM DMIC topologies #9690

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

singalsu
Copy link
Collaborator

No description provided.

The topologies for PCs those have PCH DMIC enabled have too silent
noteboook lid microphones capture level. It can be improved with
enable of DRC and beamformer TDFB components in topologies build.
Since the same pipelines are not used for other microphone
endpoints, it is safe to apply fixed processing configuration.

The topologies with -2ch are set with DRC profile "dmic_default"
and with TDFB profile "line2_generic_pm10deg". It provides about
+10 dB boost to sound level and a user facing microphone stereo
beam that improves signal-to-noise ratio. The user space controls
are disabled by default, so the user needs to set the features
on with alsamixer or amixer conmmands.

The 4ch topologies are set with passthrough blob for beamformer.
With a lot of variation in array form factors there is no generic
setting available. The DRC setting is the same for 4ch and
provides +10 dB boost.

The impacted topologies are:

- sof-mtl-rt711-4ch
- sof-mtl-rt711-l0-rt1316-l3-4ch
- sof-mtl-rt711-l0-rt1316-l3-2ch
- sof-mtl-rt712-l0-4ch
- sof-mtl-rt712-l0-2ch

Signed-off-by: Seppo Ingalsuo <[email protected]>
The topologies for PCs those have PCH DMIC enabled have too silent
noteboook lid microphones capture level. It can be improved with
enable of DRC and beamformer TDFB components in topologies build.
Since the same pipelines are not used for other microphone
endpoints, it is safe to apply fixed processing configuration.

The topologies with -2ch are set with DRC profile "dmic_default"
and with TDFB profile "line2_generic_pm10deg". It provides about
+10 dB boost to sound level and a user facing microphone stereo
beam that improves signal-to-noise ratio. The user space controls
are disabled by default, so the user needs to set the features
on with alsamixer or amixer conmmands.

The 4ch topologies are set with passthrough blob for beamformer.
With a lot of variation in array form factors there is no generic
setting available. The DRC setting is the same for 4ch and
provides +10 dB boost.

The impacted topologies are:

- sof-lnl-rt711-4ch
- sof-lnl-rt713-l0-rt1318-l1-2ch
- sof-lnl-cs42l43-l0-4ch
- sof-lnl-cs42l43-l0-cs35l56-l3-2ch

Signed-off-by: Seppo Ingalsuo <[email protected]>
The topologies for PCs those have PCH DMIC enabled have too silent
noteboook lid microphones capture level. It can be improved with
enable of DRC and beamformer TDFB components in topologies build.
Since the same pipelines are not used for other microphone
endpoints, it is safe to apply fixed processing configuration.

The topologies with -2ch are set with DRC profile "dmic_default"
and with TDFB profile "line2_generic_pm10deg". It provides about
+10 dB boost to sound level and a user facing microphone stereo
beam that improves signal-to-noise ratio. The user space controls
are disabled by default, so the user needs to set the features
on with alsamixer or amixer conmmands.

The 4ch topologies are set with passthrough blob for beamformer.
With a lot of variation in array form factors there is no generic
setting available. The DRC setting is the same for 4ch and
provides +10 dB boost.

The impacted topologies are:

- sof-ptl-rt722-4ch

Signed-off-by: Seppo Ingalsuo <[email protected]>
@singalsu
Copy link
Collaborator Author

This should fix issue #9681

@singalsu
Copy link
Collaborator Author

The change adds the beamformer (TDFB) and dynamic range control (DRC) to PCH DMIC capture host pipeline:

sof-lnl-rt713-l0-rt1318-l1-2ch

@lgirdwood lgirdwood added this to the v2.12 milestone Nov 28, 2024
@singalsu
Copy link
Collaborator Author

SOFCI TEST

The existing default is high-pass 40 Hz with 0 dB gain. This
change amplifies captured sound from DMIC by 20 dB. The same
amplifying IIR type is used in hda-generic.

The change is for now, but not the final solution. After we have
UCM2 control for capture processing in SOF we can shift applying
more gain to the DRC component that will provide more robustness
with silent and loud environments.

Signed-off-by: Seppo Ingalsuo <[email protected]>
@singalsu
Copy link
Collaborator Author

Added 3rd commit, the comment and the new example recording from #9681 indicates that more amplification is needed.

@singalsu singalsu marked this pull request as ready for review November 29, 2024 13:58
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