Re: Simplest way to produce "tick" system sound?
> > 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 regards, Gabriel smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simplest way to produce "tick" system sound?
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 Zachmann via Cocoa-dev > wrote: > > Thanks , I think I have found it - it's called Tink.aiff > in /System/Library/Sounds > > Best regards, Gabriel > > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/moon.rabbit%40virginmedia.com > > This email sent to moon.rab...@virginmedia.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simplest way to produce "tick" system sound?
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 or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simplest way to produce "tick" system sound?
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: >> >> 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 (Cocoa-dev@lists.apple.com) >> >> 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: >> https://lists.apple.com/mailman/options/cocoa-dev/mabdullah%40karelia.com >> >> This email sent to mabdul...@karelia.com > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com > > This email sent to z...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simplest way to produce "tick" system sound?
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 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 (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/mabdullah%40karelia.com > > This email sent to mabdul...@karelia.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Simplest way to produce "tick" system sound?
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. smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com