parsing out WAVE header values