feat(examples): add example demonstrating wasm playback in browser

This commit is contained in:
João Faria
2024-04-08 17:01:39 +01:00
committed by GitHub
parent 6d4529971c
commit 20fc12c529
4 changed files with 67 additions and 1 deletions

View File

@ -0,0 +1,14 @@
Requirements: sointu binaries, `wabt`
To generate the .wasm file:
```
sointu-compile -o . -arch=wasm tests/test_chords.yml
wat2wasm --enable-bulk-memory test_chords.wat
```
To run the example:
```
npx serve examples/code/wasm
```