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

Volume: Mitigate zipper noise by adjusting gain ramp parameters #148

Merged
merged 1 commit into from Jul 25, 2018

Conversation

singalsu
Copy link
Collaborator

Fixes: #103 "volume: zipper noise with fast changes".

The volume ramp length is increased from 64 ms to 250 ms. The vol_work
rate to update gain value is increased from every 2 ms to 1 ms. The
volume ramp macros are redefined to enter directly the desired ramp
length in milliseconds to ease the tuning.

Also the volume gain Qxy notation (currently Q2.16) is defined with macros
to avoid magic numbers in code in ramp computation.

Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@linux.intel.com

Fixes: thesofproject#103 "volume: zipper noise with fast changes".

The volume ramp length is increased from 64 ms to 250 ms. The vol_work
rate to update gain value is increased from every 2 ms to 1 ms. The
volume ramp macros are redefined to enter directly the desired ramp
length in milliseconds to ease the tuning.

Also the volume gain Qxy notation (currently Q2.16) is defined with macros
to avoid magic numbers in code in ramp computation.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu singalsu requested a review from tlauda July 25, 2018 11:44
@lgirdwood lgirdwood merged commit e92d096 into thesofproject:master Jul 25, 2018
@singalsu singalsu deleted the volume_zipper_fix_proposal branch April 29, 2019 08:44
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.

None yet

2 participants