Reference+
Name
stop()
Class
BandPass
Description
Stop the effect.
Examples
import processing.sound.*; WhiteNoise noise; BandPass bandPass; float amp=0.0; void setup() { size(640,360); background(255); // Create a noise generator and a bandpass filter noise = new WhiteNoise(this); bandPass = new BandPass(this); noise.play(0.5); bandPass.process(noise, 5000); } void draw() { } void mousePressed() { //stop the noise generator and the filter //noise.stop(); bandPass.stop(); }
Syntax
effect.stop()
Return
void

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.