AKHighShelfFilter

open class AKHighShelfFilter : AKNode, AKToggleable, AUEffect, AKInput

AudioKit version of Apple’s HighShelfFilter Audio Unit

  • Four letter unique description of the node

    Declaration

    Swift

    public static let ComponentDescription: AudioComponentDescription
  • Cut Off Frequency (Hz) ranges from 10000 to 22050 (Default: 10000)

    Declaration

    Swift

    @objc
    open dynamic var cutoffFrequency: Double { get set }
  • Gain (dB) ranges from -40 to 40 (Default: 0)

    Declaration

    Swift

    @objc
    open dynamic var gain: Double { get set }
  • Dry/Wet Mix (Default 1)

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool
  • Initialize the high shelf filter node

    Declaration

    Swift

    @objc
    public init(
        _ input: AKNode? = nil,
        cutOffFrequency: Double = 10_000,
        gain: Double = 0)

    Parameters

    input

    Input node to process

    cutOffFrequency

    Cut Off Frequency (Hz) ranges from 10000 to 22050 (Default: 10000)

    gain

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

  • Declaration

    Swift

    public var inputNode: AVAudioNode { 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()
  • Disconnect the node

    Declaration

    Swift

    override open func disconnect()