AKBandPassFilter

open class AKBandPassFilter: AKNode, AKToggleable, AUComponent

AudioKit version of Apple’s BandPassFilter Audio Unit

  • Undocumented

    Declaration

    Swift

    open class AKBandPassFilter: AKNode, AKToggleable, AUComponent
  • Center Frequency (Hz) ranges from 20 to 22050 (Default: 5000)

    Declaration

    Swift

    open var centerFrequency: Double = 5000
  • Bandwidth (Cents) ranges from 100 to 12000 (Default: 600)

    Declaration

    Swift

    open var bandwidth: Double = 600
  • 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 band pass filter node

    • Parameters:
      • input: Input node to process
      • centerFrequency: Center Frequency (Hz) ranges from 20 to 22050 (Default: 5000)
      • bandwidth: Bandwidth (Cents) ranges from 100 to 12000 (Default: 600)

    Declaration

    Swift

    public init(
            _ input: AKNode,
            centerFrequency: Double = 5000,
            bandwidth: Double = 600)

    Parameters

    input

    Input node to process

    centerFrequency

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

    bandwidth

    Bandwidth (Cents) ranges from 100 to 12000 (Default: 600)

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