AKToneComplementFilter

open class AKToneComplementFilter: AKNode, AKToggleable, AKComponent

A complement to the AKLowPassFilter.

  • Four letter unique description of the node

    Declaration

    Swift

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

    Declaration

    Swift

    open dynamic var rampTime: Double = AKSettings.rampTime
  • Half-Power Point in Hertz. Half power is defined as peak power / square root of 2.

    Declaration

    Swift

    open dynamic var halfPowerPoint: Double = 1_000.0
  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

    open dynamic var isStarted: Bool
  • Initialize this filter node

    • Parameters:
      • input: Input node to process
      • halfPowerPoint: Half-Power Point in Hertz. Half power is defined as peak power / square root of 2.

    Declaration

    Swift

    public init(
            _ input: AKNode?,
            halfPowerPoint: Double = 1_000.0)

    Parameters

    input

    Input node to process

    halfPowerPoint

    Half-Power Point in Hertz. Half power is defined as peak power / square root of 2.

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