forked from TEI-Music-SIG/MEItoVexFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
41 lines (29 loc) · 1.18 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
MEItoVexFlow
============
A JavaScript library which provides a function for converting MEI
<http://music-encoding.org/> encoded music notation into drawing
instructions for the VexFlow <http://vexflow.com/> music notation
rendering library.
Usage
-----
The library provides the function `render_notation` which takes four
arguments:
- `score` should be a markup fragment containing the MEI
- `target` should be an HTML <canvas> element onto which the notation
will be drawn
- `width` should be the width of the canvas (optional)
- `height` should be the height of the canvas (optional)
The function has been tested using an MEI fragment embedded within an
HTML document. See:
http://igor.gold.ac.uk/~map01rl/pocac/prokofiev-op-36.html
Dependencies
------------
Any browser in which this code is used must have the VexFlow and
jQuery libraries loaded.
Limitations
-----------
Only a small subset of MEI has so far been implemented. Many
conventional aspects of common practice notation have been igonred
(such as repeat accidentals, stem directions). It's also important to
remember that VexFlow is a moving target, it's in constant development
and so this code could break at any time.