Edited function that draws the waveform

The function now (presumably )correctly displays ca. 0,1-0,2 seconds
of the given sound.
Success! ('-_-)