Notehead shapes

A note can encode a custom notehead in two ways: via a general "shape" or a specific SMuFL glyph. In most cases, it's better to use a "shape": that's a more general concept and software can dynamically choose the appropriate SMuFL glyph for the combination of "shape plus rhythmic duration."

This example shows upward- and downward-pointing triangles, duration-aware diamonds and a cymbal component with an X head. The first note doesn't encode an explicit notehead, so consuming software determines the notehead automatically. Each kit note inherits its kit component's X head or explicitly selects an oval, diamond or downward-pointing triangle notehead.

{ "mnx": { "version": 1 }, "global": { "measures": [ { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } }, { "time": { "count": 4, "unit": 4 } } ] }, "parts": [ { "kit": { "cymbal": { "name": "Cymbal", "notehead": { "shape": "x" }, "staffPosition": 4 } }, "measures": [ { "clefs": [ { "clef": { "sign": "G", "staffPosition": -2 } } ], "sequences": [ { "content": [ { "duration": { "base": "whole" }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "clefs": [ { "clef": { "sign": "G", "staffPosition": -2 } } ], "sequences": [ { "content": [ { "duration": { "base": "whole" }, "notes": [ { "notehead": { "shape": "oval" }, "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "whole" }, "notes": [ { "notehead": { "shape": "x" }, "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "whole" }, "notes": [ { "notehead": { "shape": "diamond" }, "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "whole" }, "notes": [ { "notehead": { "shape": "triangle" }, "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "whole" }, "notes": [ { "notehead": { "shape": "triangleDown" }, "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "whole" }, "notes": [ { "notehead": { "shape": "slash" }, "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "whole" }, "notes": [ { "notehead": { "shape": "plus" }, "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "whole" }, "notes": [ { "notehead": { "shape": "circleX" }, "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "whole" }, "notes": [ { "notehead": { "shape": "square" }, "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "half" }, "notes": [ { "notehead": { "shape": "diamond" }, "pitch": { "octave": 5, "step": "C" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "notehead": { "shape": "diamond" }, "pitch": { "octave": 5, "step": "C" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "notehead": { "shape": "diamond" }, "pitch": { "octave": 5, "step": "C" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "quarter" }, "notes": [ { "notehead": { "glyph": "noteheadXOrnateEllipse", "shape": "x" }, "pitch": { "octave": 5, "step": "C" } } ] }, { "duration": { "base": "quarter" }, "notes": [ { "notehead": { "glyph": "noteheadBlack", "shape": "custom" }, "pitch": { "octave": 5, "step": "C" } } ] }, { "duration": { "base": "half" }, "rest": {} } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "quarter" }, "kitNotes": [ { "kitComponent": "cymbal" } ] }, { "duration": { "base": "quarter" }, "kitNotes": [ { "kitComponent": "cymbal", "notehead": { "shape": "oval" } } ] }, { "duration": { "base": "quarter" }, "kitNotes": [ { "kitComponent": "cymbal", "notehead": { "shape": "diamond" } } ] }, { "duration": { "base": "quarter" }, "kitNotes": [ { "kitComponent": "cymbal", "notehead": { "shape": "triangleDown" } } ] } ] } ] } ] } ] }