AKBalancer

open class AKBalancer: AKNode, AKToggleable, AKComponent

This node outputs a version of the audio source, amplitude-modified so that its rms power is equal to that of the comparator audio source. Thus a signal that has suffered loss of power (eg., in passing through a filter bank) can be restored by matching it with, for instance, its own source. It should be noted that this modifies amplitude only; output signal is not altered in any other respect.

  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

    open var isStarted: Bool
  • Initialize this balance node

    • Parameters:
      • input: Input node to process
      • comparator: Audio to match power with

    Declaration

    Swift

    public init( _ input: AKNode, comparator: AKNode)

    Parameters

    input

    Input node to process

    comparator

    Audio to match power with

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