MNX example: Beams (with inner grace notes) | MNX specification

# Beams (with inner grace notes)

See also: This same example in MusicXML

{ "mnx": { "support": { "useBeams": true }, "version": 1 }, "global": { "measures": [ { "time": { "count": 4, "unit": 4 } } ] }, "parts": [ { "measures": [ { "beams": [ { "_c": "Note that ev2 (the grace note) isn't included in the beam.", "events": [ "ev1", "ev3", "ev4", "ev5" ] } ], "clefs": [ { "clef": { "sign": "G", "staffPosition": -2 } } ], "sequences": [ { "content": [ { "id": "ev1", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] }, { "id": "ev2", "type": "grace", "content": [ { "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 4, "step": "B" } } ] } ] }, { "id": "ev3", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "D" } } ] }, { "id": "ev4", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "id": "ev5", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "F" } } ] }, { "duration": { "base": "half" }, "rest": {} } ] } ] } ] } ] }