AKFormantFilter

open class AKFormantFilter : AKNode, AKToggleable, AKComponent, AKInput

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.

  • Lower and upper bounds for Center Frequency

    Declaration

    Swift

    public static let centerFrequencyRange: ClosedRange<Double>
  • Lower and upper bounds for Attack Duration

    Declaration

    Swift

    public static let attackDurationRange: ClosedRange<Double>
  • Lower and upper bounds for Decay Duration

    Declaration

    Swift

    public static let decayDurationRange: ClosedRange<Double>
  • Initial value for Center Frequency

    Declaration

    Swift

    public static let defaultCenterFrequency: Double
  • Initial value for Attack Duration

    Declaration

    Swift

    public static let defaultAttackDuration: Double
  • Initial value for Decay Duration

    Declaration

    Swift

    public static let defaultDecayDuration: Double
  • Ramp Duration represents the speed at which parameters are allowed to change

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • Center frequency.

    Declaration

    Swift

    @objc
    open dynamic var centerFrequency: Double { get set }
  • Impulse response attack duration (in seconds).

    Declaration

    Swift

    @objc
    open dynamic var attackDuration: Double { get set }
  • Impulse reponse decay duration (in seconds)

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool { 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()