Added WAVArray and writemime methods