I have converted a 24/96 file.
One option omitting "dither".
The other option using "dither" at the end of the command line.
My question is... if using the "dither" option, the man page says that it will use a default filter TPDF. According to bandpass, SoX will automatically do it, if you omit dither option. How come the two files are not bit-identical then.
Without dither option:
sox -S stay.wav -b 16 -r 44.1k stay-reduced.wav
Input File : 'stay.wav'
Channels : 2
Sample Rate : 96000
Precision : 24-bit
Duration : 00:43:39.98 = 251518062 samples ~ 196498 CDDA sectors
File Size : 1.51G
Bit Rate : 4.61M
Sample Encoding: 24-bit Signed Integer PCM
In:100% 00:43:39.98 [00:00:00.00] Out:116M [ | ] Hd:5.5 Clip:0
Done.
With dither option:
sox -S stay.wav -b 16 -r 44.1k stay-reduced-dither.wav dither
Input File : 'stay.wav'
Channels : 2
Sample Rate : 96000
Precision : 24-bit
Duration : 00:43:39.98 = 251518062 samples ~ 196498 CDDA sectors
File Size : 1.51G
Bit Rate : 4.61M
Sample Encoding: 24-bit Signed Integer PCM
In:100% 00:43:39.98 [00:00:00.00] Out:116M [ | ] Hd:5.5 Clip:0
Done.
The two files are not bit-identical:
[krafty@linuxstation Process]$ cmp -b stay-reduced.wav stay-reduced-dither.wav
stay-reduced.wav stay-reduced-dither.wav differ: byte 55, line 1 is 101 A 100 @
[krafty@linuxstation Process]$
foobar2000 bit-compare tool:
Differences found in 1 out of 1 track pairs.
Comparing:
"H:\dld\Stay On These Roads\Process\stay-reduced-dither.wav"
"H:\dld\Stay On These Roads\Process\stay-reduced.wav"
Differences found: 103994569 sample(s), starting at 0.0000454 second(s), peak: 0.0000610 at 0.0005442 second(s), 2ch