Closed jsbean closed 5 years ago
The Key and Time types can each represent one of a couple known kinds.
Key
Time
Instead of having to initialize Key and Time with the Kind directly, this PR adds multiple initializers that cut directly to defining the Kind.
Kind
For example, now you can define a Time element like this:
let _ = Time(4,4) let _ = Time(3, 16, staff: 3)
or
let _ = Time(symbol: "XXX")
The
Key
andTime
types can each represent one of a couple known kinds.Instead of having to initialize
Key
andTime
with theKind
directly, this PR adds multiple initializers that cut directly to defining theKind
.For example, now you can define a
Time
element like this:or