Clef changes
Each measure can encode a list of clefs. For an inner-bar clef change, the "position" key 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": [
{
"type": "event",
"duration": {
"base": "quarter"
},
"notes": [
{
"pitch": {
"octave": 4,
"step": "C"
}
}
]
},
{
"type": "event",
"duration": {
"base": "quarter"
},
"notes": [
{
"pitch": {
"octave": 3,
"step": "G"
}
}
]
},
{
"type": "event",
"duration": {
"base": "quarter"
},
"notes": [
{
"pitch": {
"octave": 3,
"step": "E"
}
}
]
},
{
"type": "event",
"duration": {
"base": "quarter"
},
"notes": [
{
"pitch": {
"octave": 3,
"step": "C"
}
}
]
}
]
}
]
}
]
}
]
}