Hard Clip DSP

Component for foobar2000 v1.5 and newer.

foobar2000 v1.4 version available here.

foobar2000 v1.1 version available here.

Version:1.0.3
Released:2023-03-16 12:06
Size:32.8 KB
License:Modified ISC license

Download

foo_dsp_hardclip

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.

Changes

1.0.3 (2023-03-16):Recompile with latest SDK and foobar2000 v1.5 compatibility.
1.0.2 (2022-02-05):Recompile for x64
1.0.1 (2018-01-06):Changed the dll name to include _dsp_. Dynamic C runtime version for foobar2000 v1.4
1.0 (2011-06-05):Initial version