AKModalResonanceFilter

open class AKModalResonanceFilter: AKNode, AKToggleable, AKComponent

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.

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

    Declaration

    Swift

    open var rampTime: Double = AKSettings.rampTime
  • Resonant frequency of the filter.

    Declaration

    Swift

    open var frequency: Double = 500.0
  • Quality factor of the filter. Roughly equal to Q/frequency.

    Declaration

    Swift

    open var qualityFactor: Double = 50.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
      • frequency: Resonant frequency of the filter.
      • qualityFactor: Quality factor of the filter. Roughly equal to Q/frequency.

    Declaration

    Swift

    public init(
            _ input: AKNode,
            frequency: Double = 500.0,
            qualityFactor: Double = 50.0)

    Parameters

    input

    Input node to process

    frequency

    Resonant frequency of the filter.

    qualityFactor

    Quality factor of the filter. Roughly equal to Q/frequency.

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