The format read-only property of the AudioData interface returns the sample format of the AudioData object.
format
AudioData
MDN Reference