"use strict"; exports.makeAudio = function makeAudio(n) { const u = new Uint8Array(n); for (let i = 0; i < n; i++) u[i] = (i * 7 + 3) % 256; return { uint8Array: u, label: "aud-" + n }; }; exports.emptyChunk = function emptyChunk() { return { uint8Array: new Uint8Array(0), label: "empty" }; }; class Chunk extends Uint8Array {} exports.subclassChunk = function subclassChunk() { const c = new Chunk(3); c[0] = 104; c[1] = 105; c[2] = 33; return { uint8Array: c, label: "sub" }; };