Skip to content

Commit db2e9f6

Browse files
committedMay 20, 2020
various fixes to analysis
1 parent bffa8d1 commit db2e9f6

12 files changed

+35
-38
lines changed
 

‎_guidelines-v4/10-analysisharm.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@ title: "Analysis Markup and Harmonies"
66
sectionid: "analysisharm"
77
---
88

9-
{% include version-warning %}
10-
11-
This is a placeholder that needs to be filled.
9+
This chapter of the MEI Guidelines describes how the results of a musical analysis or harmonic information may be stored in MEI.

‎_guidelines-v4/10-analysisharm/01-analysis.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ title: "Analytical Information"
66
sectionid: "analysis"
77
---
88

9-
This chapter describes the use of attributes that capture data which may be useful for analytical purposes. The analysis module provides attributes that record relationships between entities found in the encoding. These attributes may be used differently by different users, depending on the purpose of the analysis. These Guidelines recommend that encoders employ commonly accepted analytical practices, such as "functional analysis" or "Schenkerian analysis", and document their use in the {% include link elem="encodingDesc" %} described in section {% include link id="headerEncodingDescription" %}. For general information on musical analysis, please consult Grove Music Online, "[Analysis](https://doi.org/10.1093/gmo/9781561592630.article.41862){:.link_ref}".
9+
This chapter describes the use of attributes that capture data which may be useful for analytical purposes. The analysis module provides attributes that record relationships between entities found in the encoding. These attributes may be used differently by different users, depending on the purpose of the analysis.
10+
11+
These Guidelines recommend that encoders employ commonly accepted analytical practices, such as ‘functional analysis’ or ‘Schenkerian analysis’, and document their use in the {% include link elem="encodingDesc" %} described in section {% include link id="headerEncodingDescription" %}. For general information on musical analysis, please consult Grove Music Online, ‘[Analysis](https://doi.org/10.1093/gmo/9781561592630.article.41862){:.link_ref}’.

‎_guidelines-v4/10-analysisharm/01-analysis/01-analysisdescribingrelationships.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,30 @@ version: "v4"
66

77
The relationships between event elements, such as note, chord, and rest, are the basic material of musical analysis; the attributes described below ensure a closed network of these relations and provide the opportunity to record data useful for common analytical tasks. In the context of a formal analysis, for instance, the attributes presented here can be useful in the capture information about the structure of a musical work.
88

9-
The shared module offers several attributes in the {% include link att="linking" %} class for the description of basic relationships:
9+
MEI offers several attributes in the {% include link att="linking" %} class for the description of basic relationships:
1010

1111
{% include desc atts="att.linking/copyof
12+
att.linking/sameas
1213
att.linking/corresp
1314
att.linking/next
1415
att.linking/prev
15-
att.linking/sameas
16+
att.linking/precedes
17+
att.linking/follows
1618
att.linking/synch" %}
1719

1820
The {% include link att="alignment" %} class also contains an attribute for describing temporal relationships:
1921

2022
{% include desc atts="att.alignment/when" %}
2123

22-
These attributes accommodate the encoding of linkages between the element carrying the attribute and one or more other elements. All of them use URIs to establish the connection. While the examples below illustrate relationships between musical events, their use is not restricted to musical events. On the contrary, these attributes can be used to capture information about relations between any elements.
24+
These attributes accommodate the encoding of linkages between the element carrying the attribute and one or more other elements. All of them use URIs to establish the connection. While the examples below illustrate relationships between musical events, the use of the aforementioned attributes is not restricted to musical events. On the contrary, these attributes can be used to capture information about relations between any elements. Further information on this can be found in {% include link id="linkingdata" %}.
2325

24-
Using these attributes makes it possible to create relationships between events, which are often widely-spaced in both encoded order and time. The attributes allow a large number of connections, enhancing the informational content, and therefore the potential usefulness, of the encoding.
26+
Using the attributes above makes it possible to create relationships between events, which are often widely-spaced in both encoded order and time. The attributes allow a large number of connections, enhancing the informational content, and therefore the potential usefulness, of the encoding.
2527

26-
The **@copyof** attribute points to an element of which the current element is a copy. It can be used to repeat a note, for example, without encoding the whole {% include link elem="note" %} element again. The copy is a ‘deep’one; that is, the **@copyof** attribute copies all attributes and child elements which belong to the copied element, such as the **@dur** and **@oct** attributes of a copied {% include link elem="note" %}. The value of the **@copyof** attribute must be a URI, which usually refers to an element in the current document. The following example demonstrates use of the **@copyof** attribute:
28+
The **@copyof** attribute points to an element of which the current element is a copy. It can be used to repeat a note, for example, without encoding the whole {% include link elem="note" %} element again. The copy is a ‘deep’ one; that is, the **@copyof** attribute copies all attributes and child elements which belong to the copied element, such as the **@dur** and **@oct** attributes of a copied {% include link elem="note" %}. The value of the **@copyof** attribute must be a URI, which usually refers to an element in the current document. The following example demonstrates use of the **@copyof** attribute:
2729

2830
{% include mei example="analysis/analysis-sample172.txt" valid="" %}
2931

30-
In this example. the {% include link elem="note" %} in the second measure has exactly the same characteristics as the {% include link elem="note" %} in the first {% include link elem="measure" %}.
32+
In this example, the {% include link elem="note" %} in the second measure has exactly the same characteristics as the {% include link elem="note" %} in the first {% include link elem="measure" %}.
3133

3234
Using **@copyof** is not limited to copying events. The **@copyof** attribute can also be used to copy an entire {% include link elem="measure" %} or {% include link elem="staff" %}. When there are many repeated features, the use of the **@copyof** greatly reduces encoding effort. The image and the following encoding of the beginning of Schubert's *Erlkönig* illustrates the benefit of using the **@copyof** attribute.
3335

‎_includes/v4/examples/analysis/analysis-sample172.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<measure n="1">
33
<staff n="1">
44
<layer>
5-
<note dur="4" oct="4" pname="g" xml:id="analysis.note1_1"/>
5+
<note xml:id="analysis.note1_1" dur="4" oct="4" pname="g"/>
66
</layer>
77
</staff>
88
</measure>

‎_includes/v4/examples/analysis/analysis-sample173.txt

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<measure>
22
<staff n="1">
3-
<layer>
4-
<mRest/>
5-
</layer>
6-
</staff>
7-
<staff n="2">
83
<layer>
94
<tuplet num="3" num.visible="true" xml:id="analysis.tup1">
105
<chord dur="8">
@@ -25,7 +20,7 @@
2520
<tuplet copyof="#analysis.tup1" xml:id="analysis.tup4"/>
2621
</layer>
2722
</staff>
28-
<staff n="3">
23+
<staff n="2">
2924
<layer>
3025
<mRest/>
3126
</layer>

‎_includes/v4/examples/analysis/analysis-sample179.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<staff n="1">
33
<layer>
44
<note dur="4" oct="4" pname="c"/>
5-
<note dur="4" intm="u" oct="4" pname="d"/>
6-
<note dur="4" intm="u" oct="4" pname="e"/>
7-
<note dur="4" intm="u" oct="4" pname="f"/>
8-
<note dur="2" intm="u" oct="4" pname="g"/>
9-
<note dur="2" intm="s" oct="4" pname="g"/>
10-
<note dur="4" intm="d" oct="4" pname="f"/>
5+
<note dur="4" oct="4" pname="d" intm="u" />
6+
<note dur="4" oct="4" pname="e" intm="u"/>
7+
<note dur="4" oct="4" pname="f" intm="u"/>
8+
<note dur="2" oct="4" pname="g" intm="u"/>
9+
<note dur="2" oct="4" pname="g" intm="s"/>
10+
<note dur="4" oct="4" pname="f" intm="d"/>
1111
</layer>
1212
</staff>
1313
</measure>

‎_includes/v4/examples/analysis/analysis-sample180.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<staff>
33
<layer>
44
<note dur="4" oct="5" pname="c"/>
5-
<note dur="4" intm="+M2" oct="5" pname="d"/>
6-
<note dur="4" intm="-M2" oct="5" pname="c"/>
7-
<note dur="4" intm="-m2" oct="4" pname="b"/>
8-
<note dur="4" intm="-P8" oct="3" pname="b"/>
5+
<note dur="4" oct="5" pname="d" intm="+M2"/>
6+
<note dur="4" oct="5" pname="c" intm="-M2"/>
7+
<note dur="4" oct="4" pname="b" intm="-m2"/>
8+
<note dur="4" oct="3" pname="b" intm="-P8"/>
99
</layer>
1010
</staff>
1111
</measure>

‎_includes/v4/examples/analysis/analysis-sample181.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<staff>
33
<layer>
44
<note dur="4" oct="4" pname="c"/>
5-
<note dur="4" intm="1.1" oct="4" pname="d"/>
6-
<note dur="4" intm="7.9" oct="5" pname="d"/>
7-
<note dur="4" intm="-2.334" oct="5" pname="c"/>
5+
<note dur="4" oct="4" pname="d" intm="1.1"/>
6+
<note dur="4" oct="5" pname="d" intm="7.9"/>
7+
<note dur="4" oct="5" pname="c" intm="-2.334"/>
88
</layer>
99
</staff>
1010
</measure>
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
2-
<!-- Fifth scale degree in the prevailing scale --><note deg="5"/>
1+
<!-- Fifth scale degree in the prevailing scale -->
2+
<note deg="5"/>
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
2-
<!-- Augmented 5th --><note deg="5+"/>
1+
<!-- Augmented 5th -->
2+
<note deg="5+"/>
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
2-
<!-- Lowered 6 scale degree approached from below --><note deg="^6-"/>
1+
<!-- Lowered 6 scale degree approached from below -->
2+
<note deg="^6-"/>
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
2-
<!-- Leading tone approached from above --><note deg="v7"/>
1+
<!-- Leading tone approached from above -->
2+
<note deg="v7"/>

0 commit comments

Comments
 (0)
Please sign in to comment.