[linux-audio-dev] Re: Converting a 24bit sample to 16bit

Juhana Sadeharju kouhia at nic.funet.fi
Mon Jul 17 16:50:43 UTC 2006

>From: James Courtier-Dutton <James at superbug.co.uk>
>Is there a standard way of converting a 24bit sample to 16bit?

How your 24bit audio was made? If your audio card gives out
24-bit, then you may loose bits because there are no true 24-bit

At top you could use a smooth hard-limiter (which processes each
sample separately). It takes out random high peaks and makes the
audio more analogue.

At bottom the dither noise may not be necessary if the audio source's
noise floor is high enough. All dither tests seems to test against
the mathematical sine wave which you don't get if you do acoustic
music. Noiseshaping dither is suspectible as well because one
may then wonder where the high frequency noise introduced by the
dither goes to. No amplifier near me have a dither noise remover.

  for developers of open source graphics software

More information about the Linux-audio-dev mailing list