MusicXml export and small notes in Release Candidate

• Mar 16, 2015 - 08:45

Really great to see the release candidate available.

However, when notes are specified as being small within a score, they are not correctly exported in MusicXml as small notes.

Here is a discussion I had with Michael Good on this subject : Smaller note size

This is an important feature for myself and should not be too difficult to implement as all the necessary information is available.
Here is an example of the existing output :
<note default-x="90.99" default-y="-35.00">
    <pitch>
        <step>F</step>
        <octave>4</octave>
    </pitch>
    <duration>2</duration>
    <voice>1</voice>
    <type>quarter</type>
    <stem>up</stem>
    <staff>1</staff>
</note>

Here is what it should be :
<note default-x="90.99" default-y="-35.00">
    <pitch>
        <step>F</step>
        <octave>4</octave>
    </pitch>
    <duration>2</duration>
    <voice>1</voice>
    <type size="cue">quarter</type>
    <stem>up</stem>
    <staff>1</staff>
</note>

Can this be included in the release ?


Comments

In reply to by Simon Giddings

of course both, that snippet was just to show the principle...
Will have a PR ready shortly. Check and subscribe to the issue mentioned below...

For notes it is a bit more involved:
if (note->small() || note->chord()->small())
xml.tag("type size=\"cue\"", s);
else
xml.tag("type", s);

Do you still have an unanswered question? Please log in first to post your question.