Dither: Difference between revisions
(Page improved.) |
m (→Is dither really necessary?: removed "threatening" tone of previous edit) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Dither is random noise added to a signal in order to | {{stub}} | ||
'''[[wikipedia:Dither#Digital audio|Dither]]''' is random or semi-random noise added to a signal in order to mask potential artifacts arising from quantization error and/or extend dynamic range. The simplest dither is quiet white noise, but more complicated forms of dither are possible using [[noise shaping]], and they can even be completely inaudible. | |||
==Bit depth reduction== | ==Bit depth reduction== | ||
A common use for dither is to | A common use for dither is to improve the perceived audio quality when converting a digital signal from a higher bit depth to a lower one, e.g. from 24-bit to 16-bit. By dithering the signal with a small amount of added noise, the additional rounding error added from requantization can be decorreated from the signal, resulting in a noise floor that is mathematically slightly higher, but audibly less noticeable. The addition of dither becomes more important as the number of quantization levels decreases, and so is particularly important when converting to 8 bit or lower audio. | ||
==Is dither really necessary?== | |||
<!--adapted from another Andy H-ha post in the same thread--> | |||
Going from 24-bit to 16-bit, the quantization error is very small and the distortion/noise is extremely unlikely to be heard in any real music. Since quantization error isn’t audible in any real music at useable listening levels, whether dither must be used is more a matter of doctrine than functionality. | |||
Many sources (e.g. cassettes and LPs) already have considerable noise such as tape hiss. Even the best live recordings get some noise from the equipment, especially microphone preamplifiers. This might not make the best dither, but it acts in the same way, to largely de-correlate the quantization error from the signal. | |||
Many sources (e.g. cassettes and LPs) already have considerable noise such as tape hiss. Even the best live recordings get some noise from the equipment, especially microphone preamplifiers. This might not make the best dither, but it acts in the same way. | |||
Anyone who believes dither is always necessary for conversions to 16-bit should submit, on the HydrogenAudio forums, samples that can be discriminated in [[TOS 8|scientifically reproducible]] [[Blind test|blind testing]]. | |||
[[Category:Signal Processing]] | |||
[[Category:Technical]] | |||
[[Category:Algorithms]] |
Latest revision as of 21:22, 26 October 2023
This article is a stub. You can help the Hydrogenaudio Knowledgebase by expanding it.
Dither is random or semi-random noise added to a signal in order to mask potential artifacts arising from quantization error and/or extend dynamic range. The simplest dither is quiet white noise, but more complicated forms of dither are possible using noise shaping, and they can even be completely inaudible.
Bit depth reduction
A common use for dither is to improve the perceived audio quality when converting a digital signal from a higher bit depth to a lower one, e.g. from 24-bit to 16-bit. By dithering the signal with a small amount of added noise, the additional rounding error added from requantization can be decorreated from the signal, resulting in a noise floor that is mathematically slightly higher, but audibly less noticeable. The addition of dither becomes more important as the number of quantization levels decreases, and so is particularly important when converting to 8 bit or lower audio.
Is dither really necessary?
Going from 24-bit to 16-bit, the quantization error is very small and the distortion/noise is extremely unlikely to be heard in any real music. Since quantization error isn’t audible in any real music at useable listening levels, whether dither must be used is more a matter of doctrine than functionality.
Many sources (e.g. cassettes and LPs) already have considerable noise such as tape hiss. Even the best live recordings get some noise from the equipment, especially microphone preamplifiers. This might not make the best dither, but it acts in the same way, to largely de-correlate the quantization error from the signal.
Anyone who believes dither is always necessary for conversions to 16-bit should submit, on the HydrogenAudio forums, samples that can be discriminated in scientifically reproducible blind testing.