]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Add note about dither
authorMike Brady <mikebrady@eircom.net>
Fri, 27 Nov 2015 10:38:26 +0000 (10:38 +0000)
committerMike Brady <mikebrady@eircom.net>
Fri, 27 Nov 2015 10:38:26 +0000 (10:38 +0000)
RELEASENOTES.md

index 0b6464b634874a36325031fc0166da542c0e77bc..d26815e26e4bb67376e4029b0587860f8c21bbae 100644 (file)
@@ -1,7 +1,7 @@
 Version 2.7.3 -- Development Version
 ----
 **Bug Fix**
-* The dither algorithm was broken (by me) and also less than ideal anyway. Fixed and improved. More later...
+* The dither code was broken in Shairport Sync and also less than ideal anyway. Fixed and improved. Dither is added whenever you use the software volume control. See http://www.ece.rochester.edu/courses/ECE472/resources/Papers/Lipshitz_1992.pdf for a very influential paper by Lipshitz, Wannamaker and Vanderkooy, 1992. The dither code in Shairport Sync was inherited from Shairport and does not conform to the recommendations in the paper -- specifically the implementation wold give one bit of dither where the paper recommends two bits peak-to-peak. The other thing is that the inherited dither code was actually broken in Shairport Sync. So, the new dither code gives a two bit peak-to-peak dither based on a Triangular Propability Distributing Function (TPDF). It sounds like a very low-level white noise, unmodulated by the audio material. It would be nice if it was even lower, but it's better than listening to the artifacts present when dithering is disabled.
 
 Version 2.7.2 -- Development Version
 ----