---
title: beep()
framework: appkit
role: symbol
role_heading: Type Method
path: appkit/nssound/beep()
---

# beep()

Plays the system beep.

## Declaration

```swift
static func beep()
```

## Discussion

Discussion Users can select a sound to be played as the system beep in the Sound pane of System Preferences.

## See Also

### Playing Sounds

- [isPlaying](appkit/nssound/isplaying.md)
- [pause()](appkit/nssound/pause().md)
- [play()](appkit/nssound/play().md)
- [resume()](appkit/nssound/resume().md)
- [stop()](appkit/nssound/stop().md)
