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

Re: [RS] multiple beepage


  • Subject: Re: [RS] multiple beepage
  • From: Sherm Pendley <email@hidden>
  • Date: Fri, 22 Dec 2006 14:29:11 -0500

On Dec 22, 2006, at 12:01 PM, I. Savant wrote:

On Dec 22, 2006, at 8:50 AM, Sherm Pendley wrote:
On Dec 22, 2006, at 8:35 AM, Roland Silver wrote:

How do I NSBeep N times, with a short but distinct interval of silence between beeps?

Have a look at NSTimer.

Even this won't be perfect; what happens when the user has selected a custom sound that is ... 'longish'? :-)

The user gets what he asked for. :-)

One could use NSSound to play the sound, and start an NSTimer for the pause in -sound:DidFinishPlaying:, but the question then becomes how to find the selected system beep for use with NSSound?

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >[RS] multiple beepage (From: Roland Silver <email@hidden>)
 >Re: [RS] multiple beepage (From: Sherm Pendley <email@hidden>)
 >Re: [RS] multiple beepage (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: [RS] multiple beepage
  • Next by Date: Re: NSCreateMapTable - capacity argument clarification?
  • Previous by thread: Re: [RS] multiple beepage
  • Next by thread: Re: [RS] multiple beepage
  • Index(es):
    • Date
    • Thread