Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UnityEngine.AudioModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The Audio module implements Unity's audio system.

Classes

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.
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, while removing frequencies higher than the Cutoff Frequency.
AudioMixerAudioMixer asset.
AudioMixerGroupObject representing a group in the mixer.
AudioMixerSnapshotObject representing a snapshot in the mixer.
AudioRendererAllow recording the main output of the game or specific groups in the AudioMixer.
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.
MicrophoneUse this class to record to an AudioClip using a connected microphone.
MovieTextureMovie Textures are textures onto which movies are played back.
WebCamTextureWebCam Textures are textures onto which the live video input is rendered.

Structs

AudioClipPlayableAn implementation of IPlayable that controls an AudioClip.
AudioConfigurationSpecifies the current properties or desired properties to be set for the audio system.
AudioMixerPlayableAn implementation of IPlayable that controls an audio mixer.
AudioPlayableOutputA IPlayableOutput implementation that will be used to play audio.
WebCamDeviceA structure describing the webcam device.

Enumerations

AudioClipLoadTypeDetermines how the audio clip is loaded in.
AudioCompressionFormatAn enum containing different compression types.
AudioDataLoadStateValue describing 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.
AudioSpeakerModeThese are speaker types defined for use with AudioSettings.speakerMode.
AudioVelocityUpdateModeDescribes when an AudioSource or AudioListener is updated.
FFTWindowSpectrum analysis windowing types.

Did you find this page useful? Please give it a rating: