site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Microsoft-Entourage/10.1.4.030702.0 On 7/8/07 12:03 PM, "darwin-dev-request@lists.apple.com" <darwin-dev-request@lists.apple.com> wrote:
Message: 2 Date: Sat, 7 Jul 2007 17:28:25 -0600 From: Roland Silver <rollos@kitcarson.net> Subject: RS: basic sound tool To: darwin-dev@lists.apple.com Message-ID: <4DAB1DE5-198D-4111-B095-2304D663893A@kitcarson.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Is there a basic sound tool, in the form of a C-function or Objective- C method, that causes sound to be emitted from the Mac loudspeaker (for example, for definiteness, a 440 Hz sine wave, for 1 sec)?
not Darwin, but in Mac OS X: AlertSoundPlay AlertSoundPlayCustomSound if you search for ancient Sound Manager documention, you'll find that you can use the built-in synthesizer to play a 440Hz sine wave. start with this (or google "mac sound manager synthesizer"): <http://www.mactech.com/articles/mactech/Vol.09/09.03/Sound101/index.html> again, not Darwin. for "pure" Darwin, start by reading this: <http://lists.apple.com/archives/Darwinos-users/2002/Mar/msg00190.html> hth, Stuart _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com