Name

stop()

Class

Reverb

Description

Stop the effect.

Examples

  • import processing.sound.*;
    
    AudioIn in;
    Reverb reverb;
    
    void setup() {
      size(640,360);
      background(255);
            
      // create the input stream
      in = new AudioIn(this, 0);
        
      // create a reverb effect
      reverb = new Reverb(this);
        
      // start the input stream
      in.play();
    
      // Patch the reverb
      reverb.process(in, 5);
      //reverb.damp(0.5);
    }      
    
    void draw() {
    }
    
    void mousePressed() {
      //in.stop();
      reverb.stop();
    }
    
    

Syntax

  • effect.stop()

Return

  • void