Added logic to read WAV headers, missing format support.