csound Re: [gentoo-user] tone generator

2008-01-25 Thread Ralf Stephan
It's surprising how few people have heard about the most flexible tone generator (=synth) out there: csound http://www.csounds.com The latest package has a Gentoo ebuild, too, which is not in the repository, however. You can do *everything* with it, and it's so fast you can use it as MIDI

Re: [gentoo-user] tone generator

2008-01-25 Thread maxim wexler
Not sure if that's what you want, but speaker-test from alsa-utils can generate sine waves, pink and white noise. [EMAIL PROTECTED] ~ $ speaker-test -t 2 speaker-test 0.0.8 Playback device is plughw:0,0 Stream parameters are 48000Hz, S16_LE, 1 channels Sine wave rate is 440.Hz But it's

Re: [gentoo-user] tone generator

2008-01-25 Thread Michael Higgins
On Fri, 25 Jan 2008 10:59:25 -0800 (PST) maxim wexler [EMAIL PROTECTED] wrote: Not sure if that's what you want, but speaker-test from alsa-utils can generate sine waves, pink and white noise. [EMAIL PROTECTED] ~ $ speaker-test -t 2 speaker-test 0.0.8 Playback device is plughw:0,0

Re: [gentoo-user] tone generator

2008-01-24 Thread Etaoin Shrdlu
On Thursday 24 January 2008, maxim wexler wrote: Hi group, Anybody know of a gentoo/linux tone generator that will output test tones, sine waves, triangle waves and the like. Prefer command line/ncurses. Maybe audacity can do that? (I don't use it so I don't know). However, a bit of

Re: [gentoo-user] tone generator

2008-01-24 Thread Willie Wong
On Thu, Jan 24, 2008 at 11:41:04AM -0800, maxim wexler wrote: Anybody know of a gentoo/linux tone generator that will output test tones, sine waves, triangle waves and the like. Prefer command line/ncurses. One of my friends coded something like this once as a plug-in for XMMS. Can't seem

Re: [gentoo-user] tone generator

2008-01-24 Thread Liviu Andronic
You might be interseted in rezound; it is graphical, however. Liviu On 1/24/08, maxim wexler [EMAIL PROTECTED] wrote: Hi group, Anybody know of a gentoo/linux tone generator that will output test tones, sine waves, triangle waves and the like. Prefer command line/ncurses. --

Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
./a.out | play -t raw -s l -f s -c 1 -r 3 - 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 and without the hyphen [EMAIL PROTECTED] ~/docs/c-prog $

Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
compile it, run it like ./a.out | play -t raw -s l -f s -c 1 -r 3 - 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

Re: [gentoo-user] tone generator

2008-01-24 Thread Willie Wong
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 3 - 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

Re: [gentoo-user] tone generator

2008-01-24 Thread Hemmann, Volker Armin
On Donnerstag, 24. Januar 2008, maxim wexler wrote: http://www.linux.org/apps/AppId_2452.html -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
compile it, run it like ./a.out | play -t raw -s l -f s -c 1 -r 3 - 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

Re: [gentoo-user] tone generator

2008-01-24 Thread Iain Buchanan
Hi, On Thu, 2008-01-24 at 11:41 -0800, maxim wexler wrote: Hi group, Anybody know of a gentoo/linux tone generator that will output test tones, sine waves, triangle waves and the like. Prefer command line/ncurses. I used to do this quite easily from XMMS to tune my guitar - never tried

Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
--- Hemmann, Volker Armin [EMAIL PROTECTED] wrote: On Donnerstag, 24. Januar 2008, maxim wexler wrote: http://www.linux.org/apps/AppId_2452.html -- Yeah, I found that. It's going into the queue. gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] tone generator

