Reads a WAVE header: layout and length, no samples.
import { wavInfo } from '@datamoc/mwg/audio';declare const bytes: Uint8Array;console.log(wavInfo(bytes).sampleRate); Copy
import { wavInfo } from '@datamoc/mwg/audio';declare const bytes: Uint8Array;console.log(wavInfo(bytes).sampleRate);
Reads a WAVE header: layout and length, no samples.