AKResonantFilter

open class AKResonantFilter : AKNode, AKToggleable, AKComponent, AKInput

The output for reson appears to be very hot, so take caution when using this module.

  • Lower and upper bounds for Frequency

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public static let defaultFrequency: Double
  • Initial value for Bandwidth

    Declaration

    Swift

    public static let defaultBandwidth: 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 of the filter, or frequency position of the peak response.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool { get }
  • Initialize this filter node

    Declaration

    Swift

    @objc
    public init(
        _ input: AKNode? = nil,
        frequency: Double = defaultFrequency,
        bandwidth: Double = defaultBandwidth
        )

    Parameters

    input

    Input node to process

    frequency

    Center frequency of the filter, or frequency position of the peak response.

    bandwidth

    Bandwidth of the filter.

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