-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ways to encode more sophisticated layouts (#281)
* Added <voice-layout>, which lives within <staff-layout>. This is a way to say "In this staff, use the notation data from parts X and Y; use upstems for all of part X's notes and use downstems for all of part Y's notes." * Added <system-layout-change>. This is a way for a system layout to change mid-measure. * Gave <part-layout> two new attributes, stem and part-voice. Renamed the existing staff attribute to part-staff, for consistency and clarity. * Added new example documents "Multiple layouts", "Orchestral layout" and "Organ layout". Also updated the existing "System layouts" example to use <voice-layout>.
- Loading branch information
1 parent
a10119e
commit 9d19e1b
Showing
52 changed files
with
2,183 additions
and
58 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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
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
106 changes: 106 additions & 0 deletions
106
docs/mnx-reference/data-types/part-stem-direction/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,106 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Part stem direction data type | 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"> | ||
|
||
</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="../../">Reference</a> | ||
<ul> | ||
<li><a href="../../element-tree/">Elements</a></li> | ||
<li><a href="../">Data types</a></li> | ||
<li><a href="../../examples/">Example documents</a></li> | ||
</ul> | ||
</li> | ||
<li><a href="../../../concepts/">Concepts in MNX</a></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="../">Data types</a> > | ||
Part stem direction | ||
</p> | ||
|
||
<h1>Part stem direction data type</h1> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h2 id="allowed">Allowed values</h2> | ||
|
||
<table> | ||
|
||
<tr> | ||
<th class="nobr">up</th> | ||
<td>Set all stem directions to up.</td> | ||
</tr> | ||
|
||
<tr> | ||
<th class="nobr">down</th> | ||
<td>Set all stem directions to down.</td> | ||
</tr> | ||
|
||
<tr> | ||
<th class="nobr">float</th> | ||
<td>Determine stem directions algorithmically according to notehead staff position.</td> | ||
</tr> | ||
|
||
</table> | ||
|
||
|
||
|
||
<h2 id="where">Where is this type used?</h2> | ||
|
||
|
||
|
||
|
||
<p><a href="../../elements/part-layout/"><part-layout></a> — "stem" attribute</p> | ||
|
||
|
||
|
||
|
||
</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
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
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
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
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
111 changes: 111 additions & 0 deletions
111
docs/mnx-reference/data-types/voice-stem-direction/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,111 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Voice stem direction data type | 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"> | ||
|
||
</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="../../">Reference</a> | ||
<ul> | ||
<li><a href="../../element-tree/">Elements</a></li> | ||
<li><a href="../">Data types</a></li> | ||
<li><a href="../../examples/">Example documents</a></li> | ||
</ul> | ||
</li> | ||
<li><a href="../../../concepts/">Concepts in MNX</a></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="../">Data types</a> > | ||
Voice stem direction | ||
</p> | ||
|
||
<h1>Voice stem direction data type</h1> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h2 id="allowed">Allowed values</h2> | ||
|
||
<table> | ||
|
||
<tr> | ||
<th class="nobr">part</th> | ||
<td>Use stem directions as defined by the first <part-layout> within this <voice-layout>.</td> | ||
</tr> | ||
|
||
<tr> | ||
<th class="nobr">up</th> | ||
<td>Set all stem directions to up.</td> | ||
</tr> | ||
|
||
<tr> | ||
<th class="nobr">down</th> | ||
<td>Set all stem directions to down.</td> | ||
</tr> | ||
|
||
<tr> | ||
<th class="nobr">float</th> | ||
<td>Determine stem directions algorithmically according to notehead staff position.</td> | ||
</tr> | ||
|
||
</table> | ||
|
||
|
||
|
||
<h2 id="where">Where is this type used?</h2> | ||
|
||
|
||
|
||
|
||
<p><a href="../../elements/voice-layout/"><voice-layout></a> — "stem" attribute</p> | ||
|
||
|
||
|
||
|
||
</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
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
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
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
Oops, something went wrong.