Display sound (.wav/.mp3) as graph in Java

audio, java

Solution

In the end I found code to do exactly what I wanted in Chapter 10 of the book Swing Hacks.

Problem

I need to display a graph of a sound file - i.e. a wave form as displayed by audio editors such as Audacity. How should I go about this? Is there anything in the Java Sound API that can help me?

Original source