AKMixer

open class AKMixer : AKNode, AKToggleable, AKInput

AudioKit version of Apple’s Mixer Node. Mixes a varaiadic list of AKNodes.

  • Output Volume (Default 1)

    Declaration

    Swift

    @objc
    open dynamic var volume: Double { get set }
  • Determine if the mixer is serving any output or if it is stopped.

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool { get }
  • Initialize the mixer node with no inputs, to be connected later

    Declaration

    Swift

    @objc
    public override init()
  • Initialize the mixer node with multiple inputs

    Declaration

    Swift

    public convenience init(_ inputs: AKNode?...)
  • Initialize the mixer node with multiple inputs

    Declaration

    Swift

    @objc
    public convenience init(_ inputs: [AKNode])

    Parameters

    inputs

    An array of AKNodes

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

    Declaration

    Swift

    @objc
    open override func detach()
  • Connnect another input after initialization // Deprecated

    Declaration

    Swift

    open func connect(_ input: AKNode?, bus: Int? = nil)
  • Connect for Objectivec access, with bus definition

    Declaration

    Swift

    @objc
    open func connect(input: AKNode?, bus: Int)
  • Connect for Objectivec access

    Declaration

    Swift

    @objc
    open func connect(input: AKNode?)