yes, thefiloe's approach is the way to go. You should open the file twice - once for the playback engine, and once for the WaveForm renderer. The demo app is set up to draw the waveform while it plays so not really suitable for drawing up front.
Mark