AKVariSpeed

open class AKVariSpeed: AKNode, AKToggleable

AudioKit version of Apple’s VariSpeed Audio Unit

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

    Declaration

    Swift

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

    Declaration

    Swift

    open dynamic var isStarted: Bool
  • Initialize the varispeed node

    • Parameters:
      • input: Input node to process
      • rate: Rate (rate) ranges from 0.25 to 4.0 (Default: 1.0)

    Declaration

    Swift

    public init(_ input: AKNode?, 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

    open func start()
  • Function to stop or bypass the node, both are equivalent

    Declaration

    Swift

    open func stop()