Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The new event.markings object is a place for event-level markings, such as articulations and tremolos. The currently defined markings are: * accent * breath * softAccent * spiccato * staccatissimo * staccato * stress * strongAccent * tenuto * tremolo * unstress This also includes two new example documents, "Articulations" and "Single-note tremolos."
- Loading branch information
1 parent
76193f4
commit f9ab654
Showing
46 changed files
with
2,561 additions
and
29 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,181 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>MNX example: Articulations | MNX specification</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<link rel="stylesheet" href="../../../static/styles.css"> | ||
|
||
<style> | ||
.diff * { font-weight: bold; color: blue !important; } | ||
</style> | ||
|
||
</head> | ||
|
||
<body class="has-sidenav"> | ||
<div class="topnav"> | ||
<button id="toggle" class="toggle"> | ||
<svg viewBox="0 0 100 80" width="16" height="16" fill="currentColor"> | ||
<rect width="100" height="20" rx="8"></rect> | ||
<rect y="30" width="100" height="20" rx="8"></rect> | ||
<rect y="60" width="100" height="20" rx="8"></rect> | ||
</svg> | ||
</button> | ||
<a class="logo" href="../../../"> | ||
<span class="logo-text">MNX specification</span> | ||
</a> | ||
</div> | ||
|
||
|
||
<div class="content"> | ||
<nav class="sidenav"> | ||
<ul> | ||
<li><a href="../../../">Home</a></li> | ||
<li><a href="../../objects/">Reference</a> | ||
<ul> | ||
<li><a href="../../objects/">Objects</a></li> | ||
<li><a href="../">Example documents</a></li> | ||
<li><a href="../../../mnx-schema.json">Raw JSON Schema</a></li> | ||
</ul> | ||
</li> | ||
<li><a href="../../../comparisons/musicxml/">MNX and MusicXML</a></li> | ||
</ul> | ||
</nav> | ||
<main> | ||
|
||
<p class="breadcrumb"> | ||
<a href="../../../">MNX specification</a> > | ||
<a href="../../">MNX reference</a> > | ||
<a href="../">Examples</a> > | ||
Articulations | ||
</p> | ||
|
||
<h1>Articulations</h1> | ||
|
||
|
||
<p><img src="../../../static/examples/articulations.png"></p> | ||
|
||
|
||
|
||
<p>Articulations live on an event. They're encoded in the event's "markings" object.</p> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="xmlmarkup">{ | ||
<a class="tag" href="../../objects/root/">"mnx"</a>: { | ||
<a class="tag" href="../../objects/mnx/">"version"</a>: <a class="tag" href="../../objects/version-number/">1</a> | ||
}, | ||
<a class="tag" href="../../objects/root/">"global"</a>: { | ||
<a class="tag" href="../../objects/global/">"measures"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/measure-global/">"time"</a>: { | ||
<a class="tag" href="../../objects/time/">"count"</a>: <a class="tag" href="../../objects/positive-integer/">4</a>, | ||
<a class="tag" href="../../objects/time/">"unit"</a>: <a class="tag" href="../../objects/time-signature-unit/">4</a> | ||
} | ||
} | ||
] | ||
}, | ||
<a class="tag" href="../../objects/root/">"parts"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/part/">"measures"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/part-measure/">"clefs"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/positioned-clef/">"clef"</a>: { | ||
<a class="tag" href="../../objects/clef/">"position"</a>: <a class="tag" href="../../objects/staff-position/">-2</a>, | ||
<a class="tag" href="../../objects/clef/">"sign"</a>: <a class="tag" href="../../objects/clef-sign/">"G"</a> | ||
} | ||
} | ||
], | ||
<a class="tag" href="../../objects/part-measure/">"sequences"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/sequence/">"content"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/event/">"type"</a>: "event", | ||
<a class="tag" href="../../objects/event/">"duration"</a>: { | ||
<a class="tag" href="../../objects/note-value/">"base"</a>: <a class="tag" href="../../objects/note-value-base/">"quarter"</a> | ||
}, | ||
<a class="tag" href="../../objects/event/">"markings"</a>: { | ||
<a class="tag" href="../../objects/event-markings/">"staccato"</a>: {} | ||
}, | ||
<a class="tag" href="../../objects/event/">"notes"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/note/">"pitch"</a>: { | ||
<a class="tag" href="../../objects/pitch/">"octave"</a>: <a class="tag" href="../../objects/octave/">5</a>, | ||
<a class="tag" href="../../objects/pitch/">"step"</a>: <a class="tag" href="../../objects/step/">"E"</a> | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
<a class="tag" href="../../objects/event/">"type"</a>: "event", | ||
<a class="tag" href="../../objects/event/">"duration"</a>: { | ||
<a class="tag" href="../../objects/note-value/">"base"</a>: <a class="tag" href="../../objects/note-value-base/">"quarter"</a> | ||
}, | ||
<a class="tag" href="../../objects/event/">"markings"</a>: { | ||
<a class="tag" href="../../objects/event-markings/">"tenuto"</a>: {} | ||
}, | ||
<a class="tag" href="../../objects/event/">"notes"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/note/">"pitch"</a>: { | ||
<a class="tag" href="../../objects/pitch/">"octave"</a>: <a class="tag" href="../../objects/octave/">5</a>, | ||
<a class="tag" href="../../objects/pitch/">"step"</a>: <a class="tag" href="../../objects/step/">"E"</a> | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
<a class="tag" href="../../objects/event/">"type"</a>: "event", | ||
<a class="tag" href="../../objects/event/">"duration"</a>: { | ||
<a class="tag" href="../../objects/note-value/">"base"</a>: <a class="tag" href="../../objects/note-value-base/">"quarter"</a> | ||
}, | ||
<a class="tag" href="../../objects/event/">"markings"</a>: { | ||
<a class="tag" href="../../objects/event-markings/">"accent"</a>: {} | ||
}, | ||
<a class="tag" href="../../objects/event/">"notes"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/note/">"pitch"</a>: { | ||
<a class="tag" href="../../objects/pitch/">"octave"</a>: <a class="tag" href="../../objects/octave/">5</a>, | ||
<a class="tag" href="../../objects/pitch/">"step"</a>: <a class="tag" href="../../objects/step/">"E"</a> | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
<a class="tag" href="../../objects/event/">"type"</a>: "event", | ||
<a class="tag" href="../../objects/event/">"duration"</a>: { | ||
<a class="tag" href="../../objects/note-value/">"base"</a>: <a class="tag" href="../../objects/note-value-base/">"quarter"</a> | ||
}, | ||
<a class="tag" href="../../objects/event/">"markings"</a>: { | ||
<a class="tag" href="../../objects/event-markings/">"strongAccent"</a>: {} | ||
}, | ||
<a class="tag" href="../../objects/event/">"notes"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/note/">"pitch"</a>: { | ||
<a class="tag" href="../../objects/pitch/">"octave"</a>: <a class="tag" href="../../objects/octave/">5</a>, | ||
<a class="tag" href="../../objects/pitch/">"step"</a>: <a class="tag" href="../../objects/step/">"E"</a> | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
}</div> | ||
|
||
</main> | ||
</div> | ||
|
||
|
||
<script type="text/javascript" src="../../../static/global.js"></script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
184 changes: 184 additions & 0 deletions
184
docs/mnx-reference/examples/single-note-tremolos/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>MNX example: Tremolos (single-note) | MNX specification</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<link rel="stylesheet" href="../../../static/styles.css"> | ||
|
||
<style> | ||
.diff * { font-weight: bold; color: blue !important; } | ||
</style> | ||
|
||
</head> | ||
|
||
<body class="has-sidenav"> | ||
<div class="topnav"> | ||
<button id="toggle" class="toggle"> | ||
<svg viewBox="0 0 100 80" width="16" height="16" fill="currentColor"> | ||
<rect width="100" height="20" rx="8"></rect> | ||
<rect y="30" width="100" height="20" rx="8"></rect> | ||
<rect y="60" width="100" height="20" rx="8"></rect> | ||
</svg> | ||
</button> | ||
<a class="logo" href="../../../"> | ||
<span class="logo-text">MNX specification</span> | ||
</a> | ||
</div> | ||
|
||
|
||
<div class="content"> | ||
<nav class="sidenav"> | ||
<ul> | ||
<li><a href="../../../">Home</a></li> | ||
<li><a href="../../objects/">Reference</a> | ||
<ul> | ||
<li><a href="../../objects/">Objects</a></li> | ||
<li><a href="../">Example documents</a></li> | ||
<li><a href="../../../mnx-schema.json">Raw JSON Schema</a></li> | ||
</ul> | ||
</li> | ||
<li><a href="../../../comparisons/musicxml/">MNX and MusicXML</a></li> | ||
</ul> | ||
</nav> | ||
<main> | ||
|
||
<p class="breadcrumb"> | ||
<a href="../../../">MNX specification</a> > | ||
<a href="../../">MNX reference</a> > | ||
<a href="../">Examples</a> > | ||
Tremolos (single-note) | ||
</p> | ||
|
||
<h1>Tremolos (single-note)</h1> | ||
|
||
|
||
<p><img src="../../../static/examples/tremolos.png"></p> | ||
|
||
|
||
|
||
<p>Single-note tremolos live on an event. They're encoded in the event's "markings" object. Each tremolo must encode the number of visible marks — 1, 2 and 3 in this example.</p> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="xmlmarkup">{ | ||
<a class="tag" href="../../objects/root/">"mnx"</a>: { | ||
<a class="tag" href="../../objects/mnx/">"version"</a>: <a class="tag" href="../../objects/version-number/">1</a> | ||
}, | ||
<a class="tag" href="../../objects/root/">"global"</a>: { | ||
<a class="tag" href="../../objects/global/">"measures"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/measure-global/">"time"</a>: { | ||
<a class="tag" href="../../objects/time/">"count"</a>: <a class="tag" href="../../objects/positive-integer/">4</a>, | ||
<a class="tag" href="../../objects/time/">"unit"</a>: <a class="tag" href="../../objects/time-signature-unit/">4</a> | ||
} | ||
} | ||
] | ||
}, | ||
<a class="tag" href="../../objects/root/">"parts"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/part/">"measures"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/part-measure/">"clefs"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/positioned-clef/">"clef"</a>: { | ||
<a class="tag" href="../../objects/clef/">"position"</a>: <a class="tag" href="../../objects/staff-position/">-2</a>, | ||
<a class="tag" href="../../objects/clef/">"sign"</a>: <a class="tag" href="../../objects/clef-sign/">"G"</a> | ||
} | ||
} | ||
], | ||
<a class="tag" href="../../objects/part-measure/">"sequences"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/sequence/">"content"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/event/">"type"</a>: "event", | ||
<a class="tag" href="../../objects/event/">"duration"</a>: { | ||
<a class="tag" href="../../objects/note-value/">"base"</a>: <a class="tag" href="../../objects/note-value-base/">"quarter"</a> | ||
}, | ||
<a class="tag" href="../../objects/event/">"notes"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/note/">"pitch"</a>: { | ||
<a class="tag" href="../../objects/pitch/">"octave"</a>: <a class="tag" href="../../objects/octave/">5</a>, | ||
<a class="tag" href="../../objects/pitch/">"step"</a>: <a class="tag" href="../../objects/step/">"C"</a> | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
<a class="tag" href="../../objects/event/">"type"</a>: "event", | ||
<a class="tag" href="../../objects/event/">"duration"</a>: { | ||
<a class="tag" href="../../objects/note-value/">"base"</a>: <a class="tag" href="../../objects/note-value-base/">"quarter"</a> | ||
}, | ||
<a class="tag" href="../../objects/event/">"markings"</a>: { | ||
<a class="tag" href="../../objects/event-markings/">"tremolo"</a>: { | ||
<a class="tag" href="../../objects/tremolo-single/">"marks"</a>: <a class="tag" href="../../objects/positive-integer/">1</a> | ||
} | ||
}, | ||
<a class="tag" href="../../objects/event/">"notes"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/note/">"pitch"</a>: { | ||
<a class="tag" href="../../objects/pitch/">"octave"</a>: <a class="tag" href="../../objects/octave/">5</a>, | ||
<a class="tag" href="../../objects/pitch/">"step"</a>: <a class="tag" href="../../objects/step/">"C"</a> | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
<a class="tag" href="../../objects/event/">"type"</a>: "event", | ||
<a class="tag" href="../../objects/event/">"duration"</a>: { | ||
<a class="tag" href="../../objects/note-value/">"base"</a>: <a class="tag" href="../../objects/note-value-base/">"quarter"</a> | ||
}, | ||
<a class="tag" href="../../objects/event/">"markings"</a>: { | ||
<a class="tag" href="../../objects/event-markings/">"tremolo"</a>: { | ||
<a class="tag" href="../../objects/tremolo-single/">"marks"</a>: <a class="tag" href="../../objects/positive-integer/">2</a> | ||
} | ||
}, | ||
<a class="tag" href="../../objects/event/">"notes"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/note/">"pitch"</a>: { | ||
<a class="tag" href="../../objects/pitch/">"octave"</a>: <a class="tag" href="../../objects/octave/">5</a>, | ||
<a class="tag" href="../../objects/pitch/">"step"</a>: <a class="tag" href="../../objects/step/">"C"</a> | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
<a class="tag" href="../../objects/event/">"type"</a>: "event", | ||
<a class="tag" href="../../objects/event/">"duration"</a>: { | ||
<a class="tag" href="../../objects/note-value/">"base"</a>: <a class="tag" href="../../objects/note-value-base/">"quarter"</a> | ||
}, | ||
<a class="tag" href="../../objects/event/">"markings"</a>: { | ||
<a class="tag" href="../../objects/event-markings/">"tremolo"</a>: { | ||
<a class="tag" href="../../objects/tremolo-single/">"marks"</a>: <a class="tag" href="../../objects/positive-integer/">3</a> | ||
} | ||
}, | ||
<a class="tag" href="../../objects/event/">"notes"</a>: [ | ||
{ | ||
<a class="tag" href="../../objects/note/">"pitch"</a>: { | ||
<a class="tag" href="../../objects/pitch/">"octave"</a>: <a class="tag" href="../../objects/octave/">5</a>, | ||
<a class="tag" href="../../objects/pitch/">"step"</a>: <a class="tag" href="../../objects/step/">"C"</a> | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
}</div> | ||
|
||
</main> | ||
</div> | ||
|
||
|
||
<script type="text/javascript" src="../../../static/global.js"></script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.