rism-digital / verovio

🎵 Music notation engraving library for MEI with MusicXML and Humdrum support and various toolkits (JavaScript, Python)
https://www.verovio.org
GNU Lesser General Public License v3.0
683 stars 185 forks source link

<clef dis="15" dis.place="above"/> delivers same result as <clef dis="8" dis.place="above"> #3260

Closed gribjo closed 1 year ago

gribjo commented 1 year ago

Using verovio-toolkit.js 3.14.0 in svg I get octave 8 instead of 15 for dis="15" in clef element. In the mei editor https://editor.verovio.org I find it running.

Full code example:

<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="4.0.0">
<music> <body> <mdiv> <score> 
<scoreDef> 
    <staffGrp> 
        <staffDef n="1" lines="5">
            <clef shape="G" line="2" dis="15" dis.place="above" />
        </staffDef>
    </staffGrp>
</scoreDef>
<section> <measure n="1" > <staff n="1"> <layer n="1"> </layer> </staff> </measure> </section> 
</score> </mdiv> </body> </music> </mei>
lpugin commented 1 year ago

Yes, this is because the editor is running the develop version, in which the issue has been fixed.

lpugin commented 1 year ago

You can see the Verovio version used in the editor in the about dialog

image