Re: Some sox questions.
On Wednesday 24 March 2004 13:40, Chris Metzler wrote:
> On Wed, 24 Mar 2004 11:27:40 GMT
> Adam Funk <a24061@yahoo.com> wrote:
>> On Wednesday 24 March 2004 08:40, Adam Funk wrote:
>>> On Wednesday 24 March 2004 07:40, Rob Weir wrote:
>>>
>>>> What does "file" say the weird .wav is?
>>>
>>> RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, stereo
>>> 44100 Hz
>>
>> For comparison, one .wav file that XMMS will play is described thus:
>> RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono
>> 11025 Hz
>
> The amplitude resolution may be your problem. A standard, CD-quality
> WAV is 16 bit. Try specifying that explicitly on the sox command
> line (I think the command line option is -w with no argument).
That certainly does the trick for getting WAVE files to play in XMMS.
(I'll just use *.cdr format for CD tracks.)
Some other WAVE files that XMMS won't play are described thus:
RIFF (little-endian) data, WAVE audio, ITU G.711 A-law, mono 8000 Hz
But they can be converted to usable version:
sox foo.wav -w foo-w.wav
I'm still curious, however, as to why the WAVE library for XMMS is so
fussy about the exact file type.
Reply to: