• 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: Simplest way to produce "tick" system sound?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simplest way to produce "tick" system sound?


  • Subject: Re: Simplest way to produce "tick" system sound?
  • From: Mike Abdullah via Cocoa-dev <email@hidden>
  • Date: Fri, 11 Jun 2021 14:08:10 +0100

NSBeep() ?

Mike.

Sent from my iPhone

> On 11 Jun 2021, at 13:59, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> Sorry for the stupid question:
> what would be the easiest way to produce that "tick" system sound
> signifying an invalid keyboard input?
> I am talking about the new system sound under "Big Sur" (macOS 11).
>
> I used to use
>  [NSSound soundNamed: @"Funk"];
> but that does not give me the typical "tick" system sound for invalid keys
> under Big Sur.
> (It's actually a sound I have never heard from the system under Big Sur.)
>
> The documentation of NSSound did not give me a hint as to the new sound names.
> It just says
>  "One of the named system sounds provided by the Application Kit framework"
> but I could not find the list (and I tried googling, too).
>
> And what would be the best way to make the app produce the proper sound under
> the respective macOS version?
>
> Thanks a lot in advance.
>
> Gab.
>
> _______________________________________________
>
> 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: Simplest way to produce "tick" system sound?
      • From: Alex Zavatone via Cocoa-dev <email@hidden>
References: 
 >Simplest way to produce "tick" system sound? (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)

  • Prev by Date: Simplest way to produce "tick" system sound?
  • Next by Date: Re: Simplest way to produce "tick" system sound?
  • Previous by thread: Simplest way to produce "tick" system sound?
  • Next by thread: Re: Simplest way to produce "tick" system sound?
  • Index(es):
    • Date
    • Thread