AKDCBlock

open class AKDCBlock: AKNode, AKToggleable, AKComponent, AKInput

Implements the DC blocking filter Y[i] = X[i] - X[i-1] + (igain * Y[i-1]) Based on work by Perry Cook.

  • Four letter unique description of the node

    Declaration

    Swift

    public static let ComponentDescription = AudioComponentDescription(effect: "dcbk")
  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

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

    Declaration

    Swift

    public init( _ input: AKNode? = nil)

    Parameters

    input

    Input node to process

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