MNX example: Lyric line metadata | MNX specification

# Lyric line metadata

Each line of lyrics has its own optional metadata, including the language code and a label. This lives in the top-level "global" attribute, as a "lyrics" object.

{ "mnx": { "version": 1 }, "global": { "lyrics": { "lineMetadata": { "1": { "label": "English", "lang": "en" }, "2": { "label": "Nederlands", "lang": "nl" }, "3": { "label": "Українська", "lang": "uk" }, "4": { "label": "Español", "lang": "es" } }, "lineOrder": [ "1", "2", "3", "4" ] }, "measures": [ { "time": { "count": 4, "unit": 4 } }, {} ] }, "parts": [ { "measures": [ { "clefs": [ { "clef": { "sign": "G", "staffPosition": -2 } } ], "sequences": [ { "content": [ { "duration": { "base": "half" }, "lyrics": { "lines": { "1": { "text": "I" }, "2": { "text": "Ik" }, "3": { "text": "Я" }, "4": { "text": "¡Yo" } } }, "notes": [ { "pitch": { "octave": 4, "step": "G" } } ] }, { "duration": { "base": "half" }, "lyrics": { "lines": { "1": { "text": "am" }, "2": { "text": "ben" }, "3": { "type": "start", "text": "І" }, "4": { "text": "soy" } } }, "notes": [ { "pitch": { "octave": 4, "step": "G" } } ] } ] } ] }, { "sequences": [ { "content": [ { "duration": { "base": "whole" }, "lyrics": { "lines": { "1": { "text": "John!" }, "2": { "text": "Jan!" }, "3": { "type": "end", "text": "ван!" }, "4": { "text": "Juan!" } } }, "notes": [ { "pitch": { "octave": 5, "step": "C" } } ] } ] } ] } ] } ] }