Gentoo Archives: gentoo-user

From: maxim wexler <blissfix@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tone generator
Date: Thu, 24 Jan 2008 22:27:47
Message-Id: 371208.79459.qm@web31713.mail.mud.yahoo.com
In Reply to: Re: [gentoo-user] tone generator by Willie Wong
1 >
2 > ./a.out | play -t raw -s l -f s -c 1 -r 30000 -
3 >
4 > And you should get A-440 out of your speakers.
5 >
6
7 eathen@localhost ~/docs/c-prog $ ./a.out |play -t raw
8 -s l -f s -c 1 -r 3000 -
9 play soxio: Failed reading `-': unknown file type
10
11 and without the hyphen
12
13 heathen@localhost ~/docs/c-prog $ ./play |play -t raw
14 -s l -f s -c 1 -r 3000
15 play soxio: Can't open input file `s': No such file or
16 directory
17
18 doesn't like swapping 'l' for '1' either
19
20
21
22 ____________________________________________________________________________________
23 Never miss a thing. Make Yahoo your home page.
24 http://www.yahoo.com/r/hs
25 --
26 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] tone generator Willie Wong <wwong@×××××××××.edu>