This sketch demonstrates how to use the signalCount method of a Polyphonic class.
Currently the only Polyphonic class in Minim is AudioOutput.
This sketch adds four sine waves to the output and you can remove one at a time by pressing any key.
Text on screen will tell you how many signals are currently attached to the output.
Source code: signalCount waveform
Built with Processing