Tempo in beats per minute.
Events in time order.
Meter of the stream; its denominator sets what a beat is.
Generates a generic JSON representation of the stream. This is the standard contract for external engines.
The events, as in events.
Meter and tempo.
Tempo in beats per minute.
Written time signature: '4/4', '3+2+2/8'.
MusicStream A standard data structure for representing temporal musical events. Acts as a contract that can be consumed by audio engines (Tone.js, Web Audio) or MIDI writers.