This sketch demonstrates two ways to accomplish offline (non-realtime) analysis of an audio file.
The first method, which uses an AudioSample, is what you see running.
The second method, which uses an AudioRecordingStream and is only available in Minim Beta 2.1.0 and beyond,
can be viewed by looking at the offlineAnalysis.pde file.
Source code: offlineAnalysis
Built with Processing