snapclient icon indicating copy to clipboard operation
snapclient copied to clipboard

Added signal clamping in the DSP processor

Open anabolyc opened this issue 3 days ago • 12 comments

Fixes #136

Issue description:

When DSP settings are enabled with high gain values together with a large volume level, audio starts to fill up with cracking sounds.

This seems to be related to integer overflow when applying gain.

Proposed solution:

Simple integer clamping (to prevent overflow) will replace cracks with clipping, which is always a better choice in terms of resulting sound

anabolyc avatar Jan 05 '26 17:01 anabolyc