AKVariableDelay

open class AKVariableDelay: AKNode, AKToggleable, AKComponent

A delay line with cubic interpolation.

  • Four letter unique description of the node

    Declaration

    Swift

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

    Declaration

    Swift

    open dynamic var rampTime: Double = AKSettings.rampTime
  • Delay time (in seconds) that can be changed at any point. This value must not exceed the maximum delay time.

    Declaration

    Swift

    open dynamic var time: Double = 1
  • Feedback amount. Should be a value between 0-1.

    Declaration

    Swift

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

    Declaration

    Swift

    open dynamic var isStarted: Bool
  • Initialize this delay node

    • Parameters:
      • input: Input node to process
      • time: Delay time (in seconds). This value must not exceed the maximum delay time.
      • feedback: Feedback amount. Should be a value between 0-1.
      • maximumDelayTime: The maximum delay time, in seconds.

    Declaration

    Swift

    public init(
            _ input: AKNode?,
            time: Double = 1,
            feedback: Double = 0,
            maximumDelayTime: Double = 5)

    Parameters

    input

    Input node to process

    time

    Delay time (in seconds). This value must not exceed the maximum delay time.

    feedback

    Feedback amount. Should be a value between 0-1.

    maximumDelayTime

    The maximum delay time, in seconds.

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