Basic tool for reading and writing WAV file