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

This sketch demonstrates how to use the disableSignal(AudioSignal) method of a Polyphonic class. Currently the only Polyphonic class in Minim is AudioOutput. This sketch adds a sine wave and a saw wave to the output and you can disable the saw wave by pressing any key. Disabling a signal means that it will not be used when a Polyphonic class is asked to produce a new buffer of audio, but the signal remains in the signal chain so that you can enable it again without having to re-add it to the chain.

Source code: disableSignal waveform

Built with Processing