Music Sheet Viewer WordPress plugin gallery

Gallery of examples using Music Sheet Viewer plugin:

Code inline (here MEI code with default font)


[pn_msv format="mei"]
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="mei-cmn.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<mei xmlns="http://www.music-encoding.org/ns/mei">
 <music>
   <body>
     <mdiv>
       <score>
         <scoreDef meter.count="4" meter.unit="4" key.sig="0">
           <staffGrp>
             <staffDef n="1" lines="5" clef.line="2" clef.shape="G"/>
           </staffGrp>
         </scoreDef>
         <section>
           <measure n="1">
              <staff n="1">
                <layer n="1">
                   <note pname="d" oct="4" dur="1"/>
                </layer>
              </staff>
           </measure>
         </section>
       </score>
    </mdiv>
  </body>
 </music>
</mei>
[/pn_msv]

generates:

Code in file (here MusicXML code with font Bravura)


[pn_msv file="/wp-content/uploads/2017/05/musicXmlDoSerrure.xml" font="Bravura"/]

outputs:

Code in a HTML table


<table border="1" cellspacing="0" cellpadding="0" style="width: 100%">
 <thead>
   <tr>
     <th valign="top" style="width: 30%">Beams and tuplets</th>
     <th valign="top" style="width: 60%">Measure rests and key and time signature changes</th>
     <th valign="top" style="width: 10%">Waltz 1st page</th>
   </tr>
 </thead>
 <tbody>
  <tr>
     <td>
[pn_msv font="Gootville"]
@clef:G-2
@keysig:xFCGD
@timesig:3/8
@data:'6B/{8B+(6B''E'B})({AFD})/{6.E3G},8B-/({6'EGF})({FAG})({GEB})/4F6-
[/pn_msv]
     </td>
     <td>
[pn_msv layout="justified"]
@clef:G-2
@keysig:xF
@timesig:3/8
@data:=25//$xFCG @c 2-4.-'8E/{6AGFE}{8A''C}'B''4D{6C'B}/{''DC'BA}{''8EA}
[/pn_msv]
     </td>
     <td>[pn_msv file="/wp-content/uploads/2017/05/Waltz-in-A-Minor.xml"/]</td>
  </tr>
 </tbody>
</table>

produces:

Beams and tuplets Measure rests and key and time signature changes Waltz 1st page

Rotate your device and you’ll see that the score is redrawn keeping the right proportions.

Les commentaires sont fermés.