MNX example: Clef changes | MNX specification

# Clef changes

Each measure can encode a list of clefs. For an inner-bar clef change, the "position" attribute describes the clef's position in the bar. If "position" isn't provided, the clef is interpreted to be the start of the bar.

{ "mnx": { "version": 1 }, "global": { "measures": [ { "time": { "count": 4, "unit": 4 } } ] }, "parts": [ { "measures": [ { "clefs": [ { "clef": { "sign": "G", "staffPosition": -2 } }, { "clef": { "sign": "F", "staffPosition": 2 }, "position": { "fraction": [ 1, 2 ] } } ], "sequences": [ { "content": [ { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 4, "step": "C" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 3, "step": "G" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 3, "step": "E" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "pitch": { "octave": 3, "step": "C" } } ] } ] } ] } ] } ] }