Generating .wav file for checking.