如何播放日历提醒的默认和弦(Chord (default))音效?
How to Play the Default Calendar Reminder "Chord" Sound
Hey there! I totally get it—you’ve tracked down classic sound IDs, but what you really want is that specific default Chord tone used for calendar reminders. Let’s walk through how to trigger it depending on your operating system:
Windows
- Quick manual play (PowerShell): The default calendar reminder Chord is tied to Windows’ system "Exclamation" sound. Pop open PowerShell and run this command:
[System.Media.SystemSounds]::Exclamation.Play() - Command line alternative: You can also use the old-school
rundll32command:rundll32 user32.dll,MessageBeep 0x00000030 - To confirm it’s the right sound: Head to Control Panel → Sounds → Sounds tab, then look for "Calendar Reminders" under Program Events—it should list "Chord" as the assigned sound.
macOS
- Command line play: macOS stores the Chord sound file directly in the system sounds folder. Open Terminal and run:
afplay /System/Library/Sounds/Chord.aiff - Swift code example: If you’re building an app, use AVFoundation to play it programmatically:
import AVFoundation import AudioToolbox func playCalendarChordSound() { guard let soundURL = URL(fileURLWithPath: "/System/Library/Sounds/Chord.aiff") else { return } var soundID: SystemSoundID = 0 AudioServicesCreateSystemSoundID(soundURL as CFURL, &soundID) AudioServicesPlaySystemSound(soundID) }
Linux (GNOME Desktop)
- Most GNOME-based distros keep the default calendar chord alert here. Use
paplay(PulseAudio’s player) to play it:paplay /usr/share/sounds/gnome/default/alerts/chord.ogg
Python Quick Scripts
- Windows: Use the built-in
winsoundmodule:import winsound # Triggers the same Chord sound as calendar reminders winsound.MessageBeep(winsound.MB_ICONEXCLAMATION) - macOS: Call the system’s
afplayvia subprocess:import subprocess subprocess.run(["afplay", "/System/Library/Sounds/Chord.aiff"], check=True)
内容的提问来源于stack exchange,提问作者Anibal Lamego
相关产品推荐
相关产品推荐

