> 
> compile it, run it like 
> 
>  ./a.out | play -t raw -s l -f s -c 1 -r 30000 -
> 


This works, sort of. Sounds like a dentist drill going
in an out. 

[EMAIL PROTECTED] ~/docs/c-prog $ ./a.out | aplay -t
raw   -f  cdr
Playing raw data 'stdin' : Signed 16 bit Big Endian,
Rate 44100 Hz, Stereo
[EMAIL PROTECTED] by signal Interrupt...

[EMAIL PROTECTED] ~/docs/c-prog $ ./a.out | aplay -t
raw   -f  dat
Playing raw data 'stdin' : Signed 16 bit Little
Endian, Rate 48000 Hz, Stereo
Aborted by signal Interrupt...

[EMAIL PROTECTED] ~/docs/c-prog $ ./a.out | aplay -t
raw   -f  cd
Playing raw data 'stdin' : Signed 16 bit Little
Endian, Rate 44100 Hz, Stereo
Aborted by signal Interrupt...

And there are a bunch of other formats under aplay
--help but nothing like a pure tone.

-mw





      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to