2008-01-24 Thread Willie Wong
On Thu, Jan 24, 2008 at 03:06:38PM -0800, Penguin Lover maxim wexler squawked: compile it, run it like ./a.out | play -t raw -s l -f s -c 1 -r 3 - This works, sort of. Sounds like a dentist drill going in an out. [EMAIL PROTECTED] ~/docs/c-prog $ ./a.out | aplay -t

Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
#EXTM3U #EXTINF:-1,Tone Generator: 82.4 Hz;164.8 Hz;247.2 Hz;329.6 Hz tone://82.407;164.814;247.221;329.628 #EXTINF:-1,Tone Generator: 110.0 Hz;220.0 Hz;330.0 Hz;440.0 Hz tone://110.000;220.000;330.000;440.000 #EXTINF:-1,Tone Generator: 146.8 Hz;293.7 Hz;440.5 Hz;587.3 Hz

Re: [gentoo-user] tone generator

2008-01-24 Thread Willie Wong
On Thu, Jan 24, 2008 at 03:22:00PM -0800, Penguin Lover maxim wexler squawked 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 Better yet (I didn't

Re: [gentoo-user] tone generator

2008-01-24 Thread Iain Buchanan
On Thu, 2008-01-24 at 15:45 -0800, maxim wexler wrote: #EXTM3U #EXTINF:-1,Tone Generator: 82.4 Hz;164.8 Hz;247.2 Hz;329.6 Hz tone://82.407;164.814;247.221;329.628 [snip] Played right off the bat in audacious! Thanks! How is that 'Tone Generator' formatted. I could only guess what

Re: [gentoo-user] tone generator

2008-01-24 Thread Iain Buchanan
On Fri, 2008-01-25 at 10:28 +0930, Iain Buchanan wrote: all I can find is a vague xmms reference to Tonegen. You might try looking for a tonegen.c file in audacious... If I find more, I'll let you know. all I can find is the file src/tonegen/tonegen.c in audacious-plugins which has this

Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
looking for a tonegen.c file in audacious... If I http://www.lns.com/papers/tonegen/tonegen.c [EMAIL PROTECTED] ~/docs/elex $ gcc -lm -o tonegen tonegen.c tonegen.c:56:31: machine/soundcard.h: No such file or directory tonegen.c: In function `main': tonegen.c:172: error: `SNDCTL_DSP_GETFMTS'

Re: [gentoo-user] tone generator

2008-01-24 Thread Iain Buchanan
On Thu, 2008-01-24 at 18:00 -0800, maxim wexler wrote: looking for a tonegen.c file in audacious... If I http://www.lns.com/papers/tonegen/tonegen.c [EMAIL PROTECTED] ~/docs/elex $ gcc -lm -o tonegen tonegen.c tonegen.c:56:31: machine/soundcard.h: No such file or directory [snip]

Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
all I can find is the file src/tonegen/tonegen.c in audacious-plugins Seems to be a different file than www.lns.com/papers/tonegen/tonegen.c -mw Never miss a thing. Make Yahoo your home page.

Re: [gentoo-user] tone generator

2008-01-24 Thread Iain Buchanan
On Thu, 2008-01-24 at 18:13 -0800, maxim wexler wrote: all I can find is the file src/tonegen/tonegen.c in audacious-plugins Seems to be a different file than www.lns.com/papers/tonegen/tonegen.c ah, then your previous Q. is easy. Looking at the above c file, it says #ifdef LINUX

Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
something like this should do it: gcc -D LINUX -include string.h -lm -o tonegen tonegen.c Yup. Thanks Iain. Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Re: [gentoo-user] tone generator

2008-01-24 Thread Michael Higgins
On Thu, 24 Jan 2008 20:15:14 -0800 (PST) maxim wexler [EMAIL PROTECTED] wrote: something like this should do it: gcc -D LINUX -include string.h -lm -o tonegen tonegen.c Yup. Thanks Iain. ++ Very handy. ;-) -- |\ /|| | ~ ~ | \/ ||---| `|`

Re: [gentoo-user] tone generator

2008-01-24 Thread Jan Seeger
On Thu, 24. Jan, maxim wexler spammed my inbox with Hi group, Anybody know of a gentoo/linux tone generator that will output test tones, sine waves, triangle waves and the like. Prefer command line/ncurses. Not sure if that's what you want, but speaker-test from alsa-utils can generate