this pull request fixes pops 

ALex's changes to get rid of click at the end of sound. I also changed
the type of oscillator from 0 to 1, which increases the volume.