This sketch demonstrates how to use the enableSignal(int) method of a Polyphonic class.
Currently the only Polyphonic class in Minim is AudioOutput.
This sketch adds four sine waves to the output and then disables all of them.
You can enable them again by pressing '1', '2', '3', and '4'.
Signals are indexed starting from zero, so if you want to enable the third signal you'd call
enableSignal(2). Enabling a signal means that it will be used when a Polyphonic
class is asked to produce a new buffer of audio.
Source code: enableSignalByIndex waveform
Built with Processing