AKVariableDelay

open class AKVariableDelay: AKNode, AKToggleable, AKComponent

A delay line with cubic interpolation.

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    open var isStarted: Bool
  • Initialize this delay node

    • Parameters:
      • input: Input node to process
      • time: Delay time (in seconds) that can be changed during performance. 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) that can be changed during performance. 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()