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

This sketch demonstrates how to use the setOutputMixer method of Minim in conjunction with the getLineOut method. By accessing the Mixer objects of Javasound, you can find one that corresponds to the output mixer of the sound device of your choice. You can then set this Mixer as the one that should use when creating an AudioOutput for you. This Mixer will also be used when obtaining outputs for AudioPlayers, AudioSamples, and any other classes that result in sound being ouput to your speakers.

This sketch uses controlP5 for the GUI, a user-contributed Processing library.

Source code: setOutputMixer

Built with Processing