Simple MNX example

At the suggestion of several folks, I have added a short complete MNX
example to the document. And what better example to use than Adrian
Holovaty's excellent suggestion of Hot Cross Buns?

Here it is for immediate perusal:

<?xml version="1.0" encoding="UTF-8"?>
<mnx>
    <head>
        <identification>
            <title>Hot Cross Buns</title>
        </identification>
    </head>
    <score content="cwmn">
        <system>
            <measure>
                <attributes>
                    <tempo bpm="120/4"/>
                    <time signature="3/4"/>
                </attributes>
            </measure>
            <measure/>
            <measure/>
            <measure/>
        </system>
        <part>
            <part-name>Melody</part-name>
            <measure>
                <attributes>
                    <clef sign="G" line="2"/>
                </attributes>
                <sequence>
                    <direction placement="above">
                        <words>With heavy irony</words>
                    </direction>
                    <event value="4"><note pitch="E4"/></event>
                    <event value="4"><note pitch="D4"/></event>
                    <event value="2"><note pitch="C4"/></event>
                </sequence>
            </measure>
            <measure>
                <sequence>
                    <event value="4"><note pitch="E4"/></event>
                    <event value="4"><note pitch="D4"/></event>
                    <event value="4"><note pitch="C4"/></event>
                    <!-- dramatic pause before the exciting part -->
                    <event value="4"><rest/></event>
                </sequence>
            </measure>
            <measure>
                <sequence>
                    <event value="8"><note pitch="C4"/></event>
                    <event value="8"><note pitch="C4"/></event>
                    <event value="8"><note pitch="C4"/></event>
                    <event value="8"><note pitch="C4"/></event>
                    <event value="8"><note pitch="D4"/></event>
                    <event value="8"><note pitch="D4"/></event>
                    <event value="8"><note pitch="D4"/></event>
                    <event value="8"><note pitch="D4"/></event>
                </sequence>
            </measure>
            <measure>
                <sequence>
                    <event value="4"><note pitch="E4"/></event>
                    <event value="4"><note pitch="D4"/></event>
                    <event value="2"><note pitch="C4"/></event>
                </sequence>
            </measure>
        </part>
    </score>
</mnx>

Received on Tuesday, 21 March 2017 16:31:53 UTC