• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beep


  • Subject: Re: Beep
  • From: Sumanth Peddamatham <email@hidden>
  • Date: Wed, 26 Aug 2009 12:47:21 -0400

NSBeep().

http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Miscellaneous/AppKit_Functions/Reference/reference.html#/ /apple_ref/c/func/NSBeep


Best,

Sumanth P.


On Aug 26, 2009, at 12:47 PM, DKJ wrote:

Once upon a time, there was a computer language called BASIC. It was installed in just about every computer; usually with a soldering iron. And a favourite beginner programmer project was getting the computer to emit sounds when keys were pressed. As I recall, there was something like a "BEEP" command that let you do this quite easily, and also let you set parameters like duration and frequency.

I've been searching though the iPhone audio API looking for something similar: i.e. a method that will let me generate a sound ex nihilo, with a given duration and frequency. But as far as I can tell, any sound that I want to produce has to use an audio file of some sort.

Have I missed something simple? If so, please point me to the right place in the docs.

dkj
_______________________________________________

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

_______________________________________________

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
      • From: Randall Meadows <email@hidden>
    • Re: Beep
      • From: "I. Savant" <email@hidden>
References: 
 >Beep (From: DKJ <email@hidden>)

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