Create wave header and attach raw data