Documentation

Unity Engine

Download Unity

Unity Engine

UnityEngine.AudioModule

The Audio module implements Unity's audio system.
Read time 3 minutesLast updated 3 hours ago

Definition

  • Type: Module

Classes

Class

Description

AudioChorusFilterThe Audio Chorus Filter takes an Audio Clip and processes it creating a chorus effect.
AudioClipA container for audio data.
AudioDistortionFilterThe Audio Distortion Filter distorts the sound from an AudioSource or sounds reaching the AudioListener.
AudioEchoFilterThe Audio Echo Filter repeats a sound after a given Delay, attenuating the repetitions based on the Decay Ratio.
AudioExtensionsHelpful utility extensions on audio types.
AudioHighPassFilterThe Audio High Pass Filter passes high frequencies of an AudioSource, and cuts off signals with frequencies lower than the Cutoff Frequency.
AudioListenerRepresentation of a listener in 3D space.
AudioLowPassFilterThe Audio Low Pass Filter passes low frequencies of an AudioSource or all sounds reaching an AudioListener, and attenuates frequencies above the Cutoff Frequency.
AudioMixerAudioMixer asset.
AudioMixerGroupObject representing a group in the mixer.
AudioMixerSnapshotObject representing a snapshot in the mixer.
AudioPlayableBindingA PlayableBinding that contains information representing an AudioPlayableOutput.
AudioRendererRecords the main audio output of the application.
AudioResourceRepresents an audio generator asset that you can play through an AudioSource.
AudioReverbFilterThe Audio Reverb Filter takes an Audio Clip and distorts it to create a custom reverb effect.
AudioReverbZoneReverb Zones are used when you want to create location based ambient effects in the Scene.
AudioSampleProviderProvides access to the audio samples generated by Unity objects such as VideoPlayer.
AudioSettingsControls the global audio settings from script.
AudioSourceA representation of audio sources in 3D.
MessageExtensionsUtilities and additional compiler overloads for particular message payloads.
MicrophoneUse this class to record to an AudioClip using a connected microphone.
WebCamTextureWebCam Textures are textures onto which the live video input is rendered.

Structs

Struct

Description

AudioClipPlayableAn implementation of IPlayable that controls an AudioClip.
AudioConfigurationSpecifies the current properties or desired properties to be set for the audio system.
AudioFormatRepresents an audio format containing information used for signal processing.
AudioMixerPlayableAn implementation of IPlayable that controls an audio mixer.
AudioPlayableOutputA IPlayableOutput implementation that will be used to play audio.
ChannelBufferRepresents a multi-channel audio buffer, allowing channel/frame-based access to the audio samples.
ControlContextControl data communication, scripting-, creation-, destruction- and data query of ProcessorInstances in an audio system.
EffectInstanceA ProcessorInstance that processes audio data.
GeneratorInstanceA ProcessorInstance that generates audio data.
ProcessorInstanceProcessorInstance is a handle to the common functionality of a scriptable processor.
RealtimeContextA temporary context tied to a particular mix cycle, and generally passed along when processing ProcessorInstances.
RealtimeMessageContextThe context passed to ProcessorInstance.IRealtime.OnMessage when a message is delivered on the real-time side via RealtimeContext.SendMessage.
RootOutputInstanceA ProcessorInstance with extra callbacks intended to allow scheduling different management and compute work over the course of a mix frame. Finally, additional audio can be appended to the final audio output.
SeekMessageA built-in message that moves the playback position of a generator.
WebCamDeviceA structure describing the webcam device.

Enums

Enum

Description

AudioClipLoadTypeDetermines how the audio clip is loaded in.
AudioCompressionFormatAn enum containing different compression types.
AudioDataLoadStateValue describes the current load state of the audio data associated with an AudioClip.
AudioMixerUpdateModeThe mode in which an AudioMixer should update its time.
AudioReverbPresetReverb presets used by the Reverb Zone class and the audio reverb filter.
AudioRolloffModeRolloff modes that a 3D sound can have in an audio source.
AudioSourceCurveTypeThis defines the curve type of the different custom curves that can be queried and set within the AudioSource.
AudioSpatialExperienceDefines the types of audio spatialization experience available in player and audio settings.
AudioSpeakerModeThe speaker configurations that Unity supports.
AudioVelocityUpdateModeDescribes when an AudioSource or AudioListener is updated.
FFTWindowWindow functions for FFT spectrum analysis.
GamepadSpeakerOutputTypeGamepad audio output types.
WebCamKindEnum representing the different types of web camera device.

Interfaces

Interface

Description

IAudioEffectFactory for instantiating EffectInstance to be used internally or from other scripts.
IAudioGeneratorFactory for instantiating GeneratorInstance to be used internally or from other scripts.