convertToWAV: remove additional unneeded code