This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

This sketch demonstrates how to use the disableEffect(AudioEffect) method of an Effectable class. The class used here is AudioPlayer, but you can also disable effects on AudioInput, AudioOutput, and AudioSample objects. This sketch adds a low pass filter to the player which you can then disable by pressing any key. Disabling an effect means that it stays attached to the Effectable you added it to and it retains its position in the chain of effects. So you can renable it later without having to add it again or insert in the same position.

Source code: disableEffect waveform

Built with Processing