AKEqualizerFilter

open class AKEqualizerFilter : AKNode, AKToggleable, AKComponent, AKInput

A 2nd order tunable equalization filter that provides a peak/notch filter for building parametric/graphic equalizers. With gain above 1, there will be a peak at the center frequency with a width dependent on bandwidth. If gain is less than 1, a notch is formed around the center frequency.

  • Lower and upper bounds for Center Frequency

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public static let defaultCenterFrequency: Double
  • Initial value for Bandwidth

    Declaration

    Swift

    public static let defaultBandwidth: Double
  • Initial value for Gain

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • Center frequency. (in Hertz)

    Declaration

    Swift

    @objc
    open dynamic var centerFrequency: Double { get set }
  • The peak/notch bandwidth in Hertz

    Declaration

    Swift

    @objc
    open dynamic var bandwidth: Double { get set }
  • The peak/notch gain

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool { get }
  • 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()