Multimeasure rests

This example document contains three views of the same underlying music: a "full score" plus two parts as intended for individual musicians. In MNX, these are represented by three separate <score> elements.

Multimeasure rests are tied to a particular <score>. They live within the <multimeasure-rests> element, and each rest defines its starting measure number and how long the rest lasts.

{ "mnx": { "version": 1 }, "global": { "measures": [ { "barline": { "type": "regular" }, "time": { "count": 4, "unit": 4 } }, {}, {}, {}, {}, {}, {} ] }, "layouts": [ { "id": "PartAAlone", "content": [ { "type": "staff", "sources": [ { "part": "PartA" } ] } ] }, { "id": "PartBAlone", "content": [ { "type": "staff", "sources": [ { "part": "PartB" } ] } ] } ], "parts": [ { "id": "PartA", "measures": [ { "clefs": [ { "clef": { "sign": "G", "staffPosition": -2 } } ], "sequences": [ { "content": [ { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] }, { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "type": "event", "duration": { "base": "half" }, "notes": [ { "pitch": { "octave": 5, "step": "G" } } ] } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] }, { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "type": "event", "duration": { "base": "half" }, "notes": [ { "pitch": { "octave": 5, "step": "G" } } ] } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "whole" }, "rest": {} } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "whole" }, "rest": {} } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] }, { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "type": "event", "duration": { "base": "half" }, "notes": [ { "pitch": { "octave": 5, "step": "G" } } ] } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] }, { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "type": "event", "duration": { "base": "half" }, "notes": [ { "pitch": { "octave": 5, "step": "G" } } ] } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "whole" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] } ] } ] } ] }, { "id": "PartB", "measures": [ { "clefs": [ { "clef": { "sign": "G", "staffPosition": -2 } } ], "sequences": [ { "content": [ { "type": "event", "duration": { "base": "whole" }, "rest": {} } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "whole" }, "rest": {} } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "D" } } ] }, { "type": "event", "duration": { "base": "half" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "type": "event", "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 5, "step": "D" } } ] }, { "type": "event", "duration": { "base": "half" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "whole" }, "rest": {} } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "whole" }, "rest": {} } ] } ] }, { "sequences": [ { "content": [ { "type": "event", "duration": { "base": "whole" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] } ] } ] } ] } ], "scores": [ { "name": "Full score", "pages": [ { "systems": [ { "measure": 1 }, { "measure": 5 } ] } ] }, { "layout": "PartAAlone", "multimeasure-rests": [ { "duration": 2, "start": 3 } ], "name": "Part A" }, { "layout": "PartBAlone", "multimeasure-rests": [ { "duration": 2, "start": 1 }, { "duration": 2, "start": 5 } ], "name": "Part B" } ] }