Detect the audio type of a Buffer/Uint8Array