A class that implements a multistage distortion effect.


class AVAudioUnitDistortion : AVAudioUnitEffect


Configuring the Audio Distortion Unit

func loadFactoryPreset(AVAudioUnitDistortionPreset)

Configures the audio distortion unit by loading a distortion preset.

Getting and Setting the Audio Distortion Unit Values

var preGain: Float

The gain, in decibels, applied to the signal before being distorted.

var wetDryMix: Float

The blend of the distorted and dry signals.


enum AVAudioUnitDistortionPreset

Constants that represent preset audio distortions.


Inherits From

Conforms To

See Also


class AVAudioUnitReverb

A class that implements a reverb effect.

class AVAudioUnitTimeEffect

A class that processes audio in non-real time.

class AVAudioUnitTimePitch

A class that provides good-quality playback rate and pitch shifting independently of each other.

class AVAudioUnitVarispeed

A class that allows control of the playback rate.

class AVAudioUnitEffect

A class that processes audio in real time.

class AVAudioUnitDelay

A class that implements a delay effect.

class AVAudioUnitEQ

A class that implements a multiband equalizer.