-
Notifications
You must be signed in to change notification settings - Fork 20
Description
I don't know if it is too early to raise issues with JSON MNX, but there are some discrepancies between the MNX examples and the Objects' documentation. These are all minor and easily fixed.
Examples https://w3c.github.io/mnx/docs/mnx-reference/examples/
Objects https://w3c.github.io/mnx/docs/mnx-reference/objects/
1) Event Object property "type" is required but is missing from the following MNX examples:
Beams (with inner grace notes)
lines 57, 73, 87, 101, 144
Grace notes (beamed)
lines 70, 84, 117, 131, 145, 178, 192, 206, 220
Multiple layouts
lines 205, 218, 231, 267, 280, 328, 341, 354, 390, 403, 451, 464, 477, 513, 526, 539, 587, 600, 613, 649, 662
Tempo markings
lines 52, 65, 78, 114, 127, 140
Suggested fix: add missing property "type": "event" to the "event" objects on the lines above.
2) String property values must be quoted, but the quotes are missing from:
Jumps (Dal Segno)
Unquoted string property value on "location" lines 12, 20
Jumps (D.S. al Fine)
Unquoted string property value on "location" lines 12, 17, 24
Suggested fix: add quotes to the above string property values.
3) Numeric property values must not be quoted, but they are here:
Key signatures
Quoted numeric property value "fifths" line 16
Octave shifts (8va)
Quoted numeric property value "value" line 60
Suggested fix: remove quotes from the above numeric property values
4) Global Data Object property "measures" is required, but is missing from:
Orchestral layout
Empty object "global" line 1
System layouts
Empty object "global" line 1
Suggested fix add property "measures": [] to the above global objects.
5) Stave Source Object does not have property"staff" but is used as follows:
Orchestral layout
"staff" on lines 48, 45
Organ layout
"staff" on lines lines 27, 36, 48, 91
System layouts
"staff" on lines lines 70, 79, 156, 165
Suggested fix: in the documentation for Stave Source Object add property "staff".
6) Stave Source Object does not have property "labelref" but is used as follows:
System layouts
"labelref" on lines 19, 24, 48, 53, 134, 139
Suggested fix:
I note that "labelref" is a property of the enclosing Stave Object, should this have been used instead?
Otherwise in the documentation for Stave Source Object add property "labelref".
7) Note Object does not have property "class" but it is used here:
Styling via a class (basic)
"class" line 44
Suggested fix: in the documentation for the Note Object add property "class".