Reference+
Name
play()
Class
BrownNoise
Description
Starts the noise
Examples
import processing.sound.*; BrownNoise noise; void setup() { size(640, 360); background(255); // Create the noise generator noise = new BrownNoise(this); noise.play(); } void draw() { }
Syntax
noise.play(amp)
noise.play(amp, pos)
noise.play(amp, add, pos)
Parameters
amp
(float)
The amplitude of the noise as a value between 0.0 and 1.0.pos
(float)
The panoramic position of the noise as a float from -1.0 to 1.0.
Return
void
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.