Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 636 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 636 Bytes

amyrepl

Experimental python REPL for AMY (and maybe soon to be Tulip Desktop Web)

build notes

in AMY (maybe make this a submodule here), do make web

That creates amy.js and amy.wasm and amy.aw.js in amy/docs, copy that here

move / put this on line 16 of amy.js - still figuring out why emscripten puts this in the wrong spot

globalThis.AudioWorkletModule = amyModule;

eg.

...
  return moduleArg.ready
}
);
})();

globalThis.AudioWorkletModule = amyModule;
if (typeof exports === 'object' && typeof module === 'object')
  module.exports = amyModule;
...

run python server.py, go to localhost:8000