AKFlatFrequencyResponseReverb

open class AKFlatFrequencyResponseReverb: AKNode, AKToggleable, AKComponent, AKInput

This filter reiterates the input with an echo density determined by loop time. The attenuation rate is independent and is determined by the reverberation time (defined as the time in seconds for a signal to decay to 1/1000, or 60dB down from its original amplitude). Output will begin to appear immediately.

  • Four letter unique description of the node

    Declaration

    Swift

    public static let ComponentDescription = AudioComponentDescription(effect: "alps")
  • Ramp Time represents the speed at which parameters are allowed to change

    Declaration

    Swift

    @objc open dynamic var rampTime: Double = AKSettings.rampTime
  • The duration in seconds for a signal to decay to 1/1000, or 60dB down from its original amplitude.

    Declaration

    Swift

    @objc open dynamic var reverbDuration: Double = 0.5
  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

    @objc open dynamic var isStarted: Bool
  • Initialize this reverb node

    Declaration

    Swift

    public init(
            _ input: AKNode? = nil,
            reverbDuration: Double = 0.5,
            loopDuration: Double = 0.1)

    Parameters

    input

    Input node to process

    reverbDuration

    The duration in seconds for a signal to decay to 1/1000, or 60dB down from its original amplitude.

    loopDuration

    The loop duration of the filter, in seconds. This can also be thought of as the delay time or “echo density” of the reverberation.

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

    Declaration

    Swift

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

    Declaration

    Swift

    @objc open func stop()