AKHighShelfParametricEqualizerFilter

open class AKHighShelfParametricEqualizerFilter : AKNode, AKToggleable, AKComponent, AKInput

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

  • Lower and upper bounds for Center Frequency

    Declaration

    Swift

    public static let centerFrequencyRange: ClosedRange<Double>
  • Lower and upper bounds for Gain

    Declaration

    Swift

    public static let gainRange: ClosedRange<Double>
  • Lower and upper bounds for Q

    Declaration

    Swift

    public static let qRange: ClosedRange<Double>
  • Initial value for Center Frequency

    Declaration

    Swift

    public static let defaultCenterFrequency: Double
  • Initial value for Gain

    Declaration

    Swift

    public static let defaultGain: Double
  • Initial value for Q

    Declaration

    Swift

    public static let defaultQ: Double
  • Ramp Duration represents the speed at which parameters are allowed to change

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • Corner frequency.

    Declaration

    Swift

    @objc
    open dynamic var centerFrequency: Double { get set }
  • 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 { get set }
  • q

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    public init(
        _ input: AKNode? = nil,
        centerFrequency: Double = defaultCenterFrequency,
        gain: Double = defaultGain,
        q: Double = defaultQ
        )

    Parameters

    input

    Input node to process

    centerFrequency

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