Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into experimental-meisolesmes
Conflicts: python/pymei/Modules/layout.py python/pymei/Modules/shared.py
- Loading branch information
Showing
19 changed files
with
415 additions
and
33 deletions.
There are no files selected for viewing
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,111 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |||
<?oxygen SCHSchema="http://music-encoding.org/mei/schemata/2010-05/rng/mei-all.rng"?> | |||
<?oxygen RNGSchema="http://music-encoding.org/mei/schemata/2010-05/rng/mei-all.rng"?> | |||
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="2012"> | |||
<meiHead> | |||
<fileDesc> | |||
<titleStmt> | |||
<title>Lute Tablature</title> | |||
<respStmt> | |||
<name>Campion</name> | |||
</respStmt> | |||
</titleStmt> | |||
<pubStmt/> | |||
<sourceDesc> | |||
<source> | |||
<titleStmt> | |||
<title/> | |||
<respStmt> | |||
<name/> | |||
</respStmt> | |||
</titleStmt> | |||
<pubStmt/> | |||
</source> | |||
</sourceDesc> | |||
</meiHead> | |||
<music> | |||
<body> | |||
<!-- Encoding 1: above-the-staff duration values not explicitly encoded | |||
They can be implied from the @dur attributes on chord/note. --> | |||
<mdiv> | |||
<score> | |||
<scoreDef meter.count="2" meter.unit="2" meter.sym="cut" key.sig="0"> | |||
<staffGrp> | |||
<!-- Tab "staff" has same number of lines as tokens in tab.strings --> | |||
<!-- String pitches (written) given from highest to lowest --> | |||
<staffDef n="1" lines="6" tab.strings="e5 b4 g4 d4 a3 e3"/> | |||
</staffGrp> | |||
</scoreDef> | |||
<section> | |||
<measure n="1"> | |||
<staff> | |||
<layer> | |||
<chord dur="2"> | |||
<!-- extend tab.fret notation to include non-numerical values, such as 'a'? --> | |||
<note tab.fret="1" tab.string="6"/> | |||
<!-- more notes --> | |||
</chord> | |||
<chord dur="4"> | |||
<!-- notes --> | |||
</chord> | |||
<!-- Ambiguous rhythmic representation, i.e., missing @dur on chord, is OK in MEI --> | |||
<chord> | |||
<!-- notes --> | |||
</chord> | |||
</layer> | |||
</staff> | |||
</measure> | |||
<measure n="2"/> | |||
<measure n="3"/> | |||
<!-- Extend list of values for @left/@right to include value that indicates dots in all spaces? --> | |||
<measure n="4" right="rptboth"/> | |||
<measure n="5" left="rptboth"/> | |||
</section> | |||
</score> | |||
</mdiv> | |||
|
|||
<!-- Encoding 2: above-the-staff duration values explicitly encoded | |||
This is probably bad practice as it puts stuff in the model (the MEI) that ought to be in the view. --> | |||
<mdiv> | |||
<score> | |||
<scoreDef meter.count="2" meter.unit="2" meter.sym="cut" key.sig="0"> | |||
<staffGrp> | |||
<!-- A single-line staff where the line is invisible, all notes placed 'on the line' --> | |||
<staffDef n="1" lines="1" lines.visible="false" ontheline="true"/> | |||
<staffDef n="2" lines="6" tab.strings="e5 b4 g4 d4 a3 e3"/> | |||
</staffGrp> | |||
</scoreDef> | |||
<section> | |||
<measure n="1"> | |||
<staff n="1"> | |||
<layer> | |||
<note dur="2"/> | |||
<note dur="4"/> | |||
<space/> | |||
</layer> | |||
</staff> | |||
<staff n="2"> | |||
<layer> | |||
<chord dur="2"> | |||
<note tab.fret="1" tab.string="6"/> | |||
<!-- notes --> | |||
</chord> | |||
<chord dur="4"> | |||
<!-- notes --> | |||
</chord> | |||
<chord> | |||
<!-- notes --> | |||
</chord> | |||
</layer> | |||
</staff> | |||
</measure> | |||
<measure n="2"/> | |||
<measure n="3"/> | |||
<measure n="4" right="rptboth"/> | |||
<measure n="5" left="rptboth"/> | |||
</section> | |||
</score> | |||
</mdiv> | |||
</body> | |||
</music> | |||
</mei> |
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.