Re: Beep ( duration, frequency )
Re: Beep ( duration, frequency )
- Subject: Re: Beep ( duration, frequency )
- From: Ed Wynne <email@hidden>
- Date: Wed, 23 Sep 2015 19:49:33 -0400
On Sep 23, 2015, at 7:41 PM, Raglan T. Tiger <email@hidden> wrote:
>
>
>> On Sep 23, 2015, at 5:30 PM, Jens Alfke <email@hidden> wrote:
>>
>> What is it you’re trying to do?
>
> I want code that is this simple on Windows:
>
> DWORD freq = 587;
> if(!something) freq = 659;
> if(another) freq = 523;
> Beep(freq, 150);
OS X does not have a built-in API that provides such a service.
That said, synthesizing beep-like-waveforms isn’t very hard. You should ask google, or stack overflow.
-Ed
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden