compile it, run it like 
> 
>  ./a.out | play -t raw -s l -f s -c 1 -r 30000 -
> 
> And you should get A-440 out of your speakers. 

OK, got it:

[EMAIL PROTECTED] ~/docs/c-prog $ sox -t nul /dev/null
sine.wav synth 10.0 sine  440.0 | aplay sine.wav
Playing WAVE 'sine.wav' : Signed 16 bit Little Endian,
Rate 44100 Hz, Mono

Sox Rox


      
____________________________________________________________________________________
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