MNX example: Beams (hooks) | MNX specification

# Beams (hooks)

See also: This same example in MusicXML

{ "mnx": { "support": { "useBeams": true }, "version": 1 }, "global": { "measures": [ { "time": { "count": 4, "unit": 4 } } ] }, "parts": [ { "measures": [ { "beams": [ { "beams": [ { "direction": "right", "events": [ "ev1" ] }, { "direction": "left", "events": [ "ev3" ] } ], "events": [ "ev1", "ev2", "ev3" ] }, { "beams": [ { "direction": "right", "events": [ "ev4" ] }, { "direction": "left", "events": [ "ev6" ] } ], "events": [ "ev4", "ev5", "ev6" ] }, { "beams": [ { "direction": "right", "events": [ "ev7" ] }, { "direction": "left", "events": [ "ev9" ] } ], "events": [ "ev7", "ev8", "ev9" ] } ], "clefs": [ { "clef": { "sign": "G", "staffPosition": -2 } } ], "sequences": [ { "content": [ { "id": "ev1", "duration": { "base": "16th" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] }, { "id": "ev2", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "D" } } ] }, { "id": "ev3", "duration": { "base": "16th" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] }, { "id": "ev4", "duration": { "base": "16th" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "id": "ev5", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "F" } } ] }, { "id": "ev6", "duration": { "base": "16th" }, "notes": [ { "pitch": { "octave": 5, "step": "E" } } ] }, { "id": "ev7", "duration": { "base": "16th" }, "notes": [ { "pitch": { "octave": 5, "step": "G" } } ] }, { "id": "ev8", "duration": { "base": "eighth" }, "notes": [ { "pitch": { "octave": 5, "step": "A" } } ] }, { "id": "ev9", "duration": { "base": "16th" }, "notes": [ { "pitch": { "octave": 5, "step": "G" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 6, "step": "C" } } ] } ] } ] } ] } ] }