AKFader

Stereo Fader. Almost the same as AKBooster but with the addition of Automation support.

  • Declaration

    Swift

    public var parameterAutomation: AKParameterAutomation? { get }
  • Amplification Factor

    Declaration

    Swift

    @objc
    open dynamic var gain: Double { get set }
  • Left Channel Amplification Factor

    Declaration

    Swift

    @objc
    open dynamic var leftGain: Double { get set }
  • Right Channel Amplification Factor

    Declaration

    Swift

    @objc
    open dynamic var rightGain: Double { get set }
  • dB

    Amplification Factor in db

    Declaration

    Swift

    @objc
    open dynamic var dB: 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 booster node

    Declaration

    Swift

    @objc
    public init(_ input: AKNode? = nil,
                gain: Double = 1)

    Parameters

    input

    AKNode whose output will be amplified

    gain

    Amplification factor (Default: 1, Minimum: 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()
  • Declaration

    Swift

    open override func detach()