AKCombFilterReverb

open class AKCombFilterReverb: AKNode, AKToggleable, AKComponent

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

  • Ramp Time represents the speed at which parameters are allowed to change

    Declaration

    Swift

    open dynamic var rampTime: Double = AKSettings.rampTime
  • The time in seconds for a signal to decay to 1/1000, or 60dB from its original amplitude. (aka RT-60).

    Declaration

    Swift

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

    Declaration

    Swift

    open dynamic var isStarted: Bool
  • Initialize this filter node

    • Parameters:
      • input: Input node to process
      • reverbDuration: The time in seconds for a signal to decay to 1/1000, or 60dB from its original amplitude. (aka RT-60).
      • loopDuration: The loop time of the filter, in seconds. This can also be thought of as the delay time. Determines frequency response curve, loopDuration * sr/2 peaks spaced evenly between 0 and sr/2.

    Declaration

    Swift

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

    Parameters

    input

    Input node to process

    reverbDuration

    The time in seconds for a signal to decay to 1/1000, or 60dB from its original amplitude. (aka RT-60).

    loopDuration

    The loop time of the filter, in seconds. This can also be thought of as the delay time. Determines frequency response curve, loopDuration * sr/2 peaks spaced evenly between 0 and sr/2.

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