Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 5.1 KB

ditherProfiles.md

File metadata and controls

56 lines (43 loc) · 5.1 KB

Dithering Profiles used in ReSampler

  • Generally, the noise shaping becomes more intense (has higher amplitude) as the Dither Profile ID increases, with the ID of 0 corresponding to flat (no noise shaping; which is also equivalent to using the --flat-tpdf switch).

  • As the dither profile ID increases, the noise shapes are designed to have progressively less perceived noise (despite actually having more noise added to the output).

  • The noise source for all dither profiles is TPDF noise (Triangular Probability Density Function).

  • Most of these noise-shaping curves are designed for 44.1kHz playback. Curves for other samplerates may be provided in future versions.

  • Although the noise-shaping curves are primarily designed for 44.1kHz, you can use any dither profile with any sampling rate, with the result being that the curve will be 'stretched' to scale with the sampling rate, which means that the notches and bumps may no longer be in their optimal positions. Nevertheless, for very high sample rates (88.2kHz+), ID 1 or ID 2 work well in practice

Final Note: At normal listening levels, the effects of dithering are quite noticeable with 8-bit audio, very subtle with 16-bit, and most likely completely insignificant for 24-bit

ID Name Description Comments
0flat tpdfno noise shapingno error correction feedback
1classicsubtle noise shaping (HF emphasis)original noise shaping from older versions of ReSampler
2flat tpdf (with error-correction feedback)"violet" TPDF noiseerror correction feedback loop results in low frequency attenuation, and high frequency emphasis, with first-order (6dB/oct) magnitude response
3Modified E-Weightednotch in 3-4kHz range (which our ears are sensitive to)from the paper "Minimally Audible Noise Shaping"
4Wannamaker 3-tapsimple f-weighted curve, with notch around 4kHzfrom the paper "Psychoacoustically Optimal Noise Shaping"
5Lipshitze-weighted curve with notches around 4k and 12kfrom the paper "Minimally Audible Noise Shaping"
6standardSmooth curve with notches at 3150 and 11250Hz, and HF emphasisdefault noise shape. Very smooth curve - no sharp notches or bumps. Good balance between noise audibility and noise amplitude (Works well for most material)
7Wannamaker 24-tapnotches around 3.5kHz and 12kHzfrom the paper "Psychoacoustically Optimal Noise Shaping"
8Wannamaker 9-tapnotches around 3.5kHz and 12kHzfrom the paper "Psychoacoustically Optimal Noise Shaping". (This is the "f-weighted" noise-shaping curve from SoX)
9High28notches at 3150Hz and 11.25kHz with 28dB high shelf
10Improved E-Weightedwidely used in many DAWs and audio softwarefrom the paper "Minimally Audible Noise Shaping"
11High30notches at 3150Hz and 11.25kHz with 30dB high shelfsounds great to older listeners, but high-frequencies may annoy younger listeners. Nevertheless, at the intended playback volume, the high-frequency components will still be very quiet relative to the program material
12High32notches at 3150Hz and 11.25kHz with 32dB high shelfsounds great to older listeners, but high-frequencies may annoy younger listeners. Nevertheless, at the intended playback volume, the high-frequency components will still be very quiet relative to the program material
13Blue Noise3dB/octave increase in amplitude vs frequencyin-between white(flat) noise and violet noise
14Flat RPDFRandom dither with rectangular probability density function (RPDF)No Noise shaping. No Feedback
15Flat RPDF (with error-correction feedback)Random dither with rectangular probability density function (RPDF)With error-correction feedback

Frequency Response Plots

Frequency Response Plots

A list of dither profiles can be obtained by using the --showDitherProfiles option.

References

[1] Lipshitz, Stanley P. and Vanderkooy, John and Wannamaker, Robert A. “Minimally Audible Noise Shaping" J. Audio Eng. Soc., vol. 39(11), pp. 836-852 (1991.).

[2] Wannamaker, Robert A. "Psychoacoustically Optimal Noise Shaping" J. Audio Eng. Soc., vol. 40(7/8), pp. 611-620 (1992.).