Reference p5.Noise

p5.Noise

Noise is a type of oscillator that generates a buffer with random values.

Syntax

p5.Noise(type)

Parameters

type
String:

Type of noise can be 'white' (default), 'brown' or 'pink'.

Methods

setType

Set type of noise to 'white', 'pink' or 'brown'. White is the default.

Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

Related References