/** * This sketch demonstrates how to use the printControls method of a Controller object. * The class used here is an AudioOutput but you can also print the controls of AudioSample, * AudioSnippet, AudioInput, and AudioPlayer objects. printControls * will print out all the available controls (such as volume, gain, etc) and their ranges to the console. * If you are running this sketch in a web browser you will have to open the Java console to see the printout.
*/ import ddf.minim.*; Minim minim; AudioOutput out; void setup() { size(512, 200); minim = new Minim(this); out = minim.getLineOut(); out.printControls(); } void draw() { background(0); } void stop() { // always close Minim audio classes when you are finished with them out.close(); minim.stop(); super.stop(); }