On Sep 23, 2015, at 7:41 PM, Raglan T. Tiger <r...@crusaderrabbit.net> wrote:

> 
> 
>> On Sep 23, 2015, at 5:30 PM, Jens Alfke <j...@mooseyard.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to