AKPinkNoise

open class AKPinkNoise : AKNode, AKToggleable, AKComponent

Faust-based pink noise generator

  • Lower and upper bounds for Amplitude

    Declaration

    Swift

    public static let amplitudeRange: ClosedRange<Double>
  • Initial value for Amplitude

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • Amplitude. (Value between 0-1).

    Declaration

    Swift

    @objc
    open dynamic var amplitude: 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 noise node

    Declaration

    Swift

    @objc
    public init(
        amplitude: Double = defaultAmplitude)

    Parameters

    amplitude

    Amplitude. (Value between 0-1).

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