AKTimePitch

open class AKTimePitch : AKNode, AKToggleable, AKInput

AudioKit version of Apple’s TimePitch Audio Unit

  • Rate (rate) ranges from 0.03125 to 32.0 (Default: 1.0)

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool { get }
  • Pitch (Cents) ranges from -2400 to 2400 (Default: 0.0)

    Declaration

    Swift

    @objc
    open dynamic var pitch: Double { get set }
  • Overlap (generic) ranges from 3.0 to 32.0 (Default: 8.0)

    Declaration

    Swift

    @objc
    open dynamic var overlap: Double { get set }
  • Initialize the time pitch node

    Declaration

    Swift

    @objc
    public init(
        _ input: AKNode? = nil,
        rate: Double = 1.0,
        pitch: Double = 0.0,
        overlap: Double = 8.0)

    Parameters

    input

    Input node to process

    rate

    Rate (rate) ranges from 0.03125 to 32.0 (Default: 1.0)

    pitch

    Pitch (Cents) ranges from -2400 to 2400 (Default: 0.0)

    overlap

    Overlap (generic) ranges from 3.0 to 32.0 (Default: 8.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()