Reference > whiteNoise
Wave
Spectrum
whiteNoise
Returns a function that requires no input, and whose output is a random number between -1 and 1. You can create White Noise by mapping any wave to the whiteNoise function, using wave.map(whiteNoise)
You can create white noise from scratch using wave.map(() => Math.random())
.
You can find the code for whiteNoise
in the synthesine library.