Reference p5.Noise

p5.Noise

Generate a static noise source. Noise is a useful tool in sound synthesis. It can emulate ocean or wind sounds. It can also be used to create percussive or other musical sounds when connected to other sound effects like filters and envelopes. There are several types of noise which differ in perceived "brightness."

Examples

Syntax

p5.Noise([type])

Parameters

type
String: the type of noise (white, pink, brown)

Methods

type
Changes the type of noise function. White noise is brighter and more "full spectrum" while 'pink' and 'brown' noise is a bit darker.
Notice any errors or typos? Please let us know. Please feel free to edit src/sources/Noise.js and open a pull request!

Related References