convertToWAV: removed unneeded code