<!--
{
  "availability" : [
    "macOS: 10.8.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "EventKit",
  "identifier" : "/documentation/EventKit/EKAlarm/soundName",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "EventKit"
    ],
    "preciseIdentifier" : "c:objc(cs)EKAlarm(py)soundName"
  },
  "title" : "soundName"
}
-->

# soundName

The name of the sound to play when the alarm triggers.

```
var soundName: String? { get set }
```

## Discussion

The value of this property is the name of a system sound that can be used with the <doc://com.apple.documentation/documentation/AppKit/NSSound/init(named:)> class method to create an `NSSound` object. Assigning this property a value will set the [`emailAddress`](/documentation/EventKit/EKAlarm/emailAddress) and [`url`](/documentation/EventKit/EKAlarm/url) properties to `nil`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)