|
From: robs <aq...@ya...> - 2008-03-06 06:13:46
|
--- "D. S." <new...@gm...> wrote:
> I think I'm getting the same thing when I try to use an 8-bit output
> format. Static that enters.in. Also happens when I convert to .au
> with -1 ... but -2 sounds fine. I can provide .wav file examples if
> needed.
>
>
> Also ... noticing that the -s seems to be ignored for 8-bit ... or
> play isn't seeing it right. Even though -s is given, still play says
> it is unsigend.
This is because -s -1 isn't a valid combination for wav (as per wav
specification); valid combinations include -u -1 and -s -2.
> $ play t.wav
>
> Input File : 't.wav'
> Sample Size : 8-bit (1 byte)
> Sample Encoding: unsigned
> Channels : 1
> Sample Rate : 8000
I'm guessing that this may be a bug in the audio driver that play is using.
Try play t.wav -s (and add a -V for verbose output), if that sounds okay, it
means that the wav is in fact correct, and the problem is that the audio driver
has a problem with unsigned.
Cheers,
Rob
___________________________________________________________
Rise to the challenge for Sport Relief with Yahoo! For Good
http://uk.promotions.yahoo.com/forgood/
|