At Thu, 30 Mar 2006 15:07:55 +0200,
Clemens Ladisch wrote:
> 
> Moshe Yudkowsky wrote:
> > I am unable to play mu-law files.
> 
> ALSA does support mu-Law.
> 
> > If I try
> > 
> > aplay file.wav
> > 
> > I get the error message
> > 
> > aplay: test_wavefile:726: can't play not PCM-coded WAVE-files
> 
> Aplay's module for reading .wav files does not support Mu-Law.
> 
> You can try to avoid the stupid .wav reader by using
> 
>       aplay -t raw -f MU_LAW file.wav
> 
> but then the first few header bytes will be interpreted as audio data
> and played as garbage.

Also don't forget to specify the sample rate and the number of
channels, too when you use raw type.


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to