AKModalResonanceFilter

open class AKModalResonanceFilter : AKNode, AKToggleable, AKComponent, AKInput

A modal resonance filter used for modal synthesis. Plucked and bell sounds can be created using passing an impulse through a combination of modal filters.

  • Lower and upper bounds for Frequency

    Declaration

    Swift

    public static let frequencyRange: ClosedRange<Double>
  • Lower and upper bounds for Quality Factor

    Declaration

    Swift

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

    Declaration

    Swift

    public static let defaultFrequency: Double
  • Initial value for Quality Factor

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • Resonant frequency of the filter.

    Declaration

    Swift

    @objc
    open dynamic var frequency: Double { get set }
  • Quality factor of the filter. Roughly equal to Q/frequency.

    Declaration

    Swift

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