This sketch demonstrates how to use the hasEffect(AudioEffect) method of an Effectable class.
The class used here is AudioPlayer, but you can use this method on AudioInput,
AudioOutput, and AudioSample objects. This sketch creates a low pass filter in setup.
You can add the filter to the player by pressing 'a' and remove it by pressing 'r'. The text on the screen
will inform you if the player has the effect on it or not (and so will your ears).
Source code: hasEffect waveform
Built with Processing