Re: Beep ( duration, frequency )
Re: Beep ( duration, frequency )
- Subject: Re: Beep ( duration, frequency )
- From: Jens Alfke <email@hidden>
- Date: Wed, 23 Sep 2015 16:30:07 -0700
> On Sep 23, 2015, at 4:13 PM, Raglan T. Tiger <email@hidden> wrote:
>
> Is there anything this easy for OS X?
Well, NSBeep() is pretty easy if you just want to play a sound to alert the user.
There’s no simple way to play ugly-sounding poorly-timed square waves, like the Windows Beep function. You’d need to use CoreAudio or CoreMIDI. What is it you’re trying to do?
—Jens
_______________________________________________
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