Time and Rhythm
Time signatures
Functions to parse time signatures
API
TimeSignature.names
names() => string[]
Return a list of most most frequently-used time signatures:
TimeSignature.get
get(name: string | [number, number]) // => object
Get a time signature:
type
can be simple
, compound
, regular
, irregular
or irrational
Additive signatures are accepted:
Irrational signatures are also interpreted:
Arrays can be passed as arguments: