working with wave file (not finished)