saving wav correctly with 2 channels