<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/sound-speech-and-haptics",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Sound, Speech, and Haptics"
}
-->

# Sound, Speech, and Haptics

Play sounds and haptic feedback, and incorporate speech recognition and synthesis into your interface.

## Topics

### Sounds

[`class NSSound`](/documentation/AppKit/NSSound)

A simple interface for loading and playing audio files.

[`extern void NSBeep();`](/documentation/AppKit/NSBeep)

Plays the system beep.

### Speech

[`class NSSpeechRecognizer`](/documentation/AppKit/NSSpeechRecognizer)

The Cocoa interface to speech recognition in macOS.

[`class NSSpeechSynthesizer`](/documentation/AppKit/NSSpeechSynthesizer)

The Cocoa interface to speech synthesis in macOS.

### Haptics

[`class NSHapticFeedbackManager`](/documentation/AppKit/NSHapticFeedbackManager)

An object that provides access to the haptic feedback management attributes on a system with a Force Touch trackpad.

[`protocol NSHapticFeedbackPerformer`](/documentation/AppKit/NSHapticFeedbackPerformer)

A set of methods and constants that a haptic feedback performer implements.

[`protocol NSAlignmentFeedbackToken`](/documentation/AppKit/NSAlignmentFeedbackToken)

[`class NSAlignmentFeedbackFilter`](/documentation/AppKit/NSAlignmentFeedbackFilter)

An object that can filter the movement of an object and provides haptic feedback when alignment occurs.



---

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)