|
From: Chris B. <ch...@cn...> - 2008-03-12 00:37:42
|
Hi John, Thats for the report... Do you know if its *all* wav files your having problems with or a limited set? Can you email me one directly so that I can try it out? I suspect that the issue is if older version of glibc on your system but newer kernels... Specifically, some slackware systems are doing similar kernel upgrades which they've also reported breaks fseeko() and shos up in WAV handler like your seeing. Internal sox WAV handler uses fseeko() whereas sndfile does not. If your up for doing some debugging, or at least just some custom sox compiles, I may be able to come up with a fix to configure script to detect broken fseeko()'s. Chris John McGowan wrote: > RE: play with wav files > > (sox 14.0.1 compiled with gcc (GCC) 3.3.3 > on an updated, piece by piece, Fedora Core 2, > with kernel 2.6.24 with intel audio on the motherboard) > > > play -V4 /work/EASTER/CDs/MAC2.wav > ---------------------------------- > OUTPUT: > > play: SoX v14.0.1 > play auto: Detected file format type: wav > play wav: WAV Chunk fmt > play wav: WAV Chunk RIFF > play wav: WAV Chunk > play soxio: Can't open input file /work/EASTER/CDs/MAC2.wav': Could not find data chunk. > > > play -V4 -t sndfile /work/EASTER/CDs/MAC2.wav > --------------------------------------------- > OUTPUT: > > play: SoX v14.0.1 > play sndfile: /work/EASTER/CDs/MAC2.wav': File : /work/EASTER/CDs/MAC2.wav > play sndfile: /work/EASTER/CDs/MAC2.wav': Length : 21283292 > play sndfile: /work/EASTER/CDs/MAC2.wav': RIFF : 21283284 > play sndfile: /work/EASTER/CDs/MAC2.wav': WAVE > play sndfile: /work/EASTER/CDs/MAC2.wav': fmt : 16 > play sndfile: /work/EASTER/CDs/MAC2.wav': Format : 0x1 => WAVE_FORMAT_PCM > play sndfile: /work/EASTER/CDs/MAC2.wav': Channels : 2 > play sndfile: /work/EASTER/CDs/MAC2.wav': Sample Rate : 44100 > play sndfile: /work/EASTER/CDs/MAC2.wav': Block Align : 4 > play sndfile: /work/EASTER/CDs/MAC2.wav': Bit Width : 16 > play sndfile: /work/EASTER/CDs/MAC2.wav': Bytes/sec : 176400 > play sndfile: /work/EASTER/CDs/MAC2.wav': data : 21283248 > play sndfile: /work/EASTER/CDs/MAC2.wav': End > > Input File : '/work/EASTER/CDs/MAC2.wav' > Sample Size : 16-bit (2 bytes) > Sample Encoding: signed (2's complement) > Channels : 2 > Sample Rate : 44100 > Duration : 02:00.65 = 5320812 samples = 9049 CDDA sectors > Endian Type : little > Reverse Nibbles: no > Reverse Bits : no > > play alsa: hardware does not support sample rate 44100; changing to 48000. > > Output File : 'default' (alsa) > Sample Size : 16-bit (2 bytes) > Sample Encoding: signed (2's complement) > Channels : 2 > Sample Rate : 48000 > Endian Type : little > Reverse Nibbles: no > Reverse Bits : no > > play resample: opts: Kaiser window, cutoff 0.800000, beta 16.000000 > play resample: DCgain err=0.000000011654 > play resample: Nmult: 45, Nwing: 3681, Nq: 160 > play resample: rate ratio 147:160, coeff interpolation not needed > play resample: Xsize 3956, Ysize 4236, Xoff 33 > play resample: DCgain err=0.000000011654 > play resample: Nmult: 45, Nwing: 3681, Nq: 160 > play resample: rate ratio 147:160, coeff interpolation not needed > play resample: Xsize 3956, Ysize 4236, Xoff 33 > play sox: effects chain: input 44100Hz 2 channels 16 bits (multi) > play sox: effects chain: resample 44100Hz 2 channels 16 bits > play sox: effects chain: output 48000Hz 2 channels 16 bits (multi) > Time: 00:02.14 [01:58.52] of 02:00.65 (1.77%) Samples out: 98.0k Clips: 0 > ... > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > |