This sketch demonstrates how to use the addListener method of a Recordable class.
The class used here is AudioPlayer, but you can also add listeners to AudioInput,
AudioOutput, and AudioSample objects. The class defined in waveform.pde implements
the AudioListener interface and can therefore be added as a listener to groove.
Source code: addListener waveform
Built with Processing