Closed craigsapp closed 1 year ago
Implemented with commit https://github.com/rism-digital/verovio/commit/ae5513696f4f52d22bf33b9f1cf75052d8c1b19f
Example:
**mens **text
*clefC3 *
*met(C|) *
*k[b-] *
=- =-
sic .
siBn n
siBnz nz
siBnzz nzz
sic .
*- *-
!!!RDF**mens: z = editorial accidental
MEI conversion:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/5.0/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://music-encoding.org/schema/5.0/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="5.0">
<meiHead>
<fileDesc>
<titleStmt>
<title />
</titleStmt>
<pubStmt />
</fileDesc>
<encodingDesc>
<appInfo>
<application isodate="2023-09-27T01:07:46" version="4.1.0-dev-26c8144-dirty">
<name>Verovio</name>
<p>Transcoded from Humdrum</p>
</application>
</appInfo>
</encodingDesc>
<workList>
<work>
<title />
</work>
</workList>
</meiHead>
<music>
<body>
<mdiv xml:id="m1kp4w8y">
<score xml:id="s1fn2m68">
<scoreDef xml:id="syv4373" midi.bpm="200.000000">
<staffGrp xml:id="skhhoks">
<staffDef xml:id="staffdef-L1F1" n="1" notationtype="mensural.white" lines="5">
<clef xml:id="clef-L2F1" shape="C" line="3" />
<keySig xml:id="keysig-L4F1" sig="1f" />
</staffDef>
</staffGrp>
</scoreDef>
<section xml:id="section-L1F1">
<staff xml:id="staff-L1F1" n="1">
<layer xml:id="layer-L1F1N1" n="1">
<mensur xml:id="mensur-L3F1" prolatio="2" tempus="2" sign="C" slash="1" />
<note xml:id="note-L6F1" dur="semibrevis" oct="4" pname="c" />
<note xml:id="note-L7F1" dur="semibrevis" oct="3" pname="b">
<accid xml:id="accid-L7F1" accid="s" accid.ges="n" />
<verse xml:id="verse-L7F2" n="1">
<syl xml:id="syl-L7F2"> n</syl>
</verse>
</note>
<note xml:id="note-L8F1" dur="semibrevis" oct="3" pname="b">
<accid xml:id="accid-L8F1" accid="n" func="edit" glyph.auth="smufl" glyph.name="accidentalNatural" />
<verse xml:id="verse-L8F2" n="1">
<syl xml:id="syl-L8F2">nz</syl>
</verse>
</note>
<note xml:id="note-L9F1" dur="semibrevis" oct="3" pname="b">
<accid xml:id="accid-L9F1" accid="n" func="edit" glyph.auth="smufl" glyph.name="accidentalNatural" />
<accid xml:id="a1ywiahm" accid="s" accid.ges="n" />
<verse xml:id="verse-L9F2" n="1">
<syl xml:id="syl-L9F2">nzz</syl>
</verse>
</note>
<note xml:id="note-L10F1" dur="semibrevis" oct="4" pname="c" />
</layer>
</staff>
</section>
</score>
</mdiv>
</body>
</music>
</mei>
Flat example:
**mens **text
*clefC1 *
*met(C|) *
*k[f#] *
=- =-
sig .
sifn n
sifnz nz
sifnzz nzz
sig .
*- *-
!!!RDF**mens: z = editorial accidental
MEI conversion:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/5.0/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://music-encoding.org/schema/5.0/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="5.0">
<meiHead>
<fileDesc>
<titleStmt>
<title />
</titleStmt>
<pubStmt />
</fileDesc>
<encodingDesc>
<appInfo>
<application isodate="2023-09-27T01:15:56" version="4.1.0-dev-26c8144-dirty">
<name>Verovio</name>
<p>Transcoded from Humdrum</p>
</application>
</appInfo>
</encodingDesc>
<workList>
<work>
<title />
</work>
</workList>
</meiHead>
<music>
<body>
<mdiv xml:id="m1c4z8ji">
<score xml:id="s1q90abw">
<scoreDef xml:id="seb0wg" midi.bpm="200.000000">
<staffGrp xml:id="sde7t46">
<staffDef xml:id="staffdef-L1F1" n="1" notationtype="mensural.white" lines="5">
<clef xml:id="clef-L2F1" shape="C" line="1" />
<keySig xml:id="keysig-L4F1" sig="1s" />
</staffDef>
</staffGrp>
</scoreDef>
<section xml:id="section-L1F1">
<staff xml:id="staff-L1F1" n="1">
<layer xml:id="layer-L1F1N1" n="1">
<mensur xml:id="mensur-L3F1" prolatio="2" tempus="2" sign="C" slash="1" />
<note xml:id="note-L6F1" dur="semibrevis" oct="4" pname="g" />
<note xml:id="note-L7F1" dur="semibrevis" oct="4" pname="f">
<accid xml:id="accid-L7F1" accid="f" accid.ges="n" />
<verse xml:id="verse-L7F2" n="1">
<syl xml:id="syl-L7F2"> n</syl>
</verse>
</note>
<note xml:id="note-L8F1" dur="semibrevis" oct="4" pname="f">
<accid xml:id="accid-L8F1" accid="n" func="edit" glyph.auth="smufl" glyph.name="accidentalNatural" />
<verse xml:id="verse-L8F2" n="1">
<syl xml:id="syl-L8F2">nz</syl>
</verse>
</note>
<note xml:id="note-L9F1" dur="semibrevis" oct="4" pname="f">
<accid xml:id="accid-L9F1" accid="n" func="edit" glyph.auth="smufl" glyph.name="accidentalNatural" />
<accid xml:id="a1jc08tk" accid="f" accid.ges="n" />
<verse xml:id="verse-L9F2" n="1">
<syl xml:id="syl-L9F2">nzz</syl>
</verse>
</note>
<note xml:id="note-L10F1" dur="semibrevis" oct="4" pname="g" />
</layer>
</staff>
</section>
</score>
</mdiv>
</body>
</music>
</mei>
In
**mens
it would be useful to allow double accidental display on notes that are natural in modern notation but are sharp or flat in mensural notation (since there was no natural sign). Example:Propose to show regular and editorial accidentals on the same note using a double editorial accidental marker:
Click to view target MEI conversion for above Humdrum data
```xmlTranscoded from Humdrum
The B note has two accidentals: a modern natural as an editorial accidental and a visual sharp: