AKClipper

open class AKClipper : AKNode, AKToggleable, AKComponent, AKInput

Clips a signal to a predefined limit, in a soft manner, using one of three methods.

  • Lower and upper bounds for Limit

    Declaration

    Swift

    public static let limitRange: ClosedRange<Double>
  • Initial value for Limit

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • Threshold / limiting value.

    Declaration

    Swift

    @objc
    open dynamic var limit: 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 clipper node

    Declaration

    Swift

    @objc
    public init(
        _ input: AKNode? = nil,
        limit: Double = defaultLimit
        )

    Parameters

    input

    Input node to process

    limit

    Threshold / limiting value.

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