Contents

loadFactoryPreset(_:)

Configures the audio distortion unit by loading a distortion preset.

Declaration

func loadFactoryPreset(_ preset: AVAudioUnitDistortionPreset)

Parameters

  • preset:

    The distortion preset.

Discussion

For more information about possible values for preset, see AVAudioUnitDistortionPreset. The default value is AVAudioUnitDistortionPreset.drumsBitBrush.

See Also

Configuring the distortion