AKWhiteNoise

open class AKWhiteNoise: AKNode, AKToggleable, AKComponent

White noise generator

  • Four letter unique description of the node

    Declaration

    Swift

    public static let ComponentDescription = AudioComponentDescription(generator: "wnoz")
  • Ramp Time represents the speed at which parameters are allowed to change

    Declaration

    Swift

    @objc open dynamic var rampTime: Double = AKSettings.rampTime
  • Amplitude. (Value between 0-1).

    Declaration

    Swift

    @objc open dynamic var amplitude: Double = 1
  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

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

    Declaration

    Swift

    public init(amplitude: Double = 1)

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