AKLowShelfFilter

open class AKLowShelfFilter: AKNode, AKToggleable, AUEffect, AKInput

AudioKit version of Apple’s LowShelfFilter Audio Unit

  • Four letter unique description of the node

    Declaration

    Swift

    public static let ComponentDescription = AudioComponentDescription(appleEffect: kAudioUnitSubType_LowShelfFilter)
  • Cutoff Frequency (Hz) ranges from 10 to 200 (Default: 80)

    Declaration

    Swift

    @objc open dynamic var cutoffFrequency: Double = 80
  • Gain (dB) ranges from -40 to 40 (Default: 0)

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @objc open dynamic var isStarted = true
  • Initialize the low shelf filter node

    Declaration

    Swift

    public init(
            _ input: AKNode? = nil,
            cutoffFrequency: Double = 80,
            gain: Double = 0)

    Parameters

    input

    Input node to process

    cutoffFrequency

    Cutoff Frequency (Hz) ranges from 10 to 200 (Default: 80)

    gain

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

  • Declaration

    Swift

    open class AKLowShelfFilter: AKNode, AKToggleable, AUEffect, AKInput
  • 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()
  • Disconnect the node

    Declaration

    Swift

    override open func disconnect()