To view this content, you need to install Java from java.com

This sketch demonstrates how to use the getControls method of a Controller object. The class used here is an AudioOutput but you can also get the controls of AudioSample, AudioSnippet, AudioInput, and AudioPlayer objects. getControls returns an array of JavaSound Control objects. You can determine what type of Control each one is by using the getType method and then comparing the type to one of the static control types of Controller (see the hasControl example). If you plan to use the getControls method you must also import the Control class from JavaSound (see the source).

Source code: getControls

Built with Processing