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

This sketch demonstrates how to use the removeSignal(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 you can remove one at a time by pressing any key. Signals are indexed starting from zero, so if you want to remove the third signal you'd call removeSignal(2). Removing a signal means that it will no long be part of a Polyphonic's signal chain.

Source code: removeSignalByIndex waveform

Built with Processing