Music Sheet Viewer

Description

« Music Sheet Viewer » allows you to display a digital music sheet by just entering its code using the shortcode tag [pn_msv].

The supported music sheet formats are MusicXML, MEI or PAE (RISM notation). The score is displayed as if it had been natively supported by the browser.

You do not need to escape HTML entities or anything. Just post your code as-is, even if the code is an XML dialect. The plugin will handle the rest.

The score is resized automatically so as to fit to the available content, you can specify the music font in which the score will be rendered and you can get the music code from a file if you don’t want to write the code inline.

With this plugin, never ever upload a music sheet image to your website that is not zoomable and requires a new upload every time a single note must be changed!!!

At last, it’s fully responsive!

For a complete documentation of the plugin, see this plugin’s homepage..

Shortcode

Just wrap your music sheet code inside [pn_msv] shortcode, such as :

[pn_msv]
@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]

(PAE code example), and the corresponding score will be rendered.

You do not need to escape HTML entities or anything, just post your code as-is. The plugin will handle the rest.

Just don’t switch to View mode in WordPress editor if you write inline XML (MEI or MusicXML) shortcodes : it’s going to translate it into HTML entities! Stay in Text mode (WordPress 4.9 and lower), and in Code editor (Gutenberg with WordPress 5.0).

Complete details of the different Music Sheet formats supported and possible shortcode parameters are described at this plugin’s homepage..

Related Links

Captures d’écran

  • Example of how to write [pn_msv/] shortcodes inside a HTML table and how they are rendered.

Installation

Uploading The Plugin

Extract all files from the ZIP file, the copy the whole music-sheet-viewer directory and its contents under /wp-content/plugins/.
See Also: « Installing Plugins » article on the WP Codex

Plugin Activation

Go to the admin area of your WordPress install and click on the « Plugins » menu. Click on « Activate » for the « Music Sheet Viewer » plugin.

Avis

Great plugin!!

I used to struggle with Verovio’s JavaScript API and all different options, and I must say this plugin simplifies all!!
It is so useful to non programmers wishing to publish easily music sheet fragments.
To be warmly recommended!!!

Lire l’avis

Contributeurs & développeurs

« Music Sheet Viewer » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Music Sheet Viewer » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

1.1

  • Remote URLs can also be used with the ‘file’ parameter

1.0.2

  • Fixed responsive bug for Firefox on devices

1.0.1

  • Plugin activation or execution warnings appearing in WP’s DEBUG mode removed

1.0

  • Initial version. Bundled with Verovio 1.1.6