Re: Beep ( duration, frequency )
Re: Beep ( duration, frequency )
- Subject: Re: Beep ( duration, frequency )
- From: Richard Charles <email@hidden>
- Date: Wed, 23 Sep 2015 17:31:17 -0600
> On Sep 23, 2015, at 5:13 PM, Raglan T. Tiger <email@hidden> wrote:
>
> Windows has a Beep function:
>
> BOOL WINAPI Beep(
> _In_ DWORD dwFreq,
> _In_ DWORD dwDuration
> );
>
> Is there anything this easy for OS X?
void NSBeep (void);
This is a standard system alert. The term “beep” implies an alert, meaning that developers do not get to choose the frequency and duration on Apple platforms.
The windows function seems to be misnamed. It should be Tone or Sound or something like that.
--Richard Charles
_______________________________________________
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