[ogg-dev] How to concatenate Ogg in the browser JS?

Ralph Giles giles at thaumas.net
Fri Nov 16 01:01:21 UTC 2018


On 2018-11-15 11:01 a.m., Vitaly Zdanevich wrote:
> Maybe you know some existing code snippet or library for Javascript for altering serial and crc?

I don't, sorry.

> Just now I compiled your quick script to wasm but the size is 28K, > I think about simple correct solution for that case.

If you strip out the fprintf()s for progress and error reporting, it 
might get smaller. More so if you replace the open/memmap step with 
direct access to the blob as an array. But it's not very much code to 
just port the functions to pure js.

  -r


More information about the ogg-dev mailing list