orca/ext/wasm3/test/wasi/wasmsynth
Martin Fouilleul 17c0f02962 orca runtime initial commit 2023-04-12 16:21:03 +02:00
..
README.md orca runtime initial commit 2023-04-12 16:21:03 +02:00
image.png orca runtime initial commit 2023-04-12 16:21:03 +02:00

README.md

Wasm Synth

Here is some music created by Peter Salomonsen in his wasm music experiment:

  • Hondarribia (Wasm Summit opening track), hondarribia.wasmSoundCloud
  • WASM song, wasm-song.wasmSoundCloud
  • Shuffle Chill, shuffle-chill.wasmSoundCloud
  • "WebChip" music, webchip-music.wasmSoundCloud

Check out Peter's excellent talk on WebAssembly Summit 2020.

Running

Generate a wav file:

wasm3 hondarribia.wasm | sox -S -t raw -b 32 -e float -r 44100 -c 2 - hondarribia.wav

Play live (choppy on most machines):

wasm3 hondarribia.wasm | sox -S -t raw -b 32 -e float -r 44100 -c 2 - -d