An audio resource that you load from a file or from a URL.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- Xcode 11.0+
Load an audio file resource, like an audio file stored in
.aiff format, by calling one of the load methods. Then use the resource to create an
Audio instance by calling an entity’s
prepare method. The controller plays the audio from the location in space of the entity that created the controller. During an AR session, when the user moves the device close to the entity emitting the sound, the sound grows louder.