Gamelan

Schedule interlocking slendro patterns with metalophone partials and gong structure.

npx web-audio-api gamelan 120 20s
tempo=<bpm>
tempo
-d, --duration <time>
run time (CLI accepts s/m/h suffixes; default: 20s)
ready

This is a gamelan music generator: interlocking slendro-scale patterns, sometimes called kotekan, are scheduled with metalophone-like partials and a gong structure. Hear it in the browser, or render the same interlocking pattern from the Node CLI.