Skip to content

teropa/wasm-techno

Repository files navigation

Making Minimal Techno with WebAssembly And a C Compiler

Code for my JSHeroes 2024 presentation.

View the presentation here.

Running the example

Just start a static HTTP server from this directory, e.g.

npx serve

Hacking

To compile the C code to WebAssembly you'll need to have Emscripten installed and an Emscripten environment activated (i.e. emcc should be in your path).

You'll find the C code in techno.c, the Audio Worklet processor in TechnoProcessor.js, and page init in index.html.

After making changes in the C code, compile it by running npm run build.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published