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

[stable-v2.11] Tools: Topology2: SDW: Use for PCH DMIC IIR type with +20 dB gain #9698

Conversation

singalsu
Copy link
Collaborator

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.

@singalsu singalsu marked this pull request as ready for review December 2, 2024 10:22
@singalsu singalsu requested review from kv2019i and lgirdwood December 2, 2024 10:22
@@ -79,6 +79,7 @@ Define {
SDW_JACK_CAPTURE_CH 2
Copy link
Collaborator

Choose a reason for hiding this comment

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

@singalsu Can you add the cherry-picked line to commit ('git cherry-pick -x' does this automatically)? Something like "(cherry picked from commit 3da8e64)". See "git log origin/stable-v2.10" for examples.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's not yet merged to git main from #9690 . Should I make a separate PR for this?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@singalsu #9690 now merged, can you update this one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Now done. I did it with git cherry-pick -x 9fd7ef7327e8bd8b299c1295c05610f8b2764180 , and fixed the conflict with other defines lines added into main.

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]>
(cherry picked from commit 9fd7ef7)
@singalsu singalsu force-pushed the stable_211_sdw_dmic_use_iir_capture_gain branch from 21f7ef2 to 280caa7 Compare December 3, 2024 11:43
@kv2019i kv2019i merged commit c611f32 into thesofproject:stable-v2.11 Dec 3, 2024
41 of 47 checks passed
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