Converting WAV files with Sox

Source file:

soxi short-borrowed-old.wav
Input File     : 'short-borrowed-old.wav' (flac)
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:00:00.60 = 26460 samples = 45 CDDA sectors
File Size      : 54.0k
Bit Rate       : 720k
Sample Encoding: 16-bit FLAC
Comment        : 'Comment=Processed by SoX'

The command:

sox short-borrowed-old.wav -e signed-integer short-borrowed.wav

Result:

Input File     : 'short-borrowed.wav'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:00:00.60 = 26460 samples = 45 CDDA sectors
File Size      : 106k
Bit Rate       : 1.41M
Sample Encoding: 16-bit Signed Integer PCM

Source file:

Input File     : 'short-not-avilable-old.wav'
Channels       : 2
Sample Rate    : 44100
Precision      : 25-bit
Duration       : 00:00:00.65 = 28547 samples = 48.5493 CDDA sectors
File Size      : 229k
Bit Rate       : 2.82M
Sample Encoding: 32-bit Floating Point PCM

The command:

sox --ignore-length short-not-avilable-old.wav -e signed-integer -b 16 short-not-avilable.wav

Result:

Input File     : 'short-not-avilable.wav'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:00:00.65 = 28559 samples = 48.5697 CDDA sectors
File Size      : 114k
Bit Rate       : 1.41M
Sample Encoding: 16-bit Signed Integer PCM

Leave a Reply

Your email address will not be published.