AKFormantFilter

open class AKFormantFilter: AKNode, AKToggleable, AKComponent

When fed with a pulse train, it will generate a series of overlapping grains. Overlapping will occur when 1/freq < dec, but there is no upper limit on the number of overlaps.

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

    Declaration

    Swift

    open var rampTime: Double = AKSettings.rampTime
  • x

    Center frequency.

    Declaration

    Swift

    open var x: Double = 0
  • y

    Impulse response attack time (in seconds).

    Declaration

    Swift

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

    Declaration

    Swift

    open var isStarted: Bool
  • Initialize this filter node

    • Parameters:
      • input: Input node to process
      • centerFrequency: Center frequency.
      • attackDuration: Impulse response attack time (in seconds).
      • decayDuration: Impulse reponse decay time (in seconds)

    Declaration

    Swift

    public init(
            _ input: AKNode,
            x: Double = 0,
            y: Double = 0)

    Parameters

    input

    Input node to process

    centerFrequency

    Center frequency.

    attackDuration

    Impulse response attack time (in seconds).

    decayDuration

    Impulse reponse decay time (in seconds)

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