|
From: salsaman <sal...@gm...> - 2008-03-10 23:54:18
|
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 ... On Mon, Mar 10, 2008 at 8:50 PM, salsaman <sal...@gm...> wrote: > Will try - bear in mind it's not me that is seeing this bug but one of my users. > > Regards, > Gabriel. > > > > > > > On Mon, Mar 10, 2008 at 8:40 PM, Chris Bagwell <ch...@cn...> wrote: > > > > > On Mon, Mar 10, 2008 at 08:27:52PM +0000, salsaman wrote: > > > Hi, > > > one of my (LiVES) users reported the following: > > > > > > "there seems to be a bug in the new sox version 14.0.1 in that "play > > > myfile.wav" is not working while "play -t sndfile myfile.wav" works" > > > > > > > > > Is this a bug or a new "feature" ;-) > > > > No reports yet of playing audio not working. > > > > Can you get the output of "play -V4 myfile.wav" and > > "play -V4 -t sndfile myfile.wav". > > > > Based on this little bit of information, I'd assume the > > issue is in reading the WAV file and not so much related > > to playing the audio. > > > > Maybe its a 24-bit audio file? > > > > Chris > > > > > > |