AKKorgLowPassFilter

open class AKKorgLowPassFilter: AKNode, AKToggleable, AKComponent

Analog model of the Korg 35 Lowpass Filter

  • Ramp Time represents the speed at which parameters are allowed to change

    Declaration

    Swift

    open var rampTime: Double = AKSettings.rampTime
  • Filter cutoff

    Declaration

    Swift

    open var cutoffFrequency: Double = 1000.0
  • Filter resonance (should be between 0-2)

    Declaration

    Swift

    open var resonance: Double = 1.0
  • Filter saturation.

    Declaration

    Swift

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

    Declaration

    Swift

    open var isStarted: Bool
  • Initialize this filter node

    Declaration

    Swift

    public init(
            _ input: AKNode,
            cutoffFrequency: Double = 1000.0,
            resonance: Double = 1.0,
            saturation: Double = 0.0)

    Parameters

    input

    Input node to process

    cutoffFrequency

    Filter cutoff

    resonance

    Filter resonance (should be between 0-2)

    saturation

    Filter saturation.

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