Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 735 Bytes

README.md

File metadata and controls

36 lines (28 loc) · 735 Bytes
<script src="{{site.veroviourl}}"></script> <script src="{{site.notationurl}}"></script> <script> var vrvToolkit = new verovio.toolkit(); </script>

This repository contains a javascript plugin that can be used to display music notation on a webpage, created from a Humdrum encoding of the music. View the plugin website for detailed documentation and examples for how to use the plugin.

Here is a simple example:

<script>
   displayHumdrum({source: "example"});
</script>

<script type="text/x-humdrum" id="example">
**kern
*M4/4
=1-
4c
8dL
8eJ
4f
4g
=
*-
</script>

Which generates a music notation example on this page.