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

This sketch demonstrates how to use the sampleRate method of a Recordable class. The class used here is AudioOutput, but you can also get the sample rate of AudioInput, AudioPlayer, and AudioSample objects. The sampleRate method returns the sample rate of the audio that the Recordable is working with.

Source code: sampleRate

Built with Processing