C++ program to generate waveform data and render waveform images from audio files