AKBooster

open class AKBooster: AKNode, AKToggleable, AKComponent

Stereo Booster

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

    Declaration

    Swift

    open var rampTime: Double = AKSettings.rampTime
  • Amplification Factor

    Declaration

    Swift

    open var gain: Double = 1
  • dB

    Amplification Factor in db

    Declaration

    Swift

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

    Declaration

    Swift

    open var isStarted: Bool
  • Initialize this gainner node

    • Parameters:
      • input: AKNode whose output will be amplified
      • gain: Amplification factor (Default: 1, Minimum: 0)

    Declaration

    Swift

    public init(
            _ input: AKNode,
            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

    open func start()
  • Function to stop or bypass the node, both are equivalent

    Declaration

    Swift

    open func stop()