On Thu, Jan 24, 2008 at 02:27:24PM -0800, maxim wexler wrote:
> > 
> >  ./a.out | play -t raw -s l -f s -c 1 -r 30000 -
> > 
> > And you should get A-440 out of your speakers. 
> > 
> 
> [EMAIL PROTECTED] ~/docs/c-prog $ ./a.out |play -t raw
> -s l -f s -c 1 -r 3000 -
> play soxio: Failed reading `-': unknown file type
> 

rate really wants to be 30000, or your note will have a 
frequency off by a factor of 10. But that is not the problem here. 

Perhaps revdep-rebuild or rebuilding sox by hand? Usually when sox is
having problems after you explicitly specify the file format (by -t
raw) that means you have some sort of linking error with your
libraries. 

Hum, by any chance you are using sox-14.0.0? My desktop is still on
12.17.9 and has no problems, and a quick search suggests that the
unknown file type problem also affects Debian and other distros. 

I will take a look using my laptop later tonight to see if it is a
problem with sox-14.0.0.

W

-- 
Willie W. Wong                                      [EMAIL PROTECTED]
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to