AKBooster

open class AKBooster : AKNode, AKToggleable, AKComponent, AKInput

Stereo Booster

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

    Declaration

    Swift

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

    Swift

    @objc
    open dynamic var rampType: AKSettings.RampType { get set }
  • 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()