public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: maxim wexler <blissfix@yahoo.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] tone generator
Date: Thu, 24 Jan 2008 15:22:00 -0800 (PST)	[thread overview]
Message-ID: <704980.29815.qm@web31715.mail.mud.yahoo.com> (raw)
In-Reply-To: <20080124202109.GA10245@math.princeton.edu>

 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:

heathen@localhost ~/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



  parent reply	other threads:[~2008-01-24 23:22 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 19:41 [gentoo-user] tone generator maxim wexler
2008-01-24 20:21 ` Willie Wong
2008-01-24 22:27   ` maxim wexler
2008-01-24 23:15     ` Willie Wong
2008-01-24 23:06   ` maxim wexler
2008-01-24 23:44     ` Willie Wong
2008-01-24 23:22   ` maxim wexler [this message]
2008-01-24 23:54     ` Willie Wong
2008-01-24 20:30 ` Etaoin Shrdlu
2008-01-24 20:41 ` Liviu Andronic
2008-01-24 23:26 ` Hemmann, Volker Armin
2008-01-24 23:29   ` maxim wexler
2008-01-24 23:31 ` Iain Buchanan
2008-01-24 23:45   ` maxim wexler
2008-01-25  0:58     ` Iain Buchanan
2008-01-25  1:06       ` Iain Buchanan
2008-01-25  2:13         ` maxim wexler
2008-01-25  3:29           ` Iain Buchanan
2008-01-25  4:15             ` maxim wexler
2008-01-25  5:15               ` Michael Higgins
2008-01-25  2:00       ` maxim wexler
2008-01-25  2:29         ` Iain Buchanan
2008-01-25  6:44 ` Jan Seeger
2008-01-25 18:59   ` maxim wexler
2008-01-25 20:33     ` Michael Higgins
2008-01-25  9:44 ` csound " Ralf Stephan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=704980.29815.qm@web31715.mail.mud.yahoo.com \
    --to=blissfix@yahoo.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox