Peter Salomonsen
(same as in 4klang)
[0, 0, 0, 0, 0, 0, 0, 0],
[64, 0, 65, 0, 0, 67, 64, 0],
[22, 23, 34, 34, 34, 0, 44, 45],
[22, 33, 0, 0, 34, 0, 44, 55]
[0, 1, 0, 2],
[1, 1, 3, 3],
[0, 0, 1, 2],
Patterns to be played per instrument
powered by WebAssembly
written in AssemblyScript
why did I choose it?
No sampled data, just code
create self-contained WebAssembly executables that can render music
wasmer song.wasm > song.raw
wasmer song.wasm | sox -S -t raw -b 32 -e float -r 44100 -c 2 - -d
wasmer song.wasm | sox -S -t raw -b 32 -e float -r 44100 -c 2 - song.wav
project contains the WebAssembly music experiment, and also the predecessing javascript music projects for Midi synths and 4klang.