« Music Sheet Viewer » allows you to display a digital sheet music with Block editor, through a « Music Sheet Viewer » dedicated block or just by entering its code using the shortcode tag [pn_msv].
The supported music sheet formats are MusicXML (incl. compressed MXL files), MEI, ABC or PAE (RISM notation). The score is displayed as if it had been natively supported by the browser.
When writing scores inline, 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.
You can play the score with many instruments and there’s even an option to highlight the notes as they are played!
This plugin supports multi-pages scores and when played, the pages are turned automatically.
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..
Just wrap your music sheet code inside [pn_msv] shortcode, such as :
[pn_msv format="abc"] X:1 T:La Vie En Rose M:C|2 L:1/4 K:C c3B|AGEc|B3A|GECB|A3G|EB,CB|A4|G2z2|] [/pn_msv]
(ABC 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 enter the same code as the above in the block’s text field (but shortcode tags obviously)
- Use the Block’s properties to go deeper in the rendering options
Complete details of the different Music Sheet formats supported and possible shortcode/block
parameters are described at this plugin’s homepage..
Этот плагин предоставляет 1 блок.
- Music Sheet Viewer
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
Go to the admin area of your WordPress install and click on the « Plugins » menu. Click on « Activate » for the « Music Sheet Viewer » plugin.
Участники и разработчики
«Music Sheet Viewer» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:Участники
- New transpose option
- Fix for adding jquery which may be missing on WP fresh install 6.0+
- Tested compatibility with WordPress 6.2
- Fix issue making that scores won’t play unless plugin is deactivated then activated (after upgrade).
- Dedicated « Music Sheet Viewer » Settings panel for administrators
- Now comes with 72 MIDI instruments to play the scores with
- Possibility to uncompress MXL files frontside or backside
- Upload of files with extension .musicxml now supported
- Fix for Uncaught TypeError: wp.serverSideRender is undefined in block.js
- Bundled with Verovio 3.9.0 light
- Tested compatibility with WordPress 5.9
- Fix for MSV block that may not show in block search field
- Embedding of Leland font from MuseScore
- Fixed bug for reading remote files on https
- Fixed small bug on Player progress bar drag on devices
- Fixed small bug with auto modes on Chrome
- Support of any font used with ‘player’ and ‘highlight’ modes, thanks to a Verovio fix
- Bundled with Verovio 3.6.0 light
- Tested compatibility with WordPress 5.8
- Dedicated « Music Sheet Viewer » Block for WordPress 5.0 and above
- Player progress bar touch events now supported
- Upload of plugin’s supported file formats (.abc, .mei, .pae, .xml, .mxl) in WordPress now managed
- Fix on some PAE scores
- Tested compatibility with WordPress 5.7
- Fix for last note played again when song played twice
- Fix for last note played staying highlighted
- Fix for Incorrect pitch on mobile devices
- Tested compatibility with WordPress 5.6
- Fixed regression on Safari
- Multi-pages scores can now be viewed and played, pages are turned automatically when played
- Mini-player CSS can now be overridden
- Bundled with Verovio 2.5.0 light
- Tested compatibility with WordPress 5.5
- Remote files can now be read whatever their location (bypass CORS error)
- MXL MusicXML compressed file format now supported
- Bundled with Verovio 2.5.0 light
- Tested compatibility with WordPress 5.4
- Fixed intempestive resize that may occur when the score is played
- Rendering speed increased by 20%
- Bundled with Verovio 2.3.3 light
- Addition of ‘play’ options allowing to play the score and have it highlighted when played
- Support of ABC notation
- Embedding of Petaluma font
- Bundled with Verovio 2.1.0 light
- Performances improved by 10%
- Addition of a ‘roll’ font value, that displays a score in all available fonts
- Internal rewriting of the plugin with OOP
- Addition of ‘id’ and ‘class’ options allowing CSS styling
- Bundled with Verovio 2.0.2 light
- Got rid of noLayout, deprecated
- Remote URLs can also be used with the ‘file’ parameter
- Fixed responsive bug for Firefox on devices
- Plugin activation or execution warnings appearing in WP’s DEBUG mode removed
- Initial version. Bundled with Verovio 1.1.6