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

From: Juhana Sadeharju <kouhia@email-addr-hidden>
Date: Mon Jul 17 2006 - 19:50:43 EEST

>From: James Courtier-Dutton <James@email-addr-hidden>
>
>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
converters.

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.

Juhana

-- 
  http://music.columbia.edu/mailman/listinfo/linux-graphics-dev
  for developers of open source graphics software
Received on Mon Jul 17 20:15:05 2006

This archive was generated by hypermail 2.1.8 : Mon Jul 17 2006 - 20:15:06 EEST