Re: RS: basic sound tool
Re: RS: basic sound tool
- Subject: Re: RS: basic sound tool
- From: Stuart Smith <email@hidden>
- Date: Sun, 08 Jul 2007 18:26:35 -0700
On 7/8/07 12:03 PM, "email@hidden"
<email@hidden> wrote:
> Message: 2
> Date: Sat, 7 Jul 2007 17:28:25 -0600
> From: Roland Silver <email@hidden>
> Subject: RS: basic sound tool
> To: email@hidden
> Message-ID: <email@hidden>
> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden