AKBandRejectButterworthFilter

open class AKBandRejectButterworthFilter: AKNode, AKToggleable, AKComponent

These filters are Butterworth second-order IIR filters. They offer an almost flat passband and very good precision and stopband attenuation.

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

    Declaration

    Swift

    open var rampTime: Double = AKSettings.rampTime
  • Center frequency. (in Hertz)

    Declaration

    Swift

    open var centerFrequency: Double = 3000.0
  • Bandwidth. (in Hertz)

    Declaration

    Swift

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

    Declaration

    Swift

    open var isStarted: Bool
  • Initialize this filter node

    • Parameters:
      • input: Input node to process
      • centerFrequency: Center frequency. (in Hertz)
      • bandwidth: Bandwidth. (in Hertz)

    Declaration

    Swift

    public init(
            _ input: AKNode,
            centerFrequency: Double = 3000.0,
            bandwidth: Double = 2000.0)

    Parameters

    input

    Input node to process

    centerFrequency

    Center frequency. (in Hertz)

    bandwidth

    Bandwidth. (in Hertz)

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