sox package, Slackware 13.1, fails on sox 1.wav -e stat
I think there is a problem with the sox package that comes with Slackware 13.1.
I would appreciate any advice. I'm using the same file, 1.wav, in both cases. The output of file 1.wav is
1.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
On 12.1, I can run
sox 1.wav -e stat 2> /tmp/stat.txt
bash-3.1$ cat /tmp/stat.txt
Samples read: 37096920
Length (seconds): 420.600000
Scaled by: 2147483647.0
Maximum amplitude: 0.977203
Minimum amplitude: -0.922394
Midline amplitude: 0.027405
Mean norm: 0.038253
Mean amplitude: -0.000031
RMS amplitude: 0.070757
Maximum delta: 1.246124
Minimum delta: 0.000000
Mean delta: 0.051312
RMS delta: 0.095067
Rough frequency: 9430
Volume adjustment: 1.023
However, on 13.1,
sox 1.wav -e stat 2> /tmp/stat.txt
bash-4.1$ cat /tmp/stat.txt
sox FAIL sox: --encoding: `stat' is not one of: signed-integer, unsigned-integer
, floating-point, ms-adpcm, ima-adpcm, oki-adpcm, gsm-full-rate, u-law, mu-law,
a-law.
On 12.1,
2.6.27.7-smp
sox-12.18.1-i486-1
On 13.1,
2.6.33.4-smp
sox-14.3.0-i486-3
Last edited by burbabro; 05-03-2011 at 11:28 PM.
Reason: forgot to add important fact
|