AKLowShelfParametricEqualizerFilter

open class AKLowShelfParametricEqualizerFilter: AKNode, AKToggleable, AKComponent

This is an implementation of Zoelzer’s parametric equalizer filter.

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

    Declaration

    Swift

    open var rampTime: Double = AKSettings.rampTime
  • Corner frequency.

    Declaration

    Swift

    open var cornerFrequency: Double = 1000
  • Amount at which the corner frequency value shall be increased or decreased. A value of 1 is a flat response.

    Declaration

    Swift

    open var gain: Double = 1.0
  • q

    Q of the filter. sqrt(0.5) is no resonance.

    Declaration

    Swift

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

    Declaration

    Swift

    open var isStarted: Bool
  • Initialize this equalizer node

    • Parameters:
      • input: Input node to process
      • cornerFrequency: Corner frequency.
      • gain: Amount at which the corner frequency value shall be increased or decreased. A value of 1 is a flat response.
      • q: Q of the filter. sqrt(0.5) is no resonance.

    Declaration

    Swift

    public init(
            _ input: AKNode,
            cornerFrequency: Double = 1000,
            gain: Double = 1.0,
            q: Double = 0.707)

    Parameters

    input

    Input node to process

    cornerFrequency

    Corner frequency.

    gain

    Amount at which the corner frequency value shall be increased or decreased. A value of 1 is a flat response.

    q

    Q of the filter. sqrt(0.5) is no resonance.

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