AKVariSpeed

open class AKVariSpeed: AKNode, AKToggleable, AKInput

AudioKit version of Apple’s VariSpeed Audio Unit

  • Rate (rate) ranges form 0.25 to 4.0 (Default: 1.0)

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public init(_ input: AKNode? = nil, rate: Double = 1.0)

    Parameters

    input

    Input node to process

    rate

    Rate (rate) ranges from 0.25 to 4.0 (Default: 1.0)

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