Gentoo Archives: gentoo-user

From: Willie Wong <wwong@×××××××××.EDU>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tone generator
Date: Thu, 24 Jan 2008 23:53:26
Message-Id: 20080124235452.GA12019@princeton.edu
In Reply to: Re: [gentoo-user] tone generator by maxim wexler
1 On Thu, Jan 24, 2008 at 03:22:00PM -0800, Penguin Lover maxim wexler squawked
2 > OK, got it:
3 >
4 > heathen@localhost ~/docs/c-prog $ sox -t nul /dev/null
5 > sine.wav synth 10.0 sine 440.0 | aplay sine.wav
6 > Playing WAVE 'sine.wav' : Signed 16 bit Little Endian,
7 > Rate 44100 Hz, Mono
8
9 Better yet (I didn't know that play can do it itself... sox needs
10 better documentation)
11
12 play -n -c1 synth 10.0 <waveform>
13
14 waveforms that I've tried: saw, sine, square
15
16 Have fun.
17
18 W
19 --
20 "The last time anybody made a list of the top hundred
21 character attributes of New Yorkers, common sense snuck in
22 at number 79. ....
23 When it's fall in New York, the air smells as if someone's
24 been frying goats in it, and if you are keen to breathe the
25 best plan is to open a window and stick your head in a
26 building."
27
28 - Nuff said??
29 Sortir en Pantoufles: up 412 days, 22:23
30 --
31 gentoo-user@l.g.o mailing list