foobar2000:Components/Hard Clip DSP (foo_dsp_hardclip)

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
Hard Clip DSP

foo_dsp_hardclip
Developer(s) Case
Repository
Release information
Initial release June 5, 2011
Stable release 1.0.2 (August 28, 2022)
Preview release
foobar2000 compatibility
Architecture {{{foobar2000_architecture}}}
Minimum version 1.1
Maximum version
UI module(s) N/A
Additional information
Use DSP
License Modified ISC license
Discussion thread {{{discussion_thread}}}
View all components

Description

Clips peaks that would exceed digital fullscale when converted to integer PCM format.

The default DirectSound output method in foobar2000 sends samples in floating point format to the mixer on Vista and newer Windows versions. This provides highest performance and quality, but can have some side effects.

If the audio is too loud the mixer won't clip the signal but lowers its amplitude instead. This can cause noticeable volume reduction or even make the volume pump between loud and quiet.

Clipping the signal will prevent both issues and will provide output that matches most other players.

External links