AKLowShelfParametricEqualizerFilter

open class AKLowShelfParametricEqualizerFilter: AKNode, AKToggleable, AKComponent, AKInput

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

  • Four letter unique description of the node

    Declaration

    Swift

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

    Declaration

    Swift

    @objc open dynamic var rampTime: Double = AKSettings.rampTime
  • Corner frequency.

    Declaration

    Swift

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

    Declaration

    Swift

    @objc open dynamic var gain: Double = 1.0
  • q

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public init(
            _ input: AKNode? = nil,
            cornerFrequency: Double = 1_000,
            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

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

    Declaration

    Swift

    @objc open func stop()