• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Beep ( duration, frequency )
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Beep ( duration, frequency )
      • From: "Raglan T. Tiger" <email@hidden>
References: 
 >Beep ( duration, frequency ) (From: "Raglan T. Tiger" <email@hidden>)
 >Re: Beep ( duration, frequency ) (From: Jens Alfke <email@hidden>)
 >Re: Beep ( duration, frequency ) (From: "Raglan T. Tiger" <email@hidden>)

  • Prev by Date: Re: Beep ( duration, frequency )
  • Next by Date: Re: Beep ( duration, frequency )
  • Previous by thread: Re: Beep ( duration, frequency )
  • Next by thread: Re: Beep ( duration, frequency )
  • Index(es):
    • Date
    • Thread