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

This sketch demonstrates how to use the length method of a Playable class. The class used here is AudioPlayer, but you can also get the length of an AudioSnippet. The length is how long the recording being played by the player is in milliseconds (1 ms = 1/1000 of a second).

Source code: length waveform

Built with Processing