Extracts waveform data from an audio file suitable for visually rendering the waveform.