forked from TEI-Music-SIG/MEItoVexFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tables.js
52 lines (47 loc) · 882 Bytes
/
tables.js
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
42
43
44
45
46
47
48
49
50
51
// Component of MEItoVexFlow
// Author: Raffaele Viglianti, 2012
//
// Tables for MEI <-> VexFlow values
mei2vexflowTables = {}
mei2vexflowTables.positions = {
'above' : Vex.Flow.Modifier.Position.ABOVE,
'below' : Vex.Flow.Modifier.Position.BELOW
}
mei2vexflowTables.hairpins = {
'cres' : Vex.Flow.StaveHairpin.type.CRESC,
'dim' : Vex.Flow.StaveHairpin.DESCRESC
}
mei2vexflowTables.articulations = {
'acc': 'a>',
'stacc': 'a.',
'ten': 'a-',
'stacciss': 'av',
'marc': 'a^',
//'marc-stacc':
//'spicc':
//'doit':
//'rip':
//'plop':
//'fall':
//'bend':
//'flip':
//'smear':
'dnbow': 'am',
'upbow': 'a|',
//'harm':
'snap': 'ao',
//'fingernail':
//'ten-stacc':
//'damp':
//'dampall':
//'open':
//'stop':
//'dbltongue':
//'trpltongue':
//'heel':
//'toe':
//'tap':
'lhpizz': 'a+',
'dot': 'a.',
'stroke': 'a|'
};