Playback & Effects
Playing audio, audio tracks and providers, the microphone, spatial audio, and audio effects.
Commonly used
AudioComponentUsed to play audio in a Lens.AudioTrackAssetRepresents an audio file asset.MicrophoneAudioProviderThe Audio Track Provider of the audio from microphone.Audio
Guides
Audio TracksThis page explains different types of Audio Tracks.Audio on SPECSConfigure audio for SPECS Lenses: playback modes (Low Power vs Low Latency), Mix to Snap, and the audio input profiles for the microphone and ASR.Audio ComponentThis guide walks you through how to play sound in your Lens.Audio AnalyzerAudio Analyzer allows you to drive different effects based on the power of the audio signal in certain frequency ranges.Audio EffectThis guide walks you through how to add Audio Effects in your Lens.Audio ListenerThe Audio Listener Component acts as a microphone-like device.
All APIs in this topic
Add components to a scene object and reference assets and other modules with a script input.
Components, assets, and modules
| API | Description |
|---|---|
| AudioComponent | Used to play audio in a Lens. |
| AudioEffectAsset | Configures an audio effect for AudioEffectComponent. |
| AudioEffectComponent | Used to add effects to audio recorded by the device, such as Robot, Alien, etc. |
| AudioListenerComponent | Processes input from AudioComponents that use Spatial Audio. |
| AudioTrackAsset | Represents an audio file asset. |
Objects and data
| API | Description |
|---|---|
| Audio | |
| AudioEffectProvider | Provider for AudioEffectAsset. |
| AudioOutputProvider | Provider of the Audio Output Audio Track asset. |
| AudioTrackProvider | Base class for Audio Track providers. |
| DirectivityEffect | An Audio Component effect that simulates sound attenuation based on the orientation of the transform relative to the AudioListenerComponent. |
| DistanceEffect | An audio effect that simulates sound attenuation based on the distance between the Audio and the AudioListenerComponent. |
| FileAudioTrackProvider | Provider for file based Audio Tracks. |
| MicrophoneAudioProvider | The Audio Track Provider of the audio from microphone. |
| PositionEffect | An Audio Component effect that allows the Lens to simulate sound based on the direction of the Audio Listener relative to the Audio Component. |
| SpatialAudio | Base class for objects representing Script data. |