AKParametricEQ

open class AKParametricEQ: AKNode, AKToggleable, AUComponent

AudioKit version of Apple’s ParametricEQ Audio Unit

  • Undocumented

    Declaration

    Swift

    open class AKParametricEQ: AKNode, AKToggleable, AUComponent
  • Center Freq (Hz) ranges from 20 to 22050 (Default: 2000)

    Declaration

    Swift

    open var centerFrequency: Double = 2000
  • q

    Q (Hz) ranges from 0.1 to 20 (Default: 1.0)

    Declaration

    Swift

    open var q: Double = 1.0
  • Gain (dB) ranges from -20 to 20 (Default: 0)

    Declaration

    Swift

    open var gain: Double = 0
  • Dry/Wet Mix (Default 100)

    Declaration

    Swift

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

    Declaration

    Swift

    open var isStarted = true
  • Initialize the parametric eq node

    • Parameters:
      • input: Input node to process
      • centerFrequency: Center Frequency (Hz) ranges from 20 to 22050 (Default: 2000)
      • q: Q (Hz) ranges from 0.1 to 20 (Default: 1.0)
      • gain: Gain (dB) ranges from -20 to 20 (Default: 0)

    Declaration

    Swift

    public init(
            _ input: AKNode,
            centerFrequency: Double = 2000,
            q: Double = 1.0,
            gain: Double = 0)

    Parameters

    input

    Input node to process

    centerFrequency

    Center Frequency (Hz) ranges from 20 to 22050 (Default: 2000)

    q

    Q (Hz) ranges from 0.1 to 20 (Default: 1.0)

    gain

    Gain (dB) ranges from -20 to 20 (Default: 0)

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