AKPanner

open class AKPanner : AKNode, AKToggleable, AKComponent, AKInput

Stereo Panner

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

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • pan

    Panning. A value of -1 is hard left, and a value of 1 is hard right, and 0 is center.

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool { get }
  • Initialize this panner node

    Declaration

    Swift

    @objc
    public init(
        _ input: AKNode? = nil,
        pan: Double = 0)

    Parameters

    input

    Input node to process

    pan

    Panning. A value of -1 is hard left, and a value of 1 is hard right, and 0 is center.

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