MCPcopy Create free account
hub / github.com/stemdeckapp/stemdeck / tag

Function tag

static/js/chunkedAudioEngine.js:27–27  ·  view source on GitHub ↗
(off)

Source from the content-addressed store, hash-verified

25function _parseWavHeader(buf) {
26 const view = new DataView(buf);
27 const tag = (off) => String.fromCharCode(...new Uint8Array(buf, off, 4));
28
29 if (tag(0) !== "RIFF" || tag(8) !== "WAVE") return null;
30

Callers 1

_parseWavHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected