Playing Audio in Processing

I’ve been looking at how to import an audio source into Processing so that it can be used to manipulate a visual output. Using the Minim sound library I should be able to manipulate things based on either an audio file or an audio input through the line-in or mic-in.

I have been going through the Quick Start Guide which is very useful and having finished it, I have a Processing sketch that will playback a file and display the audio spectrum and wave