AKNode

@objc
open class AKNode : NSObject

Parent class for all nodes in AudioKit

  • The internal AVAudioEngine AVAudioNode

    Declaration

    Swift

    @objc
    open var avAudioNode: AVAudioNode
  • The internal AVAudioUnit, which is a subclass of AVAudioNode with more capabilities

    Declaration

    Swift

    @objc
    open var avAudioUnit: AVAudioUnit?
  • Returns either the avAudioUnit (preferred

    Declaration

    Swift

    @objc
    open var avAudioUnitOrNode: AVAudioNode { get }
  • Create the node

    Declaration

    Swift

    override public init()
  • Initialize the node from an AVAudioUnit

    Declaration

    Swift

    @objc
    public init(avAudioUnit: AVAudioUnit, attach: Bool = false)
  • Initialize the node from an AVAudioNode

    Declaration

    Swift

    @objc
    public init(avAudioNode: AVAudioNode, attach: Bool = false)
  • Declaration

    Swift

    open func detach()