mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-24 16:04:51 -04:00
export song with correct start/len
This commit is contained in:
committed by
Peter Salomonsen
parent
aa87a9db00
commit
dae8520e3f
@ -12,4 +12,4 @@ const mod = await WebAssembly.instantiate(wasm, {
|
||||
|
||||
const mem = mod.instance.exports.m;
|
||||
|
||||
await writeFile('test.raw', new Uint8Array(mem.buffer));
|
||||
await writeFile('test.raw', new Uint8Array(mem.buffer,mod.instance.exports.s,mod.instance.exports.l));
|
Reference in New Issue
Block a user