AKBooster

open class AKBooster: AKNode, AKToggleable, AKComponent, AKInput

Stereo Booster

  • Four letter unique description of the node

    Declaration

    Swift

    public static let ComponentDescription = AudioComponentDescription(effect: "gain")
  • Ramp Time represents the speed at which parameters are allowed to change

    Declaration

    Swift

    @objc open dynamic var rampTime: Double = AKSettings.rampTime
  • Amplification Factor

    Declaration

    Swift

    @objc open dynamic var gain: Double = 1
  • Left Channel Amplification Factor

    Declaration

    Swift

    @objc open dynamic var leftGain: Double = 1
  • Right Channel Amplification Factor

    Declaration

    Swift

    @objc open dynamic var rightGain: Double = 1
  • dB

    Amplification Factor in db

    Declaration

    Swift

    @objc open dynamic var dB: Double
  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

    @objc open dynamic var isStarted: Bool
  • Initialize this booster node

    Declaration

    Swift

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