Re: cat sound.wav > /dev/dsp Not Working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Dec 2009, Sergei Steshenko wrote:

> On Sun, 20 Dec 2009 20:50:28 -0800
> Geoffrey Crowther <gcrowther@xxxxxxxxxx> wrote:
>
>> Hello,
>>
>> Want to use OSS emulation through /dev/dsp for playing wav files.  As a simple test to start with I attempt the following:-
>>
>> cat sound.wav > /dev/dsp
>>
> [snip]
>
> WAV file is not a PCM stream, so even after you're done fixing AOSS problems
> this won't work as expected.
>
> Use 'sox' or 'ecasound' to convert your WAV file to proper (number of bits,
> endianness, etc.) PCM stream which is written to stdout and pipe it into
> /dev/dsp.

What he should hear is a steady stream that sounds like white noise.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux