Type alias TimeObject

TimeObject: {
    [sub in Subdivision]?: number
}

A time object has a subdivision as the keys and a number as the values.

Example

Tone.Time({
"2n": 1,
"8n": 3
}).valueOf(); // 2n + 8n * 3