AKReverb2

open class AKReverb2: AKNode, AKToggleable

AudioKit version of Apple’s Reverb2 Audio Unit

  • Dry Wet Mix (CrossFade) ranges from 0 to 1 (Default: 0.5)

    Declaration

    Swift

    open dynamic var dryWetMix: Double = 0.5
  • Gain (Decibels) ranges from -20 to 20 (Default: 0)

    Declaration

    Swift

    open dynamic var gain: Double = 0
  • Min Delay Time (Secs) ranges from 0.0001 to 1.0 (Default: 0.008)

    Declaration

    Swift

    open dynamic var minDelayTime: Double = 0.008
  • Max Delay Time (Secs) ranges from 0.0001 to 1.0 (Default: 0.050)

    Declaration

    Swift

    open dynamic var maxDelayTime: Double = 0.050
  • Decay Time At0 Hz (Secs) ranges from 0.001 to 20.0 (Default: 1.0)

    Declaration

    Swift

    open dynamic var decayTimeAt0Hz: Double = 1.0
  • Decay Time At Nyquist (Secs) ranges from 0.001 to 20.0 (Default: 0.5)

    Declaration

    Swift

    open dynamic var decayTimeAtNyquist: Double = 0.5
  • Randomize Reflections (Integer) ranges from 1 to 1000 (Default: 1)

    Declaration

    Swift

    open dynamic var randomizeReflections: Double = 1
  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

    open dynamic var isStarted = true
  • Initialize the reverb2 node

    • Parameters:
      • input: Input node to process
      • dryWetMix: Dry Wet Mix (CrossFade) ranges from 0 to 1 (Default: 0.5)
      • gain: Gain (Decibels) ranges from -20 to 20 (Default: 0)
      • minDelayTime: Min Delay Time (Secs) ranges from 0.0001 to 1.0 (Default: 0.008)
      • maxDelayTime: Max Delay Time (Secs) ranges from 0.0001 to 1.0 (Default: 0.050)
      • decayTimeAt0Hz: Decay Time At0 Hz (Secs) ranges from 0.001 to 20.0 (Default: 1.0)
      • decayTimeAtNyquist: Decay Time At Nyquist (Secs) ranges from 0.001 to 20.0 (Default: 0.5)
      • randomizeReflections: Randomize Reflections (Integer) ranges from 1 to 1000 (Default: 1)

    Declaration

    Swift

    public init(
            _ input: AKNode?,
            dryWetMix: Double = 0.5,
            gain: Double = 0,
            minDelayTime: Double = 0.008,
            maxDelayTime: Double = 0.050,
            decayTimeAt0Hz: Double = 1.0,
            decayTimeAtNyquist: Double = 0.5,
            randomizeReflections: Double = 1)

    Parameters

    input

    Input node to process

    dryWetMix

    Dry Wet Mix (CrossFade) ranges from 0 to 1 (Default: 0.5)

    gain

    Gain (Decibels) ranges from -20 to 20 (Default: 0)

    minDelayTime

    Min Delay Time (Secs) ranges from 0.0001 to 1.0 (Default: 0.008)

    maxDelayTime

    Max Delay Time (Secs) ranges from 0.0001 to 1.0 (Default: 0.050)

    decayTimeAt0Hz

    Decay Time At0 Hz (Secs) ranges from 0.001 to 20.0 (Default: 1.0)

    decayTimeAtNyquist

    Decay Time At Nyquist (Secs) ranges from 0.001 to 20.0 (Default: 0.5)

    randomizeReflections

    Randomize Reflections (Integer) ranges from 1 to 1000 (Default: 1)

  • Function to start, play, or activate the node, all do the same thing

    Declaration

    Swift

    open func start()
  • Function to stop or bypass the node, both are equivalent

    Declaration

    Swift

    open func stop()