Added discard_wav_header function to remove WAV meta-data