MNX example: Parts | MNX specification

# Parts

See also: This same example in MusicXML

{ "mnx": { "support": { "useBeams": true }, "version": 1 }, "global": { "measures": [ { "time": { "count": 4, "unit": 4 } }, {} ] }, "parts": [ { "measures": [ { "clefs": [ { "clef": { "sign": "G", "staffPosition": -2 } } ], "sequences": [ { "content": [ { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "D" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "G" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "D" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] } ] } ] } ], "name": "Melody" }, { "measures": [ { "beams": [ { "events": [ "ev6", "ev7", "ev8", "ev9" ] } ], "clefs": [ { "clef": { "sign": "G", "staffPosition": -2 } } ], "sequences": [ { "content": [ { "duration": { "base": "half" }, "rest": {} }, { "id": "ev6", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] }, { "id": "ev7", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "D" } } ] }, { "id": "ev8", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "id": "ev9", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "D" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "half" }, "rest": {} }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "G" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] } ] } ] } ], "name": "Harmony" } ] }