Added the production of the sound waveform