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.

  • Lower and upper bounds for Reverb Duration

    Declaration

    Swift

    public static let reverbDurationRange: CountableClosedRange<Int>
  • Initial value for Reverb Duration

    Declaration

    Swift

    public static let defaultReverbDuration: Double
  • Initial value for Loop Duration

    Declaration

    Swift

    public static let defaultLoopDuration: Double
  • Ramp Duration represents the speed at which parameters are allowed to change

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • 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 { get set }
  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    public init(
        _ input: AKNode? = nil,
        reverbDuration: Double = defaultReverbDuration,
        loopDuration: Double = defaultLoopDuration
        )

    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()