soundcheck wrote: > Hi there. > > Below some basic examples - by using squeezelite piped into sox - for > those who are interested to test the effects of dithering: > > No dithering > > Code: -------------------- > > > squeezelite -n sl1 -b 10000:200000 -c flac -a 32 -o - | sox -q -D -t raw -c 2 -r 44100 -b 32 -e signed - -t alsa -b 32 hw:0,0 > -------------------- > > > > TPDF dithering > > Code: -------------------- > > > squeezelite -n sl1 -b 10000:200000 -c flac -a 32 -o - | sox -q -t raw -c 2 -r 44100 -b 32 -e signed - -t alsa -b 32 hw:0,0 dither > -------------------- > > > > Slightly sloped dithering > > Code: -------------------- > > > squeezelite -n sl1 -b 10000:200000 -c flac -a 32 -o - | sox -q -t raw -c 2 -r 44100 -b 32 -e signed - -t alsa -b 32 hw:0,0 dither -S > -------------------- > > > > My conclusion: I think it's worth to have a closer look at it.
About dithering and sox: That way you are imposing SOX to output 32 bit, dithering is applied to the last (32th) bit. SOX version starting from 14.04.02 could dither at a different deep, the one coming with LMS can't. Sox provvides you by a small set of noise shaping algorithm that produces some difference in sound, worth to try, at 44100 Hz, my preferred is improved E-weighted filter. Too bad, most of noise shaping algorithm provvided by SOX are limited to 48 KHz sample rate, some 44.100 Hz. For sample rates greather than 48Khz, SOX will always use Sloped TDPF, no matter what you choose. Using libsoxr you could build and apply your own filters and this is one (maybe the only) feature that make libsoxr preferable over SOX to me. ____________________________________________________________ SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. ------------------------------------------------------------------------ marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
