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

2021-06-11 Thread Gabriel Zachmann via Cocoa-dev
> > System Preferences > Sound > Sound Effects allows users to choose the alert > sound they prefer. > > It won?t necessarily be Tink for all users. > > If you want to play the sound that a user has chosen, you can use NSBeep() > or, in Swift, NSSound.beep() > Good point - thanks! Best

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

2021-06-11 Thread Jeremy via Cocoa-dev
System Preferences > Sound > Sound Effects allows users to choose the alert sound they prefer. It won’t necessarily be Tink for all users. If you want to play the sound that a user has chosen, you can use NSBeep() or, in Swift, NSSound.beep() Jeremy — > On 11 Jun 2021, at 15:57, Gabriel

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

2021-06-11 Thread Gabriel Zachmann via Cocoa-dev
Thanks , I think I have found it - it's called Tink.aiff in /System/Library/Sounds Best regards, Gabriel smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

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

2021-06-11 Thread Alex Zavatone via Cocoa-dev
There are some built in sounds that I remember. You might want want to look for them. > On Jun 11, 2021, at 8:08 AM, Mike Abdullah via Cocoa-dev > wrote: > > NSBeep() ? > > Mike. > > Sent from my iPhone > >> On 11 Jun 2021, at 13:59, Gabriel Zachmann via Cocoa-dev >> wrote: >> >>

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

2021-06-11 Thread Mike Abdullah via Cocoa-dev
NSBeep() ? Mike. Sent from my iPhone > On 11 Jun 2021, at 13:59, Gabriel Zachmann via Cocoa-dev > 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

Simplest way to produce "tick" system sound?

2021-06-11 Thread Gabriel Zachmann via Cocoa-dev
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"