Skip to content
A javascript plugin for displaying music notation on a webpage using Humdrum data
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_includes
images
mozart-sonatas
options
scripts
topic
.gitignore
.serve
.serve-local
CNAME
Gemfile
README.md
_config-local.yml
_config.yml
example.html
example.krn
example2.html
favicon.ico
highlight-pitch-class.txt
hummel-example-b.txt
hummel-example.txt
hummel-example2.txt
hummel-example2b.txt
hummel-prelude-op67n15.txt
index.md
multiple-example.txt
obrecht.txt
short-example.txt
sonata06-3a.txt
transpose-example.txt
uri-example.txt
url-example.txt
url-example2.txt

README.md

<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.

You can’t perform that action at this time.