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

This sketch demonstrates how to use the getMetaData method of AudioPlayer. This method is also available for AudioSnippet and AudioSample. You should use this method when you want to retrieve metadata about a file that you have loaded, like ID3 tags from an mp3 file. If you load WAV file or other non-tagged file, most of the metadata will be empty, but you will still have information like the filename and the length.

Source code: getMetaData

Built with Processing