AKDynamicRangeCompressor

open class AKDynamicRangeCompressor : AKNode, AKToggleable, AKComponent, AKInput

Dynamic range compressor from Faust

  • Lower and upper bounds for Ratio

    Declaration

    Swift

    public static let ratioRange: ClosedRange<Double>
  • Lower and upper bounds for Threshold

    Declaration

    Swift

    public static let thresholdRange: ClosedRange<Double>
  • Lower and upper bounds for Attack Duration

    Declaration

    Swift

    public static let attackDurationRange: ClosedRange<Double>
  • Lower and upper bounds for Release Duration

    Declaration

    Swift

    public static let releaseDurationRange: ClosedRange<Double>
  • Initial value for Ratio

    Declaration

    Swift

    public static let defaultRatio: Double
  • Initial value for Threshold

    Declaration

    Swift

    public static let defaultThreshold: Double
  • Initial value for Attack Duration

    Declaration

    Swift

    public static let defaultAttackDuration: Double
  • Initial value for Release Duration

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • Ratio to compress with, a value > 1 will compress

    Declaration

    Swift

    @objc
    open dynamic var ratio: Double { get set }
  • Threshold (in dB) 0 = max

    Declaration

    Swift

    @objc
    open dynamic var threshold: Double { get set }
  • Attack Duration in seconds

    Declaration

    Swift

    @objc
    open dynamic var attackDuration: Double { get set }
  • Release Duration in seconds

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool { get }
  • 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()