what is this?

the xequencer is a language for writing chiptune-like music using the browser's WebAudio API

it can play back the programmed music directly, or render it to a WAV file for downloading

reference

#
begins a comment, which runs until the next line
.
modifies the next beat by 3/2
..
modifies the next beat by 7/4
...
modifies the next beat by 15/8
....
modifies the next beat by 31/16
.....
modifies the next beat by 63/32
ante
modifies the tempo by the given interval
tempo
sets the tempo to the given number
beat
sets the beat length to the given number
groove
sets the groove modifier to the given list
root
sets the root frequency in Hz
legato
sets the legato time to the given interval; use 0 to disable
ratio
sets the base to be used for exponential ratios; default is 2
volume
sets the volume ratio for the current oscillator
volume
sets the volume ratio for the current oscillator
decay
sets the decay ratio for the current oscillator
attack
sets the attack ratio for the current oscillator
sustain
sets the sustain ratio for the current oscillator
release
sets the release ratio for the current oscillator
detune
sets the detune ratio for the current oscillator
hz
sets the exact frequency in Hz for the current oscillator
r
shorthand for the rest
rest
advance the clock one beat without playing anything