orca/ext/wasm3/test/wasi/wasmsynth/README.md

1.0 KiB

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