Reference setType()

setType()

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

Syntax

setType([type])

Parameters

type
String:

'white', 'pink' or 'brown'

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