A class that encapsulates the parameters that you use to control the reverb of the environment node class.


class AVAudioEnvironmentReverbParameters : NSObject


Reverberation can be used to simulate the acoustic characteristics of an environment. The AVAudioEnvironmentNode class has a built-in reverb that describes the space that the listener is in.

The reverb also has a single filter that sits at the end of the chain. You can use this filter to shape the overall sound of the reverb. For instance, select one of the reverb presets to simulate the general space and then use the filter to brighten or darken the overall sound.

You can't create a standalone instance of AVAudioEnvironmentReverbParameters. Only an instance vended by a source object, such as an AVAudioEnvironmentNode instance, is valid.


Enabling and Disabling Reverb

var enable: Bool

Enables the reverberation.

Getting and Setting Reverb Values

var filterParameters: AVAudioUnitEQFilterParameters

The filter that applies to the output of the reverb.

var level: Float

The master level, in decibels, of the reverb.

func loadFactoryReverbPreset(AVAudioUnitReverbPreset)

Loads one of the reverbs factory presets.


Inherits From

Conforms To

See Also

3D Environment Options

class AVAudioEnvironmentDistanceAttenuationParameters

A class that specifies the attenuation distance, the gradual loss in audio intensity, and other characteristics.

class AVAudioEnvironmentNode

A mixer node that simulates a 3D audio environment.

protocol AVAudio3DMixing

A protocol defining 3D mixing properties.

struct AVAudio3DAngularOrientation

A structure representing the angular orientation of the listener in 3D space.

struct AVAudio3DPoint

A structure representing a point in 3D space.

struct AVAudio3DVectorOrientation

A structure representing two orthogonal vectors that describe the orientation of the listener in 3D space.

typealias AVAudio3DVector

A structure representing a vector in 3D space.