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

Re: sound a bell


  • Subject: Re: sound a bell
  • From: email@hidden
  • Date: Mon, 15 May 2006 16:48:11 -0700

Angelo Chen wrote:

hi,
  how to make a sound in cocoa?
NSBeep():

or if I have a sound like chord.wav then the following:

[[NSSound soundNamed:@"chord.wav"] play];

http://devworld.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSSound.html
http://developer.apple.com/documentation/Cocoa/Conceptual/Sound/ Sound.pdf


And the rest I would suggest starting here:

http://devworld.apple.com/documentation/Cocoa/index.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >sound a bell (From: Angelo Chen <email@hidden>)

  • Prev by Date: Re: sound a bell
  • Next by Date: Low Level (mid-level) Core Data problems
  • Previous by thread: Re: sound a bell
  • Next by thread: Low Level (mid-level) Core Data problems
  • Index(es):
    • Date
    • Thread