Revert "pep8 style correction in  waveform.py"

This reverts commit 35a523917eb9019309c28396818c4b904042c947.