A simple, reusable audio source—music or sound effects loaded from a file—for use in positional audio playback.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- watchOS 2.0+
To create positional audio effects, create an
SCNAudio object from the audio source to control playback, and add that player object to an
SCNNode object in your scene. SceneKit then automatically spatializes 3D audio effects based on the position of that node relative to the scene’s