AKHighPassFilter

open class AKHighPassFilter: AKNode, AKToggleable, AUEffect

AudioKit version of Apple’s HighPassFilter Audio Unit

  • Undocumented

    Declaration

    Swift

    open class AKHighPassFilter: AKNode, AKToggleable, AUEffect
  • Cutoff Frequency (Hz) ranges from 10 to 22050 (Default: 6900)

    Declaration

    Swift

    open dynamic var cutoffFrequency: Double = 6_900
  • Resonance (dB) ranges from -20 to 40 (Default: 0)

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    open dynamic var isStarted = true
  • Initialize the high pass filter node

    • Parameters:
      • input: Input node to process
      • cutoffFrequency: Cutoff Frequency (Hz) ranges from 10 to 22050 (Default: 6900)
      • resonance: Resonance (dB) ranges from -20 to 40 (Default: 0)

    Declaration

    Swift

    public init(
            _ input: AKNode?,
            cutoffFrequency: Double = 6_900,
            resonance: Double = 0)

    Parameters

    input

    Input node to process

    cutoffFrequency

    Cutoff Frequency (Hz) ranges from 10 to 22050 (Default: 6900)

    resonance

    Resonance (dB) ranges from -20 to 40 (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()
  • Disconnect the node

    Declaration

    Swift

    override open func disconnect()