Class WhiteNoise


public class WhiteNoise extends Noise<WhiteNoise>
This is a White Noise Generator. White Noise has a flat spectrum.
  • Constructor Details

    • WhiteNoise

      public WhiteNoise(PApplet parent)
      Parameters:
      parent - typically use "this"
  • Method Details

    • amp

      public void amp(float amp)
      Change the amplitude/volume of this sound.
      Overrides:
      amp in class SoundObject
      Parameters:
      amp - A float value between 0.0 (complete silence) and 1.0 (full volume) controlling the amplitude/volume of this sound.