http://plugin.org.uk/libgdither/
Bugfix release. Added patch for 64bit architecture support, thanks to
Andreas Steinmetz, and a bugfix to the shaped dither that increases its
signal to noise ratio. All projects that use this code should update.
The intention is that applications that require this function should
include hte code, rather than adding it as a depenency.
About libgdither:
Libgdither is a library for applying dithering to PCM audio sources.
Dithering is a process to remove the intermodulation distortion from
signals that are to be been reduced in bitdepth.
This code is (c) Steve Harris 2001-2005 and released under the GNU Public
Licence. Details may be found in the file COPYING.
It can do conversions between any combination of:
in out (optionally interleaved)
-------------------------------------------------------------
normalised mono float 8bit unsigned ints
normalised mono double 16bit signed ints
32bit signed ints
normalised float
normalised double
At any bitdepth supported by the input and output formats