Reducing sample bit-depth by truncating
问题 I have to reduce the bit-depth of a digital audio signal from 24 to 16 bit. Taking only the 16 most significant bits (i.e. truncating) of each sample is equivalent to doing a proportional calculation (out = in * 0xFFFF / 0xFFFFFF)? 回答1: I assume you mean (in * 0xFFFF) / 0xFFFFFF , in which case, yes. 回答2: You'll get better sounding results by adding a carefully crafted noise signal to the original signal, just below the truncating threshold, before truncating (a.k.a. dithering). 回答3: x *