Changes the type of noise function. White noise is brighter and more "full spectrum" while 'pink' and 'brown' noise is a bit darker.
Examples
Syntax
type(type)
Parameters
type
String: the type of noise (white, pink, brown)
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
getAudioContext
Get the window's audio context.
setAudioContext
Sets the AudioContext to a specified context to enable cross library compatibility.
userStartAudio
starts audio processing in the window when called from a user interaction (such as mousePressed()).
userStopAudio
stops audio processing in the browser window.