Package processing.sound
Class WhiteNoise
This is a White Noise Generator. White Noise has a flat spectrum.
-
Constructor Summary
-
Method Summary
Methods inherited from class processing.sound.SoundObject
add, channels, getUnitGenerator, isPlaying, pan, play
-
Constructor Details
-
WhiteNoise
- Parameters:
parent
- typically use "this"
-
-
Method Details
-
amp
public void amp(float amp) Change the amplitude/volume of this sound.- Overrides:
amp
in classSoundObject
- Parameters:
amp
- A float value between 0.0 (complete silence) and 1.0 (full volume) controlling the amplitude/volume of this sound.
-