Name

stop()

Class

HighPass

Description

Stop the effect.

Examples

  • import processing.sound.*;
    
    WhiteNoise noise;
    HighPass highPass;
    
    void setup() {
      size(640,360);
      background(255);
        
      // Create a noise generator and a bandpass filter
      noise = new WhiteNoise(this);
      highPass = new HighPass(this);
        
      noise.play(0.5);
      highPass.process(noise, 5000);
    }      
    
    void draw() {
    }
    
    void mousePressed() {	
      //stop the noise generator and the filter
      noise.stop();
      highPass.stop();
    }
    
    

Syntax

  • effect.stop()

Return

  • void