Music Sheet Viewer WordPress plugin gallery

Gallery of examples using Music Sheet Viewer plugin:

NB : This same page uses the « 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:
MusicSheetViewerPlugin 4.1

Code in file (here MusicXML code with font Bravura)


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

outputs:
MusicSheetViewerPlugin 4.1

Code ‘rolling’ (here PAE fragment)


[pn_msv font="roll" layout="justified"]
@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]

produces:

MusicSheetViewerPlugin 4.1

Code in file with player and notes highlighted


[pn_msv file="/wp-content/uploads/2017/05/Chopin_Etude_op.10_no.9.mei" play="highlight"/]

produces:
(click/tap right to move to next page, left to return to previous page, double click/tap right to move to last page, left to return to first page)
MusicSheetViewerPlugin 4.1

Code in a HTML table with styling


<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" class="redframe"]
@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" id="oldframe"]
@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.mxl"/]</td>
  </tr>
 </tbody>
</table>

produces:

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

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

Les commentaires sont fermés.