// Serial music — twelve-tone technique (Schoenberg / Webern). // Pointillistic, wide register, sparse — different every run. // Run: node examples/serial.js 72 30s // Run: node examples/serial.js tempo=100 dur=1m import { AudioContext } from 'web-audio-api' import { init } from './graphs/serial.js' import { args, sec, keys, clearLine, help } from './utils.js' help({ description: 'generate pointillistic music from a random twelve-tone row', usage: ['', '[tempo] [duration]', 'tempo=100 dur=1m'], options: [ ['tempo=', 'approximate tempo (default: 72)'], ['-d, --duration