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.

This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!

Related References