AKDelay

open class AKDelay : AKNode, AKToggleable, AKInput

AudioKit version of Apple’s Delay Audio Unit

  • Delay time in seconds (Default: 1)

    Declaration

    Swift

    @objc
    open dynamic var time: TimeInterval { get set }
  • Feedback (Normalized Value) ranges from 0 to 1 (Default: 0.5)

    Declaration

    Swift

    @objc
    open dynamic var feedback: Double { get set }
  • Low pass cut-off frequency in Hertz (Default: 15000)

    Declaration

    Swift

    @objc
    open dynamic var lowPassCutoff: Double { get set }
  • Dry/Wet Mix (Normalized Value) ranges from 0 to 1 (Default: 0.5)

    Declaration

    Swift

    @objc
    open dynamic var dryWetMix: Double { get set }
  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool
  • Initialize the delay node

    Declaration

    Swift

    @objc
    public init(
        _ input: AKNode? = nil,
        time: Double = 1,
        feedback: Double = 0.5,
        lowPassCutoff: Double = 15_000,
        dryWetMix: Double = 0.5)

    Parameters

    input

    Input audio AKNode to process

    time

    Delay time in seconds (Default: 1)

    feedback

    Amount of feedback, ranges from 0 to 1 (Default: 0.5)

    lowPassCutoff

    Low-pass cutoff frequency in Hz (Default 15000)

    dryWetMix

    Amount of unprocessed (dry) to delayed (wet) audio, ranges from 0 to 1 (Default: 0.5)

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