vexflow 4.0.1-beta.2 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -65
- package/build/cjs/vexflow-bravura.js +2 -2
- package/build/cjs/vexflow-bravura.js.map +1 -1
- package/build/cjs/vexflow-core.js +2 -2
- package/build/cjs/vexflow-core.js.map +1 -1
- package/build/cjs/vexflow-debug-with-tests.js +729 -698
- package/build/cjs/vexflow-debug-with-tests.js.map +1 -1
- package/build/cjs/vexflow-debug.js +553 -614
- package/build/cjs/vexflow-debug.js.map +1 -1
- package/build/cjs/vexflow-gonville.js +2 -2
- package/build/cjs/vexflow-gonville.js.map +1 -1
- package/build/cjs/vexflow-petaluma.js +2 -2
- package/build/cjs/vexflow-petaluma.js.map +1 -1
- package/build/cjs/vexflow.js +2 -2
- package/build/cjs/vexflow.js.map +1 -1
- package/build/esm/entry/vexflow-bravura.js +1 -2
- package/build/esm/entry/vexflow-core.js +1 -2
- package/build/esm/entry/vexflow-debug-with-tests.js +9 -2
- package/build/esm/entry/vexflow-debug.js +7 -2
- package/build/esm/entry/vexflow-gonville.js +1 -2
- package/build/esm/entry/vexflow-petaluma.js +1 -2
- package/build/esm/entry/vexflow.js +1 -2
- package/build/esm/src/annotation.js +10 -4
- package/build/esm/src/beam.js +20 -6
- package/build/esm/src/factory.js +6 -1
- package/build/esm/src/flow.js +27 -14
- package/build/esm/src/font.js +0 -2
- package/build/esm/src/formatter.js +21 -4
- package/build/esm/src/glyph.js +6 -0
- package/build/esm/src/index.js +1 -3
- package/build/esm/src/note.js +1 -1
- package/build/esm/src/stave.js +2 -2
- package/build/esm/src/staveconnector.js +6 -3
- package/build/esm/src/staveline.js +2 -5
- package/build/esm/src/stavenote.js +19 -6
- package/build/esm/src/stavesection.js +9 -6
- package/build/esm/src/stavetext.js +3 -3
- package/build/esm/src/system.js +1 -8
- package/build/esm/src/textnote.js +12 -14
- package/build/esm/src/version.js +3 -3
- package/build/esm/tests/annotation_tests.js +14 -1
- package/build/esm/tests/beam_tests.js +19 -0
- package/build/esm/tests/easyscore_tests.js +5 -2
- package/build/esm/tests/formatter_tests.js +62 -10
- package/build/esm/tests/stave_tests.js +4 -4
- package/build/types/entry/vexflow-bravura.d.ts +1 -2
- package/build/types/entry/vexflow-core.d.ts +1 -2
- package/build/types/entry/vexflow-debug.d.ts +1 -2
- package/build/types/entry/vexflow-gonville.d.ts +1 -2
- package/build/types/entry/vexflow-petaluma.d.ts +1 -2
- package/build/types/entry/vexflow.d.ts +1 -2
- package/build/types/src/annotation.d.ts +1 -0
- package/build/types/src/beam.d.ts +30 -1
- package/build/types/src/easyscore.d.ts +4 -0
- package/build/types/src/factory.d.ts +6 -3
- package/build/types/src/flow.d.ts +27 -12
- package/build/types/src/font.d.ts +0 -1
- package/build/types/src/glyph.d.ts +2 -0
- package/build/types/src/index.d.ts +1 -3
- package/build/types/src/note.d.ts +1 -0
- package/build/types/src/stave.d.ts +1 -1
- package/build/types/src/staveconnector.d.ts +13 -15
- package/build/types/src/staveline.d.ts +2 -5
- package/build/types/src/stavesection.d.ts +2 -1
- package/build/types/src/system.d.ts +2 -2
- package/build/types/src/textnote.d.ts +4 -4
- package/entry/vexflow-bravura.ts +3 -3
- package/entry/vexflow-core.ts +3 -3
- package/entry/vexflow-debug-with-tests.ts +16 -2
- package/entry/vexflow-debug.ts +11 -3
- package/entry/vexflow-gonville.ts +3 -3
- package/entry/vexflow-petaluma.ts +3 -3
- package/entry/vexflow.ts +3 -3
- package/package.json +3 -1
- package/releases/vexflow-debug.js +30441 -0
- package/releases/vexflow-min.js +6 -0
- package/src/annotation.ts +15 -4
- package/src/beam.ts +55 -6
- package/src/easyscore.ts +11 -1
- package/src/factory.ts +18 -4
- package/src/flow.ts +35 -20
- package/src/font.ts +0 -4
- package/src/formatter.ts +24 -8
- package/src/glyph.ts +8 -0
- package/src/index.ts +2 -7
- package/src/note.ts +2 -1
- package/src/stave.ts +2 -2
- package/src/staveconnector.ts +43 -9
- package/src/staveline.ts +2 -5
- package/src/stavenote.ts +20 -10
- package/src/stavesection.ts +10 -6
- package/src/stavetext.ts +3 -3
- package/src/system.ts +3 -9
- package/src/textnote.ts +9 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* VexFlow 4.0.
|
|
2
|
+
* VexFlow 4.0.2 2022-04-28T00:14:05.094Z a968cfa5453a34ff0f8bb8bc882d08ef44f62cea
|
|
3
3
|
* Copyright (c) 2010 Mohit Muthanna Cheppudira <mohit@muthanna.com>
|
|
4
4
|
* https://www.vexflow.com https://github.com/0xfe/vexflow
|
|
5
5
|
*/
|
|
@@ -29,177 +29,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29
29
|
/* harmony export */ "ID": () => (/* binding */ ID),
|
|
30
30
|
/* harmony export */ "DATE": () => (/* binding */ DATE)
|
|
31
31
|
/* harmony export */ });
|
|
32
|
-
const VERSION = '4.0.
|
|
33
|
-
const ID = '
|
|
34
|
-
const DATE = '2022-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/***/ }),
|
|
38
|
-
|
|
39
|
-
/***/ "./entry/vexflow.ts":
|
|
40
|
-
/*!**************************!*\
|
|
41
|
-
!*** ./entry/vexflow.ts ***!
|
|
42
|
-
\**************************/
|
|
43
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
44
|
-
|
|
45
|
-
__webpack_require__.r(__webpack_exports__);
|
|
46
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
47
|
-
/* harmony export */ "Accidental": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Accidental),
|
|
48
|
-
/* harmony export */ "Annotation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Annotation),
|
|
49
|
-
/* harmony export */ "AnnotationHorizontalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.AnnotationHorizontalJustify),
|
|
50
|
-
/* harmony export */ "AnnotationVerticalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.AnnotationVerticalJustify),
|
|
51
|
-
/* harmony export */ "Articulation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Articulation),
|
|
52
|
-
/* harmony export */ "BarNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.BarNote),
|
|
53
|
-
/* harmony export */ "Barline": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Barline),
|
|
54
|
-
/* harmony export */ "BarlineType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.BarlineType),
|
|
55
|
-
/* harmony export */ "Beam": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Beam),
|
|
56
|
-
/* harmony export */ "Bend": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Bend),
|
|
57
|
-
/* harmony export */ "BoundingBox": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.BoundingBox),
|
|
58
|
-
/* harmony export */ "BoundingBoxComputation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.BoundingBoxComputation),
|
|
59
|
-
/* harmony export */ "Builder": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Builder),
|
|
60
|
-
/* harmony export */ "CanvasContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.CanvasContext),
|
|
61
|
-
/* harmony export */ "Category": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Category),
|
|
62
|
-
/* harmony export */ "ChordSymbol": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ChordSymbol),
|
|
63
|
-
/* harmony export */ "ChordSymbolHorizontalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ChordSymbolHorizontalJustify),
|
|
64
|
-
/* harmony export */ "ChordSymbolVerticalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ChordSymbolVerticalJustify),
|
|
65
|
-
/* harmony export */ "Clef": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Clef),
|
|
66
|
-
/* harmony export */ "ClefNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ClefNote),
|
|
67
|
-
/* harmony export */ "Crescendo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Crescendo),
|
|
68
|
-
/* harmony export */ "Curve": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Curve),
|
|
69
|
-
/* harmony export */ "CurvePosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.CurvePosition),
|
|
70
|
-
/* harmony export */ "Dot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Dot),
|
|
71
|
-
/* harmony export */ "EasyScore": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.EasyScore),
|
|
72
|
-
/* harmony export */ "EasyScoreGrammar": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.EasyScoreGrammar),
|
|
73
|
-
/* harmony export */ "Element": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Element),
|
|
74
|
-
/* harmony export */ "Factory": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Factory),
|
|
75
|
-
/* harmony export */ "Flow": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Flow),
|
|
76
|
-
/* harmony export */ "Font": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Font),
|
|
77
|
-
/* harmony export */ "FontStyle": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.FontStyle),
|
|
78
|
-
/* harmony export */ "FontWeight": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.FontWeight),
|
|
79
|
-
/* harmony export */ "Formatter": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Formatter),
|
|
80
|
-
/* harmony export */ "Fraction": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Fraction),
|
|
81
|
-
/* harmony export */ "FretHandFinger": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.FretHandFinger),
|
|
82
|
-
/* harmony export */ "GhostNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.GhostNote),
|
|
83
|
-
/* harmony export */ "Glyph": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Glyph),
|
|
84
|
-
/* harmony export */ "GlyphNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.GlyphNote),
|
|
85
|
-
/* harmony export */ "GraceNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.GraceNote),
|
|
86
|
-
/* harmony export */ "GraceNoteGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.GraceNoteGroup),
|
|
87
|
-
/* harmony export */ "GraceTabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.GraceTabNote),
|
|
88
|
-
/* harmony export */ "Justification": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Justification),
|
|
89
|
-
/* harmony export */ "KeyManager": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.KeyManager),
|
|
90
|
-
/* harmony export */ "KeySigNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.KeySigNote),
|
|
91
|
-
/* harmony export */ "KeySignature": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.KeySignature),
|
|
92
|
-
/* harmony export */ "Modifier": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Modifier),
|
|
93
|
-
/* harmony export */ "ModifierContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ModifierContext),
|
|
94
|
-
/* harmony export */ "ModifierPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.ModifierPosition),
|
|
95
|
-
/* harmony export */ "MultiMeasureRest": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.MultiMeasureRest),
|
|
96
|
-
/* harmony export */ "Music": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Music),
|
|
97
|
-
/* harmony export */ "Note": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Note),
|
|
98
|
-
/* harmony export */ "NoteHead": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.NoteHead),
|
|
99
|
-
/* harmony export */ "NoteSubGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.NoteSubGroup),
|
|
100
|
-
/* harmony export */ "Ornament": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Ornament),
|
|
101
|
-
/* harmony export */ "OutlineCode": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.OutlineCode),
|
|
102
|
-
/* harmony export */ "Parenthesis": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Parenthesis),
|
|
103
|
-
/* harmony export */ "Parser": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Parser),
|
|
104
|
-
/* harmony export */ "PedalMarking": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.PedalMarking),
|
|
105
|
-
/* harmony export */ "Piece": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Piece),
|
|
106
|
-
/* harmony export */ "Registry": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Registry),
|
|
107
|
-
/* harmony export */ "RenderContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.RenderContext),
|
|
108
|
-
/* harmony export */ "Renderer": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Renderer),
|
|
109
|
-
/* harmony export */ "RendererBackends": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.RendererBackends),
|
|
110
|
-
/* harmony export */ "RendererLineEndType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.RendererLineEndType),
|
|
111
|
-
/* harmony export */ "RepeatNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.RepeatNote),
|
|
112
|
-
/* harmony export */ "Repetition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Repetition),
|
|
113
|
-
/* harmony export */ "RuntimeError": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.RuntimeError),
|
|
114
|
-
/* harmony export */ "SVGContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.SVGContext),
|
|
115
|
-
/* harmony export */ "Stave": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Stave),
|
|
116
|
-
/* harmony export */ "StaveConnector": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveConnector),
|
|
117
|
-
/* harmony export */ "StaveHairpin": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveHairpin),
|
|
118
|
-
/* harmony export */ "StaveLine": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveLine),
|
|
119
|
-
/* harmony export */ "StaveModifier": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveModifier),
|
|
120
|
-
/* harmony export */ "StaveModifierPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveModifierPosition),
|
|
121
|
-
/* harmony export */ "StaveNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveNote),
|
|
122
|
-
/* harmony export */ "StaveSection": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveSection),
|
|
123
|
-
/* harmony export */ "StaveTempo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveTempo),
|
|
124
|
-
/* harmony export */ "StaveText": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveText),
|
|
125
|
-
/* harmony export */ "StaveTie": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StaveTie),
|
|
126
|
-
/* harmony export */ "Stem": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Stem),
|
|
127
|
-
/* harmony export */ "StemmableNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StemmableNote),
|
|
128
|
-
/* harmony export */ "StringNumber": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.StringNumber),
|
|
129
|
-
/* harmony export */ "Stroke": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Stroke),
|
|
130
|
-
/* harmony export */ "SymbolModifiers": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.SymbolModifiers),
|
|
131
|
-
/* harmony export */ "SymbolTypes": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.SymbolTypes),
|
|
132
|
-
/* harmony export */ "System": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.System),
|
|
133
|
-
/* harmony export */ "TabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TabNote),
|
|
134
|
-
/* harmony export */ "TabSlide": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TabSlide),
|
|
135
|
-
/* harmony export */ "TabStave": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TabStave),
|
|
136
|
-
/* harmony export */ "TabTie": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TabTie),
|
|
137
|
-
/* harmony export */ "TextBracket": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TextBracket),
|
|
138
|
-
/* harmony export */ "TextBracketPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TextBracketPosition),
|
|
139
|
-
/* harmony export */ "TextDynamics": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TextDynamics),
|
|
140
|
-
/* harmony export */ "TextFormatter": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TextFormatter),
|
|
141
|
-
/* harmony export */ "TextNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TextNote),
|
|
142
|
-
/* harmony export */ "TickContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TickContext),
|
|
143
|
-
/* harmony export */ "Tickable": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Tickable),
|
|
144
|
-
/* harmony export */ "TimeSigNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TimeSigNote),
|
|
145
|
-
/* harmony export */ "TimeSignature": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TimeSignature),
|
|
146
|
-
/* harmony export */ "TimeSignatureGlyph": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TimeSignatureGlyph),
|
|
147
|
-
/* harmony export */ "Tremolo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Tremolo),
|
|
148
|
-
/* harmony export */ "Tuning": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Tuning),
|
|
149
|
-
/* harmony export */ "Tuplet": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Tuplet),
|
|
150
|
-
/* harmony export */ "TupletLocation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.TupletLocation),
|
|
151
|
-
/* harmony export */ "Vex": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Vex),
|
|
152
|
-
/* harmony export */ "Vibrato": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Vibrato),
|
|
153
|
-
/* harmony export */ "VibratoBracket": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.VibratoBracket),
|
|
154
|
-
/* harmony export */ "Voice": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Voice),
|
|
155
|
-
/* harmony export */ "VoiceMode": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.VoiceMode),
|
|
156
|
-
/* harmony export */ "Volta": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.Volta),
|
|
157
|
-
/* harmony export */ "VoltaType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.VoltaType),
|
|
158
|
-
/* harmony export */ "defined": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.defined),
|
|
159
|
-
/* harmony export */ "drawDot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.drawDot),
|
|
160
|
-
/* harmony export */ "globalObject": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.globalObject),
|
|
161
|
-
/* harmony export */ "isAccidental": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isAccidental),
|
|
162
|
-
/* harmony export */ "isAnnotation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isAnnotation),
|
|
163
|
-
/* harmony export */ "isBarline": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isBarline),
|
|
164
|
-
/* harmony export */ "isCategory": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isCategory),
|
|
165
|
-
/* harmony export */ "isDot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isDot),
|
|
166
|
-
/* harmony export */ "isGraceNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isGraceNote),
|
|
167
|
-
/* harmony export */ "isGraceNoteGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isGraceNoteGroup),
|
|
168
|
-
/* harmony export */ "isHTMLCanvas": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isHTMLCanvas),
|
|
169
|
-
/* harmony export */ "isHTMLDiv": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isHTMLDiv),
|
|
170
|
-
/* harmony export */ "isNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isNote),
|
|
171
|
-
/* harmony export */ "isRenderContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isRenderContext),
|
|
172
|
-
/* harmony export */ "isStaveNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isStaveNote),
|
|
173
|
-
/* harmony export */ "isStemmableNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isStemmableNote),
|
|
174
|
-
/* harmony export */ "isTabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.isTabNote),
|
|
175
|
-
/* harmony export */ "log": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.log),
|
|
176
|
-
/* harmony export */ "midLine": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.midLine),
|
|
177
|
-
/* harmony export */ "normalizeAngle": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.normalizeAngle),
|
|
178
|
-
/* harmony export */ "prefix": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.prefix),
|
|
179
|
-
/* harmony export */ "warn": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_4__.warn),
|
|
180
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
181
|
-
/* harmony export */ });
|
|
182
|
-
/* harmony import */ var _src_vex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../src/vex */ "./src/vex.ts");
|
|
183
|
-
/* harmony import */ var _src_flow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../src/flow */ "./src/flow.ts");
|
|
184
|
-
/* harmony import */ var _src_fonts_load_all__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../src/fonts/load_all */ "./src/fonts/load_all.ts");
|
|
185
|
-
/* harmony import */ var _src_fonts_textfonts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../src/fonts/textfonts */ "./src/fonts/textfonts.ts");
|
|
186
|
-
/* harmony import */ var _src_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../src/index */ "./src/index.ts");
|
|
187
|
-
// [VexFlow](https://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
|
|
188
|
-
// MIT License
|
|
189
|
-
//
|
|
190
|
-
// vexflow.ts is the entry point for the build output file vexflow.js.
|
|
191
|
-
// It statically bundles all the music engraving fonts, and sets the music font stack to:
|
|
192
|
-
// Flow.setMusicFont('Bravura', 'Gonville', 'Custom');
|
|
193
|
-
// The webpack config inside Gruntfile.js sets the mode to 'production' to produce a minified build.
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
(0,_src_fonts_load_all__WEBPACK_IMPORTED_MODULE_2__.loadAllMusicFonts)();
|
|
199
|
-
_src_flow__WEBPACK_IMPORTED_MODULE_1__.Flow.setMusicFont('Bravura', 'Gonville', 'Custom');
|
|
200
|
-
(0,_src_fonts_textfonts__WEBPACK_IMPORTED_MODULE_3__.loadTextFonts)();
|
|
201
|
-
|
|
202
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_src_vex__WEBPACK_IMPORTED_MODULE_0__.Vex);
|
|
32
|
+
const VERSION = '4.0.2';
|
|
33
|
+
const ID = 'a968cfa5453a34ff0f8bb8bc882d08ef44f62cea';
|
|
34
|
+
const DATE = '2022-04-28T00:14:05.094Z';
|
|
203
35
|
|
|
204
36
|
|
|
205
37
|
/***/ }),
|
|
@@ -776,6 +608,12 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
776
608
|
static get CATEGORY() {
|
|
777
609
|
return _typeguard__WEBPACK_IMPORTED_MODULE_5__.Category.Annotation;
|
|
778
610
|
}
|
|
611
|
+
// Use the same padding for annotations as note head so the
|
|
612
|
+
// words don't run into each other.
|
|
613
|
+
static get minAnnotationPadding() {
|
|
614
|
+
const musicFont = _tables__WEBPACK_IMPORTED_MODULE_3__.Tables.currentMusicFont();
|
|
615
|
+
return musicFont.lookupMetric('glyphs.noteHead.minPadding');
|
|
616
|
+
}
|
|
779
617
|
/** Arrange annotations within a `ModifierContext` */
|
|
780
618
|
static format(annotations, state) {
|
|
781
619
|
if (!annotations || annotations.length === 0)
|
|
@@ -796,14 +634,14 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
796
634
|
const textWidth = textFormatter.getWidthForTextInPx(annotation.text);
|
|
797
635
|
if (annotation.horizontalJustification === AnnotationHorizontalJustify.LEFT) {
|
|
798
636
|
maxLeftGlyphWidth = Math.max(glyphWidth, maxLeftGlyphWidth);
|
|
799
|
-
leftWidth = Math.max(leftWidth, textWidth);
|
|
637
|
+
leftWidth = Math.max(leftWidth, textWidth) + Annotation.minAnnotationPadding;
|
|
800
638
|
}
|
|
801
639
|
else if (annotation.horizontalJustification === AnnotationHorizontalJustify.RIGHT) {
|
|
802
640
|
maxRightGlyphWidth = Math.max(glyphWidth, maxLeftGlyphWidth);
|
|
803
641
|
rightWidth = Math.max(rightWidth, textWidth);
|
|
804
642
|
}
|
|
805
643
|
else {
|
|
806
|
-
leftWidth = Math.max(leftWidth, textWidth / 2);
|
|
644
|
+
leftWidth = Math.max(leftWidth, textWidth / 2) + Annotation.minAnnotationPadding;
|
|
807
645
|
rightWidth = Math.max(rightWidth, textWidth / 2);
|
|
808
646
|
maxLeftGlyphWidth = Math.max(glyphWidth / 2, maxLeftGlyphWidth);
|
|
809
647
|
maxRightGlyphWidth = Math.max(glyphWidth / 2, maxRightGlyphWidth);
|
|
@@ -876,8 +714,8 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
876
714
|
}
|
|
877
715
|
const rightOverlap = Math.min(Math.max(rightWidth - maxRightGlyphWidth, 0), Math.max(rightWidth - state.right_shift, 0));
|
|
878
716
|
const leftOverlap = Math.min(Math.max(leftWidth - maxLeftGlyphWidth, 0), Math.max(leftWidth - state.left_shift, 0));
|
|
879
|
-
state.left_shift += leftOverlap
|
|
880
|
-
state.right_shift += rightOverlap
|
|
717
|
+
state.left_shift += leftOverlap;
|
|
718
|
+
state.right_shift += rightOverlap;
|
|
881
719
|
return true;
|
|
882
720
|
}
|
|
883
721
|
/**
|
|
@@ -912,6 +750,10 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
912
750
|
this.setRendered();
|
|
913
751
|
// We're changing context parameters. Save current state.
|
|
914
752
|
ctx.save();
|
|
753
|
+
// Apply style might not save context, if this.style is undefined, so we
|
|
754
|
+
// still need to save context state just before this, since we will be
|
|
755
|
+
// changing ctx parameters below.
|
|
756
|
+
this.applyStyle();
|
|
915
757
|
const classString = Object.keys(this.getAttribute('classes')).join(' ');
|
|
916
758
|
ctx.openGroup(classString, this.getAttribute('id'));
|
|
917
759
|
ctx.setFont(this.textFont);
|
|
@@ -971,6 +813,7 @@ class Annotation extends _modifier__WEBPACK_IMPORTED_MODULE_1__.Modifier {
|
|
|
971
813
|
L('Rendering annotation: ', this.text, x, y);
|
|
972
814
|
ctx.fillText(this.text, x, y);
|
|
973
815
|
ctx.closeGroup();
|
|
816
|
+
this.restoreStyle();
|
|
974
817
|
ctx.restore();
|
|
975
818
|
}
|
|
976
819
|
}
|
|
@@ -1445,6 +1288,9 @@ BarNote.DEBUG = false;
|
|
|
1445
1288
|
|
|
1446
1289
|
__webpack_require__.r(__webpack_exports__);
|
|
1447
1290
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1291
|
+
/* harmony export */ "BEAM_LEFT": () => (/* binding */ BEAM_LEFT),
|
|
1292
|
+
/* harmony export */ "BEAM_RIGHT": () => (/* binding */ BEAM_RIGHT),
|
|
1293
|
+
/* harmony export */ "BEAM_BOTH": () => (/* binding */ BEAM_BOTH),
|
|
1448
1294
|
/* harmony export */ "Beam": () => (/* binding */ Beam)
|
|
1449
1295
|
/* harmony export */ });
|
|
1450
1296
|
/* harmony import */ var _element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./element */ "./src/element.ts");
|
|
@@ -1493,6 +1339,12 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
1493
1339
|
super();
|
|
1494
1340
|
this.slope = 0;
|
|
1495
1341
|
this.y_shift = 0;
|
|
1342
|
+
/**
|
|
1343
|
+
* Overrides to default beam directions for secondary-level beams that do not
|
|
1344
|
+
* connect to any other note. See further explanation at
|
|
1345
|
+
* `setPartialBeamSideAt`
|
|
1346
|
+
*/
|
|
1347
|
+
this.forcedPartialDirections = {};
|
|
1496
1348
|
if (!notes || notes.length === 0) {
|
|
1497
1349
|
throw new _util__WEBPACK_IMPORTED_MODULE_6__.RuntimeError('BadArguments', 'No notes provided for beam.');
|
|
1498
1350
|
}
|
|
@@ -1880,6 +1732,31 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
1880
1732
|
this.break_on_indices = indices;
|
|
1881
1733
|
return this;
|
|
1882
1734
|
}
|
|
1735
|
+
/**
|
|
1736
|
+
* Forces the direction of a partial beam (a secondary-level beam that exists
|
|
1737
|
+
* on one note only of the beam group). This is useful in rhythms such as 6/8
|
|
1738
|
+
* eighth-sixteenth-eighth-sixteenth, where the direction of the beam on the
|
|
1739
|
+
* first sixteenth note can help imply whether the rhythm is to be felt as
|
|
1740
|
+
* three groups of eighth notes (typical) or as two groups of three-sixteenths
|
|
1741
|
+
* (less common):
|
|
1742
|
+
* ```
|
|
1743
|
+
* ┌───┬──┬──┐ ┌──┬──┬──┐
|
|
1744
|
+
* │ ├─ │ ─┤ vs │ ─┤ │ ─┤
|
|
1745
|
+
* │ │ │ │ │ │ │ │
|
|
1746
|
+
* ```
|
|
1747
|
+
*/
|
|
1748
|
+
setPartialBeamSideAt(noteIndex, side) {
|
|
1749
|
+
this.forcedPartialDirections[noteIndex] = side;
|
|
1750
|
+
return this;
|
|
1751
|
+
}
|
|
1752
|
+
/**
|
|
1753
|
+
* Restore the default direction of a partial beam (a secondary-level beam
|
|
1754
|
+
* that does not connect to any other notes).
|
|
1755
|
+
*/
|
|
1756
|
+
unsetPartialBeamSideAt(noteIndex) {
|
|
1757
|
+
delete this.forcedPartialDirections[noteIndex];
|
|
1758
|
+
return this;
|
|
1759
|
+
}
|
|
1883
1760
|
/** Return the y coordinate for linear function. */
|
|
1884
1761
|
getSlopeY(x, first_x_px, first_y_px, slope) {
|
|
1885
1762
|
return first_y_px + (x - first_x_px) * slope;
|
|
@@ -2030,10 +1907,13 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
2030
1907
|
}
|
|
2031
1908
|
}
|
|
2032
1909
|
/** Return upper level beam direction. */
|
|
2033
|
-
lookupBeamDirection(duration, prev_tick, tick, next_tick) {
|
|
1910
|
+
lookupBeamDirection(duration, prev_tick, tick, next_tick, noteIndex) {
|
|
2034
1911
|
if (duration === '4') {
|
|
2035
1912
|
return BEAM_LEFT;
|
|
2036
1913
|
}
|
|
1914
|
+
const forcedBeamDirection = this.forcedPartialDirections[noteIndex];
|
|
1915
|
+
if (forcedBeamDirection)
|
|
1916
|
+
return forcedBeamDirection;
|
|
2037
1917
|
const lookup_duration = `${_tables__WEBPACK_IMPORTED_MODULE_3__.Tables.durationToNumber(duration) / 2}`;
|
|
2038
1918
|
const prev_note_gets_beam = prev_tick < _tables__WEBPACK_IMPORTED_MODULE_3__.Tables.durationToTicks(lookup_duration);
|
|
2039
1919
|
const next_note_gets_beam = next_tick < _tables__WEBPACK_IMPORTED_MODULE_3__.Tables.durationToTicks(lookup_duration);
|
|
@@ -2047,7 +1927,7 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
2047
1927
|
else if (!prev_note_gets_beam && next_note_gets_beam && note_gets_beam) {
|
|
2048
1928
|
return BEAM_RIGHT;
|
|
2049
1929
|
}
|
|
2050
|
-
return this.lookupBeamDirection(lookup_duration, prev_tick, tick, next_tick);
|
|
1930
|
+
return this.lookupBeamDirection(lookup_duration, prev_tick, tick, next_tick, noteIndex);
|
|
2051
1931
|
}
|
|
2052
1932
|
/** Get the x coordinates for the beam lines of specific `duration`. */
|
|
2053
1933
|
getBeamLines(duration) {
|
|
@@ -2111,7 +1991,7 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
2111
1991
|
const prev_tick = prev_note.getIntrinsicTicks();
|
|
2112
1992
|
const next_tick = next_note.getIntrinsicTicks();
|
|
2113
1993
|
const tick = note.getIntrinsicTicks();
|
|
2114
|
-
const beam_direction = this.lookupBeamDirection(duration, prev_tick, tick, next_tick);
|
|
1994
|
+
const beam_direction = this.lookupBeamDirection(duration, prev_tick, tick, next_tick, i);
|
|
2115
1995
|
if ([BEAM_LEFT, BEAM_BOTH].includes(beam_direction)) {
|
|
2116
1996
|
current_beam.end = current_beam.start - partial_beam_length;
|
|
2117
1997
|
}
|
|
@@ -2160,6 +2040,8 @@ class Beam extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
2160
2040
|
this.notes.forEach((note) => {
|
|
2161
2041
|
const stem = note.getStem();
|
|
2162
2042
|
if (stem) {
|
|
2043
|
+
const stem_x = note.getStemX();
|
|
2044
|
+
stem.setNoteHeadXBounds(stem_x, stem_x);
|
|
2163
2045
|
ctx.openGroup('stem', note.getAttribute('id') + '-stem');
|
|
2164
2046
|
stem.setContext(ctx).draw();
|
|
2165
2047
|
ctx.closeGroup();
|
|
@@ -5657,9 +5539,14 @@ class Factory {
|
|
|
5657
5539
|
return tuplet;
|
|
5658
5540
|
}
|
|
5659
5541
|
Beam(params) {
|
|
5660
|
-
var _a, _b, _c;
|
|
5542
|
+
var _a, _b, _c, _d, _e;
|
|
5661
5543
|
const beam = new _beam__WEBPACK_IMPORTED_MODULE_4__.Beam(params.notes, (_a = params.options) === null || _a === void 0 ? void 0 : _a.autoStem).setContext(this.context);
|
|
5662
5544
|
beam.breakSecondaryAt((_c = (_b = params.options) === null || _b === void 0 ? void 0 : _b.secondaryBeamBreaks) !== null && _c !== void 0 ? _c : []);
|
|
5545
|
+
if ((_d = params.options) === null || _d === void 0 ? void 0 : _d.partialBeamDirections) {
|
|
5546
|
+
Object.entries((_e = params.options) === null || _e === void 0 ? void 0 : _e.partialBeamDirections).forEach(([noteIndex, direction]) => {
|
|
5547
|
+
beam.setPartialBeamSideAt(Number(noteIndex), direction);
|
|
5548
|
+
});
|
|
5549
|
+
}
|
|
5663
5550
|
this.renderQ.push(beam);
|
|
5664
5551
|
return beam;
|
|
5665
5552
|
}
|
|
@@ -5980,14 +5867,6 @@ class Flow {
|
|
|
5980
5867
|
DATE: _version__WEBPACK_IMPORTED_MODULE_78__.DATE,
|
|
5981
5868
|
};
|
|
5982
5869
|
}
|
|
5983
|
-
static get Flow() {
|
|
5984
|
-
// This (circular reference) provides a handy shortcut for importing VexFlow via `require()`.
|
|
5985
|
-
// For example:
|
|
5986
|
-
// const Vex = require('vexflow');
|
|
5987
|
-
// const { Flow, Stave, StaveNote, Formatter, Renderer } = Vex.Flow;
|
|
5988
|
-
return Flow;
|
|
5989
|
-
}
|
|
5990
|
-
// ... more to come ...
|
|
5991
5870
|
/**
|
|
5992
5871
|
* Examples:
|
|
5993
5872
|
* ```
|
|
@@ -6193,9 +6072,26 @@ Flow.Vibrato = _vibrato__WEBPACK_IMPORTED_MODULE_79__.Vibrato;
|
|
|
6193
6072
|
Flow.VibratoBracket = _vibratobracket__WEBPACK_IMPORTED_MODULE_80__.VibratoBracket;
|
|
6194
6073
|
Flow.Voice = _voice__WEBPACK_IMPORTED_MODULE_81__.Voice;
|
|
6195
6074
|
Flow.Volta = _stavevolta__WEBPACK_IMPORTED_MODULE_57__.Volta;
|
|
6196
|
-
//
|
|
6197
|
-
|
|
6075
|
+
// Exported Enums.
|
|
6076
|
+
// Sorted by the module / file they are exported from.
|
|
6077
|
+
Flow.AnnotationHorizontalJustify = _annotation__WEBPACK_IMPORTED_MODULE_1__.AnnotationHorizontalJustify;
|
|
6078
|
+
Flow.AnnotationVerticalJustify = _annotation__WEBPACK_IMPORTED_MODULE_1__.AnnotationVerticalJustify;
|
|
6079
|
+
Flow.ChordSymbolHorizontalJustify = _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.ChordSymbolHorizontalJustify;
|
|
6080
|
+
Flow.ChordSymbolVerticalJustify = _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.ChordSymbolVerticalJustify;
|
|
6081
|
+
Flow.SymbolTypes = _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.SymbolTypes;
|
|
6082
|
+
Flow.SymbolModifiers = _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.SymbolModifiers;
|
|
6083
|
+
Flow.CurvePosition = _curve__WEBPACK_IMPORTED_MODULE_13__.CurvePosition;
|
|
6084
|
+
Flow.FontWeight = _font__WEBPACK_IMPORTED_MODULE_18__.FontWeight;
|
|
6085
|
+
Flow.FontStyle = _font__WEBPACK_IMPORTED_MODULE_18__.FontStyle;
|
|
6198
6086
|
Flow.ModifierPosition = _modifier__WEBPACK_IMPORTED_MODULE_31__.ModifierPosition;
|
|
6087
|
+
Flow.RendererBackends = _renderer__WEBPACK_IMPORTED_MODULE_44__.RendererBackends;
|
|
6088
|
+
Flow.RendererLineEndType = _renderer__WEBPACK_IMPORTED_MODULE_44__.RendererLineEndType;
|
|
6089
|
+
Flow.BarlineType = _stavebarline__WEBPACK_IMPORTED_MODULE_47__.BarlineType;
|
|
6090
|
+
Flow.StaveModifierPosition = _stavemodifier__WEBPACK_IMPORTED_MODULE_51__.StaveModifierPosition;
|
|
6091
|
+
Flow.VoltaType = _stavevolta__WEBPACK_IMPORTED_MODULE_57__.VoltaType;
|
|
6092
|
+
Flow.TextBracketPosition = _textbracket__WEBPACK_IMPORTED_MODULE_68__.TextBracketPosition;
|
|
6093
|
+
Flow.TextJustification = _textnote__WEBPACK_IMPORTED_MODULE_71__.TextJustification;
|
|
6094
|
+
Flow.VoiceMode = _voice__WEBPACK_IMPORTED_MODULE_81__.VoiceMode;
|
|
6199
6095
|
|
|
6200
6096
|
|
|
6201
6097
|
/***/ }),
|
|
@@ -6486,9 +6382,6 @@ class Font {
|
|
|
6486
6382
|
}
|
|
6487
6383
|
});
|
|
6488
6384
|
}
|
|
6489
|
-
static loadTextFonts() {
|
|
6490
|
-
//
|
|
6491
|
-
}
|
|
6492
6385
|
/**
|
|
6493
6386
|
* @param fontName
|
|
6494
6387
|
* @param data optionally set the Font object's `.data` property.
|
|
@@ -16278,12 +16171,13 @@ class Formatter {
|
|
|
16278
16171
|
const musicFont = _tables__WEBPACK_IMPORTED_MODULE_6__.Tables.currentMusicFont();
|
|
16279
16172
|
const configMinPadding = musicFont.lookupMetric('stave.endPaddingMin');
|
|
16280
16173
|
const configMaxPadding = musicFont.lookupMetric('stave.endPaddingMax');
|
|
16174
|
+
const leftPadding = musicFont.lookupMetric('stave.padding');
|
|
16281
16175
|
let targetWidth = adjustedJustifyWidth;
|
|
16282
16176
|
const distances = calculateIdealDistances(targetWidth);
|
|
16283
16177
|
let actualWidth = shiftToIdealDistances(distances);
|
|
16284
|
-
//
|
|
16285
|
-
|
|
16286
|
-
|
|
16178
|
+
// Just one context. Done formatting.
|
|
16179
|
+
if (contextList.length === 1)
|
|
16180
|
+
return 0;
|
|
16287
16181
|
const calcMinDistance = (targetWidth, distances) => {
|
|
16288
16182
|
let mdCalc = targetWidth / 2;
|
|
16289
16183
|
if (distances.length > 1) {
|
|
@@ -16294,20 +16188,35 @@ class Formatter {
|
|
|
16294
16188
|
return mdCalc;
|
|
16295
16189
|
};
|
|
16296
16190
|
const minDistance = calcMinDistance(targetWidth, distances);
|
|
16297
|
-
// Just one context. Done formatting.
|
|
16298
|
-
if (contextList.length === 1)
|
|
16299
|
-
return 0;
|
|
16300
16191
|
// right justify to either the configured padding, or the min distance between notes, whichever is greatest.
|
|
16301
16192
|
// This * 2 keeps the existing formatting unless there is 'a lot' of extra whitespace, which won't break
|
|
16302
16193
|
// existing visual regression tests.
|
|
16303
|
-
const
|
|
16304
|
-
|
|
16194
|
+
const paddingMaxCalc = (curTargetWidth) => {
|
|
16195
|
+
let lastTickablePadding = 0;
|
|
16196
|
+
const lastTickable = lastContext && lastContext.getMaxTickable();
|
|
16197
|
+
if (lastTickable) {
|
|
16198
|
+
const voice = lastTickable.getVoice();
|
|
16199
|
+
// If the number of actual ticks in the measure <> configured ticks, right-justify
|
|
16200
|
+
// because the softmax won't yield the correct value
|
|
16201
|
+
if (voice.getTicksUsed().value() > voice.getTotalTicks().value()) {
|
|
16202
|
+
return configMaxPadding * 2 < minDistance ? minDistance : configMaxPadding;
|
|
16203
|
+
}
|
|
16204
|
+
const tickWidth = lastTickable.getWidth();
|
|
16205
|
+
lastTickablePadding =
|
|
16206
|
+
voice.softmax(lastContext.getMaxTicks().value()) * curTargetWidth - (tickWidth + leftPadding);
|
|
16207
|
+
}
|
|
16208
|
+
return configMaxPadding * 2 < lastTickablePadding ? lastTickablePadding : configMaxPadding;
|
|
16209
|
+
};
|
|
16210
|
+
let paddingMax = paddingMaxCalc(targetWidth);
|
|
16211
|
+
let paddingMin = paddingMax - (configMaxPadding - configMinPadding);
|
|
16305
16212
|
const maxX = adjustedJustifyWidth - paddingMin;
|
|
16306
16213
|
let iterations = maxIterations;
|
|
16307
16214
|
// Adjust justification width until the right margin is as close as possible to the calculated padding,
|
|
16308
16215
|
// without going over
|
|
16309
16216
|
while ((actualWidth > maxX && iterations > 0) || (actualWidth + paddingMax < maxX && iterations > 1)) {
|
|
16310
16217
|
targetWidth -= actualWidth - maxX;
|
|
16218
|
+
paddingMax = paddingMaxCalc(targetWidth);
|
|
16219
|
+
paddingMin = paddingMax - (configMaxPadding - configMinPadding);
|
|
16311
16220
|
actualWidth = shiftToIdealDistances(calculateIdealDistances(targetWidth));
|
|
16312
16221
|
iterations--;
|
|
16313
16222
|
}
|
|
@@ -17315,10 +17224,16 @@ class Glyph extends _element__WEBPACK_IMPORTED_MODULE_2__.Element {
|
|
|
17315
17224
|
this.stave = stave;
|
|
17316
17225
|
return this;
|
|
17317
17226
|
}
|
|
17227
|
+
getXShift() {
|
|
17228
|
+
return this.x_shift;
|
|
17229
|
+
}
|
|
17318
17230
|
setXShift(x_shift) {
|
|
17319
17231
|
this.x_shift = x_shift;
|
|
17320
17232
|
return this;
|
|
17321
17233
|
}
|
|
17234
|
+
getYshift() {
|
|
17235
|
+
return this.y_shift;
|
|
17236
|
+
}
|
|
17322
17237
|
setYShift(y_shift) {
|
|
17323
17238
|
this.y_shift = y_shift;
|
|
17324
17239
|
return this;
|
|
@@ -17861,226 +17776,228 @@ class GraceTabNote extends _tabnote__WEBPACK_IMPORTED_MODULE_1__.TabNote {
|
|
|
17861
17776
|
|
|
17862
17777
|
__webpack_require__.r(__webpack_exports__);
|
|
17863
17778
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17864
|
-
/* harmony export */ "Accidental": () => (/* reexport safe */
|
|
17865
|
-
/* harmony export */ "Annotation": () => (/* reexport safe */
|
|
17866
|
-
/* harmony export */ "AnnotationHorizontalJustify": () => (/* reexport safe */
|
|
17867
|
-
/* harmony export */ "AnnotationVerticalJustify": () => (/* reexport safe */
|
|
17868
|
-
/* harmony export */ "Articulation": () => (/* reexport safe */
|
|
17869
|
-
/* harmony export */ "BarNote": () => (/* reexport safe */
|
|
17870
|
-
/* harmony export */ "
|
|
17871
|
-
/* harmony export */ "
|
|
17872
|
-
/* harmony export */ "
|
|
17873
|
-
/* harmony export */ "
|
|
17874
|
-
/* harmony export */ "
|
|
17875
|
-
/* harmony export */ "
|
|
17876
|
-
/* harmony export */ "
|
|
17877
|
-
/* harmony export */ "
|
|
17878
|
-
/* harmony export */ "
|
|
17879
|
-
/* harmony export */ "
|
|
17880
|
-
/* harmony export */ "
|
|
17881
|
-
/* harmony export */ "
|
|
17882
|
-
/* harmony export */ "
|
|
17883
|
-
/* harmony export */ "
|
|
17884
|
-
/* harmony export */ "
|
|
17885
|
-
/* harmony export */ "
|
|
17886
|
-
/* harmony export */ "
|
|
17887
|
-
/* harmony export */ "
|
|
17888
|
-
/* harmony export */ "
|
|
17889
|
-
/* harmony export */ "
|
|
17890
|
-
/* harmony export */ "
|
|
17891
|
-
/* harmony export */ "
|
|
17892
|
-
/* harmony export */ "
|
|
17893
|
-
/* harmony export */ "
|
|
17894
|
-
/* harmony export */ "
|
|
17895
|
-
/* harmony export */ "
|
|
17896
|
-
/* harmony export */ "
|
|
17897
|
-
/* harmony export */ "
|
|
17898
|
-
/* harmony export */ "
|
|
17899
|
-
/* harmony export */ "
|
|
17900
|
-
/* harmony export */ "
|
|
17901
|
-
/* harmony export */ "
|
|
17902
|
-
/* harmony export */ "
|
|
17903
|
-
/* harmony export */ "
|
|
17904
|
-
/* harmony export */ "
|
|
17905
|
-
/* harmony export */ "
|
|
17906
|
-
/* harmony export */ "
|
|
17907
|
-
/* harmony export */ "
|
|
17908
|
-
/* harmony export */ "
|
|
17909
|
-
/* harmony export */ "
|
|
17910
|
-
/* harmony export */ "
|
|
17911
|
-
/* harmony export */ "
|
|
17912
|
-
/* harmony export */ "
|
|
17913
|
-
/* harmony export */ "
|
|
17914
|
-
/* harmony export */ "
|
|
17915
|
-
/* harmony export */ "
|
|
17916
|
-
/* harmony export */ "
|
|
17917
|
-
/* harmony export */ "
|
|
17918
|
-
/* harmony export */ "
|
|
17919
|
-
/* harmony export */ "
|
|
17920
|
-
/* harmony export */ "
|
|
17921
|
-
/* harmony export */ "
|
|
17922
|
-
/* harmony export */ "
|
|
17923
|
-
/* harmony export */ "
|
|
17924
|
-
/* harmony export */ "
|
|
17925
|
-
/* harmony export */ "
|
|
17926
|
-
/* harmony export */ "
|
|
17927
|
-
/* harmony export */ "
|
|
17928
|
-
/* harmony export */ "
|
|
17929
|
-
/* harmony export */ "
|
|
17930
|
-
/* harmony export */ "
|
|
17931
|
-
/* harmony export */ "
|
|
17932
|
-
/* harmony export */ "
|
|
17933
|
-
/* harmony export */ "
|
|
17934
|
-
/* harmony export */ "
|
|
17935
|
-
/* harmony export */ "
|
|
17936
|
-
/* harmony export */ "
|
|
17937
|
-
/* harmony export */ "
|
|
17938
|
-
/* harmony export */ "
|
|
17939
|
-
/* harmony export */ "
|
|
17940
|
-
/* harmony export */ "
|
|
17941
|
-
/* harmony export */ "
|
|
17942
|
-
/* harmony export */ "
|
|
17943
|
-
/* harmony export */ "
|
|
17944
|
-
/* harmony export */ "
|
|
17945
|
-
/* harmony export */ "
|
|
17946
|
-
/* harmony export */ "
|
|
17947
|
-
/* harmony export */ "
|
|
17948
|
-
/* harmony export */ "
|
|
17949
|
-
/* harmony export */ "
|
|
17950
|
-
/* harmony export */ "
|
|
17951
|
-
/* harmony export */ "
|
|
17952
|
-
/* harmony export */ "
|
|
17953
|
-
/* harmony export */ "
|
|
17954
|
-
/* harmony export */ "
|
|
17955
|
-
/* harmony export */ "
|
|
17956
|
-
/* harmony export */ "
|
|
17957
|
-
/* harmony export */ "
|
|
17958
|
-
/* harmony export */ "
|
|
17959
|
-
/* harmony export */ "
|
|
17960
|
-
/* harmony export */ "
|
|
17961
|
-
/* harmony export */ "
|
|
17962
|
-
/* harmony export */ "
|
|
17963
|
-
/* harmony export */ "
|
|
17964
|
-
/* harmony export */ "
|
|
17965
|
-
/* harmony export */ "
|
|
17966
|
-
/* harmony export */ "
|
|
17967
|
-
/* harmony export */ "
|
|
17968
|
-
/* harmony export */ "
|
|
17969
|
-
/* harmony export */ "
|
|
17970
|
-
/* harmony export */ "
|
|
17971
|
-
/* harmony export */ "
|
|
17972
|
-
/* harmony export */ "
|
|
17973
|
-
/* harmony export */ "
|
|
17974
|
-
/* harmony export */ "
|
|
17975
|
-
/* harmony export */ "
|
|
17976
|
-
/* harmony export */ "
|
|
17977
|
-
/* harmony export */ "
|
|
17978
|
-
/* harmony export */ "
|
|
17979
|
-
/* harmony export */ "
|
|
17980
|
-
/* harmony export */ "
|
|
17981
|
-
/* harmony export */ "
|
|
17982
|
-
/* harmony export */ "
|
|
17983
|
-
/* harmony export */ "
|
|
17984
|
-
/* harmony export */ "
|
|
17985
|
-
/* harmony export */ "
|
|
17986
|
-
/* harmony export */ "
|
|
17987
|
-
/* harmony export */ "
|
|
17988
|
-
/* harmony export */ "
|
|
17989
|
-
/* harmony export */ "
|
|
17779
|
+
/* harmony export */ "Accidental": () => (/* reexport safe */ _accidental__WEBPACK_IMPORTED_MODULE_0__.Accidental),
|
|
17780
|
+
/* harmony export */ "Annotation": () => (/* reexport safe */ _annotation__WEBPACK_IMPORTED_MODULE_1__.Annotation),
|
|
17781
|
+
/* harmony export */ "AnnotationHorizontalJustify": () => (/* reexport safe */ _annotation__WEBPACK_IMPORTED_MODULE_1__.AnnotationHorizontalJustify),
|
|
17782
|
+
/* harmony export */ "AnnotationVerticalJustify": () => (/* reexport safe */ _annotation__WEBPACK_IMPORTED_MODULE_1__.AnnotationVerticalJustify),
|
|
17783
|
+
/* harmony export */ "Articulation": () => (/* reexport safe */ _articulation__WEBPACK_IMPORTED_MODULE_2__.Articulation),
|
|
17784
|
+
/* harmony export */ "BarNote": () => (/* reexport safe */ _barnote__WEBPACK_IMPORTED_MODULE_3__.BarNote),
|
|
17785
|
+
/* harmony export */ "BEAM_BOTH": () => (/* reexport safe */ _beam__WEBPACK_IMPORTED_MODULE_4__.BEAM_BOTH),
|
|
17786
|
+
/* harmony export */ "BEAM_LEFT": () => (/* reexport safe */ _beam__WEBPACK_IMPORTED_MODULE_4__.BEAM_LEFT),
|
|
17787
|
+
/* harmony export */ "BEAM_RIGHT": () => (/* reexport safe */ _beam__WEBPACK_IMPORTED_MODULE_4__.BEAM_RIGHT),
|
|
17788
|
+
/* harmony export */ "Beam": () => (/* reexport safe */ _beam__WEBPACK_IMPORTED_MODULE_4__.Beam),
|
|
17789
|
+
/* harmony export */ "Bend": () => (/* reexport safe */ _bend__WEBPACK_IMPORTED_MODULE_5__.Bend),
|
|
17790
|
+
/* harmony export */ "BoundingBox": () => (/* reexport safe */ _boundingbox__WEBPACK_IMPORTED_MODULE_6__.BoundingBox),
|
|
17791
|
+
/* harmony export */ "BoundingBoxComputation": () => (/* reexport safe */ _boundingboxcomputation__WEBPACK_IMPORTED_MODULE_7__.BoundingBoxComputation),
|
|
17792
|
+
/* harmony export */ "CanvasContext": () => (/* reexport safe */ _canvascontext__WEBPACK_IMPORTED_MODULE_8__.CanvasContext),
|
|
17793
|
+
/* harmony export */ "ChordSymbol": () => (/* reexport safe */ _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.ChordSymbol),
|
|
17794
|
+
/* harmony export */ "ChordSymbolHorizontalJustify": () => (/* reexport safe */ _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.ChordSymbolHorizontalJustify),
|
|
17795
|
+
/* harmony export */ "ChordSymbolVerticalJustify": () => (/* reexport safe */ _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.ChordSymbolVerticalJustify),
|
|
17796
|
+
/* harmony export */ "SymbolModifiers": () => (/* reexport safe */ _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.SymbolModifiers),
|
|
17797
|
+
/* harmony export */ "SymbolTypes": () => (/* reexport safe */ _chordsymbol__WEBPACK_IMPORTED_MODULE_9__.SymbolTypes),
|
|
17798
|
+
/* harmony export */ "Clef": () => (/* reexport safe */ _clef__WEBPACK_IMPORTED_MODULE_10__.Clef),
|
|
17799
|
+
/* harmony export */ "ClefNote": () => (/* reexport safe */ _clefnote__WEBPACK_IMPORTED_MODULE_11__.ClefNote),
|
|
17800
|
+
/* harmony export */ "Crescendo": () => (/* reexport safe */ _crescendo__WEBPACK_IMPORTED_MODULE_12__.Crescendo),
|
|
17801
|
+
/* harmony export */ "Curve": () => (/* reexport safe */ _curve__WEBPACK_IMPORTED_MODULE_13__.Curve),
|
|
17802
|
+
/* harmony export */ "CurvePosition": () => (/* reexport safe */ _curve__WEBPACK_IMPORTED_MODULE_13__.CurvePosition),
|
|
17803
|
+
/* harmony export */ "Dot": () => (/* reexport safe */ _dot__WEBPACK_IMPORTED_MODULE_14__.Dot),
|
|
17804
|
+
/* harmony export */ "Builder": () => (/* reexport safe */ _easyscore__WEBPACK_IMPORTED_MODULE_15__.Builder),
|
|
17805
|
+
/* harmony export */ "EasyScore": () => (/* reexport safe */ _easyscore__WEBPACK_IMPORTED_MODULE_15__.EasyScore),
|
|
17806
|
+
/* harmony export */ "EasyScoreGrammar": () => (/* reexport safe */ _easyscore__WEBPACK_IMPORTED_MODULE_15__.EasyScoreGrammar),
|
|
17807
|
+
/* harmony export */ "Piece": () => (/* reexport safe */ _easyscore__WEBPACK_IMPORTED_MODULE_15__.Piece),
|
|
17808
|
+
/* harmony export */ "Element": () => (/* reexport safe */ _element__WEBPACK_IMPORTED_MODULE_16__.Element),
|
|
17809
|
+
/* harmony export */ "Factory": () => (/* reexport safe */ _factory__WEBPACK_IMPORTED_MODULE_17__.Factory),
|
|
17810
|
+
/* harmony export */ "Flow": () => (/* reexport safe */ _flow__WEBPACK_IMPORTED_MODULE_18__.Flow),
|
|
17811
|
+
/* harmony export */ "Font": () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_19__.Font),
|
|
17812
|
+
/* harmony export */ "FontStyle": () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_19__.FontStyle),
|
|
17813
|
+
/* harmony export */ "FontWeight": () => (/* reexport safe */ _font__WEBPACK_IMPORTED_MODULE_19__.FontWeight),
|
|
17814
|
+
/* harmony export */ "Formatter": () => (/* reexport safe */ _formatter__WEBPACK_IMPORTED_MODULE_20__.Formatter),
|
|
17815
|
+
/* harmony export */ "Fraction": () => (/* reexport safe */ _fraction__WEBPACK_IMPORTED_MODULE_21__.Fraction),
|
|
17816
|
+
/* harmony export */ "FretHandFinger": () => (/* reexport safe */ _frethandfinger__WEBPACK_IMPORTED_MODULE_22__.FretHandFinger),
|
|
17817
|
+
/* harmony export */ "GhostNote": () => (/* reexport safe */ _ghostnote__WEBPACK_IMPORTED_MODULE_23__.GhostNote),
|
|
17818
|
+
/* harmony export */ "Glyph": () => (/* reexport safe */ _glyph__WEBPACK_IMPORTED_MODULE_24__.Glyph),
|
|
17819
|
+
/* harmony export */ "OutlineCode": () => (/* reexport safe */ _glyph__WEBPACK_IMPORTED_MODULE_24__.OutlineCode),
|
|
17820
|
+
/* harmony export */ "GlyphNote": () => (/* reexport safe */ _glyphnote__WEBPACK_IMPORTED_MODULE_25__.GlyphNote),
|
|
17821
|
+
/* harmony export */ "GraceNote": () => (/* reexport safe */ _gracenote__WEBPACK_IMPORTED_MODULE_26__.GraceNote),
|
|
17822
|
+
/* harmony export */ "GraceNoteGroup": () => (/* reexport safe */ _gracenotegroup__WEBPACK_IMPORTED_MODULE_27__.GraceNoteGroup),
|
|
17823
|
+
/* harmony export */ "GraceTabNote": () => (/* reexport safe */ _gracetabnote__WEBPACK_IMPORTED_MODULE_28__.GraceTabNote),
|
|
17824
|
+
/* harmony export */ "KeyManager": () => (/* reexport safe */ _keymanager__WEBPACK_IMPORTED_MODULE_29__.KeyManager),
|
|
17825
|
+
/* harmony export */ "KeySignature": () => (/* reexport safe */ _keysignature__WEBPACK_IMPORTED_MODULE_30__.KeySignature),
|
|
17826
|
+
/* harmony export */ "KeySigNote": () => (/* reexport safe */ _keysignote__WEBPACK_IMPORTED_MODULE_31__.KeySigNote),
|
|
17827
|
+
/* harmony export */ "Modifier": () => (/* reexport safe */ _modifier__WEBPACK_IMPORTED_MODULE_32__.Modifier),
|
|
17828
|
+
/* harmony export */ "ModifierPosition": () => (/* reexport safe */ _modifier__WEBPACK_IMPORTED_MODULE_32__.ModifierPosition),
|
|
17829
|
+
/* harmony export */ "ModifierContext": () => (/* reexport safe */ _modifiercontext__WEBPACK_IMPORTED_MODULE_33__.ModifierContext),
|
|
17830
|
+
/* harmony export */ "MultiMeasureRest": () => (/* reexport safe */ _multimeasurerest__WEBPACK_IMPORTED_MODULE_34__.MultiMeasureRest),
|
|
17831
|
+
/* harmony export */ "Music": () => (/* reexport safe */ _music__WEBPACK_IMPORTED_MODULE_35__.Music),
|
|
17832
|
+
/* harmony export */ "Note": () => (/* reexport safe */ _note__WEBPACK_IMPORTED_MODULE_36__.Note),
|
|
17833
|
+
/* harmony export */ "NoteHead": () => (/* reexport safe */ _notehead__WEBPACK_IMPORTED_MODULE_37__.NoteHead),
|
|
17834
|
+
/* harmony export */ "NoteSubGroup": () => (/* reexport safe */ _notesubgroup__WEBPACK_IMPORTED_MODULE_38__.NoteSubGroup),
|
|
17835
|
+
/* harmony export */ "Ornament": () => (/* reexport safe */ _ornament__WEBPACK_IMPORTED_MODULE_39__.Ornament),
|
|
17836
|
+
/* harmony export */ "Parenthesis": () => (/* reexport safe */ _parenthesis__WEBPACK_IMPORTED_MODULE_40__.Parenthesis),
|
|
17837
|
+
/* harmony export */ "Parser": () => (/* reexport safe */ _parser__WEBPACK_IMPORTED_MODULE_41__.Parser),
|
|
17838
|
+
/* harmony export */ "PedalMarking": () => (/* reexport safe */ _pedalmarking__WEBPACK_IMPORTED_MODULE_42__.PedalMarking),
|
|
17839
|
+
/* harmony export */ "Registry": () => (/* reexport safe */ _registry__WEBPACK_IMPORTED_MODULE_43__.Registry),
|
|
17840
|
+
/* harmony export */ "RenderContext": () => (/* reexport safe */ _rendercontext__WEBPACK_IMPORTED_MODULE_44__.RenderContext),
|
|
17841
|
+
/* harmony export */ "drawDot": () => (/* reexport safe */ _rendercontext__WEBPACK_IMPORTED_MODULE_44__.drawDot),
|
|
17842
|
+
/* harmony export */ "Renderer": () => (/* reexport safe */ _renderer__WEBPACK_IMPORTED_MODULE_45__.Renderer),
|
|
17843
|
+
/* harmony export */ "RendererBackends": () => (/* reexport safe */ _renderer__WEBPACK_IMPORTED_MODULE_45__.RendererBackends),
|
|
17844
|
+
/* harmony export */ "RendererLineEndType": () => (/* reexport safe */ _renderer__WEBPACK_IMPORTED_MODULE_45__.RendererLineEndType),
|
|
17845
|
+
/* harmony export */ "RepeatNote": () => (/* reexport safe */ _repeatnote__WEBPACK_IMPORTED_MODULE_46__.RepeatNote),
|
|
17846
|
+
/* harmony export */ "Stave": () => (/* reexport safe */ _stave__WEBPACK_IMPORTED_MODULE_47__.Stave),
|
|
17847
|
+
/* harmony export */ "Barline": () => (/* reexport safe */ _stavebarline__WEBPACK_IMPORTED_MODULE_48__.Barline),
|
|
17848
|
+
/* harmony export */ "BarlineType": () => (/* reexport safe */ _stavebarline__WEBPACK_IMPORTED_MODULE_48__.BarlineType),
|
|
17849
|
+
/* harmony export */ "StaveConnector": () => (/* reexport safe */ _staveconnector__WEBPACK_IMPORTED_MODULE_49__.StaveConnector),
|
|
17850
|
+
/* harmony export */ "StaveHairpin": () => (/* reexport safe */ _stavehairpin__WEBPACK_IMPORTED_MODULE_50__.StaveHairpin),
|
|
17851
|
+
/* harmony export */ "StaveLine": () => (/* reexport safe */ _staveline__WEBPACK_IMPORTED_MODULE_51__.StaveLine),
|
|
17852
|
+
/* harmony export */ "StaveModifier": () => (/* reexport safe */ _stavemodifier__WEBPACK_IMPORTED_MODULE_52__.StaveModifier),
|
|
17853
|
+
/* harmony export */ "StaveModifierPosition": () => (/* reexport safe */ _stavemodifier__WEBPACK_IMPORTED_MODULE_52__.StaveModifierPosition),
|
|
17854
|
+
/* harmony export */ "StaveNote": () => (/* reexport safe */ _stavenote__WEBPACK_IMPORTED_MODULE_53__.StaveNote),
|
|
17855
|
+
/* harmony export */ "Repetition": () => (/* reexport safe */ _staverepetition__WEBPACK_IMPORTED_MODULE_54__.Repetition),
|
|
17856
|
+
/* harmony export */ "StaveSection": () => (/* reexport safe */ _stavesection__WEBPACK_IMPORTED_MODULE_55__.StaveSection),
|
|
17857
|
+
/* harmony export */ "StaveTempo": () => (/* reexport safe */ _stavetempo__WEBPACK_IMPORTED_MODULE_56__.StaveTempo),
|
|
17858
|
+
/* harmony export */ "StaveText": () => (/* reexport safe */ _stavetext__WEBPACK_IMPORTED_MODULE_57__.StaveText),
|
|
17859
|
+
/* harmony export */ "StaveTie": () => (/* reexport safe */ _stavetie__WEBPACK_IMPORTED_MODULE_58__.StaveTie),
|
|
17860
|
+
/* harmony export */ "Volta": () => (/* reexport safe */ _stavevolta__WEBPACK_IMPORTED_MODULE_59__.Volta),
|
|
17861
|
+
/* harmony export */ "VoltaType": () => (/* reexport safe */ _stavevolta__WEBPACK_IMPORTED_MODULE_59__.VoltaType),
|
|
17862
|
+
/* harmony export */ "Stem": () => (/* reexport safe */ _stem__WEBPACK_IMPORTED_MODULE_60__.Stem),
|
|
17863
|
+
/* harmony export */ "StemmableNote": () => (/* reexport safe */ _stemmablenote__WEBPACK_IMPORTED_MODULE_61__.StemmableNote),
|
|
17864
|
+
/* harmony export */ "StringNumber": () => (/* reexport safe */ _stringnumber__WEBPACK_IMPORTED_MODULE_62__.StringNumber),
|
|
17865
|
+
/* harmony export */ "Stroke": () => (/* reexport safe */ _strokes__WEBPACK_IMPORTED_MODULE_63__.Stroke),
|
|
17866
|
+
/* harmony export */ "SVGContext": () => (/* reexport safe */ _svgcontext__WEBPACK_IMPORTED_MODULE_64__.SVGContext),
|
|
17867
|
+
/* harmony export */ "System": () => (/* reexport safe */ _system__WEBPACK_IMPORTED_MODULE_65__.System),
|
|
17868
|
+
/* harmony export */ "TabNote": () => (/* reexport safe */ _tabnote__WEBPACK_IMPORTED_MODULE_66__.TabNote),
|
|
17869
|
+
/* harmony export */ "TabSlide": () => (/* reexport safe */ _tabslide__WEBPACK_IMPORTED_MODULE_67__.TabSlide),
|
|
17870
|
+
/* harmony export */ "TabStave": () => (/* reexport safe */ _tabstave__WEBPACK_IMPORTED_MODULE_68__.TabStave),
|
|
17871
|
+
/* harmony export */ "TabTie": () => (/* reexport safe */ _tabtie__WEBPACK_IMPORTED_MODULE_69__.TabTie),
|
|
17872
|
+
/* harmony export */ "TextBracket": () => (/* reexport safe */ _textbracket__WEBPACK_IMPORTED_MODULE_70__.TextBracket),
|
|
17873
|
+
/* harmony export */ "TextBracketPosition": () => (/* reexport safe */ _textbracket__WEBPACK_IMPORTED_MODULE_70__.TextBracketPosition),
|
|
17874
|
+
/* harmony export */ "TextDynamics": () => (/* reexport safe */ _textdynamics__WEBPACK_IMPORTED_MODULE_71__.TextDynamics),
|
|
17875
|
+
/* harmony export */ "TextFormatter": () => (/* reexport safe */ _textformatter__WEBPACK_IMPORTED_MODULE_72__.TextFormatter),
|
|
17876
|
+
/* harmony export */ "TextJustification": () => (/* reexport safe */ _textnote__WEBPACK_IMPORTED_MODULE_73__.TextJustification),
|
|
17877
|
+
/* harmony export */ "TextNote": () => (/* reexport safe */ _textnote__WEBPACK_IMPORTED_MODULE_73__.TextNote),
|
|
17878
|
+
/* harmony export */ "Tickable": () => (/* reexport safe */ _tickable__WEBPACK_IMPORTED_MODULE_74__.Tickable),
|
|
17879
|
+
/* harmony export */ "TickContext": () => (/* reexport safe */ _tickcontext__WEBPACK_IMPORTED_MODULE_75__.TickContext),
|
|
17880
|
+
/* harmony export */ "TimeSignatureGlyph": () => (/* reexport safe */ _timesigglyph__WEBPACK_IMPORTED_MODULE_76__.TimeSignatureGlyph),
|
|
17881
|
+
/* harmony export */ "TimeSignature": () => (/* reexport safe */ _timesignature__WEBPACK_IMPORTED_MODULE_77__.TimeSignature),
|
|
17882
|
+
/* harmony export */ "TimeSigNote": () => (/* reexport safe */ _timesignote__WEBPACK_IMPORTED_MODULE_78__.TimeSigNote),
|
|
17883
|
+
/* harmony export */ "Tremolo": () => (/* reexport safe */ _tremolo__WEBPACK_IMPORTED_MODULE_79__.Tremolo),
|
|
17884
|
+
/* harmony export */ "Tuning": () => (/* reexport safe */ _tuning__WEBPACK_IMPORTED_MODULE_80__.Tuning),
|
|
17885
|
+
/* harmony export */ "Tuplet": () => (/* reexport safe */ _tuplet__WEBPACK_IMPORTED_MODULE_81__.Tuplet),
|
|
17886
|
+
/* harmony export */ "TupletLocation": () => (/* reexport safe */ _tuplet__WEBPACK_IMPORTED_MODULE_81__.TupletLocation),
|
|
17887
|
+
/* harmony export */ "Category": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.Category),
|
|
17888
|
+
/* harmony export */ "isAccidental": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isAccidental),
|
|
17889
|
+
/* harmony export */ "isAnnotation": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isAnnotation),
|
|
17890
|
+
/* harmony export */ "isBarline": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isBarline),
|
|
17891
|
+
/* harmony export */ "isCategory": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isCategory),
|
|
17892
|
+
/* harmony export */ "isDot": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isDot),
|
|
17893
|
+
/* harmony export */ "isGraceNote": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isGraceNote),
|
|
17894
|
+
/* harmony export */ "isGraceNoteGroup": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isGraceNoteGroup),
|
|
17895
|
+
/* harmony export */ "isNote": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isNote),
|
|
17896
|
+
/* harmony export */ "isRenderContext": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isRenderContext),
|
|
17897
|
+
/* harmony export */ "isStaveNote": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isStaveNote),
|
|
17898
|
+
/* harmony export */ "isStemmableNote": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isStemmableNote),
|
|
17899
|
+
/* harmony export */ "isTabNote": () => (/* reexport safe */ _typeguard__WEBPACK_IMPORTED_MODULE_82__.isTabNote),
|
|
17900
|
+
/* harmony export */ "RuntimeError": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.RuntimeError),
|
|
17901
|
+
/* harmony export */ "defined": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.defined),
|
|
17902
|
+
/* harmony export */ "globalObject": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.globalObject),
|
|
17903
|
+
/* harmony export */ "log": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.log),
|
|
17904
|
+
/* harmony export */ "midLine": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.midLine),
|
|
17905
|
+
/* harmony export */ "normalizeAngle": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.normalizeAngle),
|
|
17906
|
+
/* harmony export */ "prefix": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.prefix),
|
|
17907
|
+
/* harmony export */ "warn": () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_83__.warn),
|
|
17908
|
+
/* harmony export */ "Vex": () => (/* reexport safe */ _vex__WEBPACK_IMPORTED_MODULE_84__.Vex),
|
|
17990
17909
|
/* harmony export */ "Vibrato": () => (/* reexport safe */ _vibrato__WEBPACK_IMPORTED_MODULE_85__.Vibrato),
|
|
17991
17910
|
/* harmony export */ "VibratoBracket": () => (/* reexport safe */ _vibratobracket__WEBPACK_IMPORTED_MODULE_86__.VibratoBracket),
|
|
17992
17911
|
/* harmony export */ "Voice": () => (/* reexport safe */ _voice__WEBPACK_IMPORTED_MODULE_87__.Voice),
|
|
17993
17912
|
/* harmony export */ "VoiceMode": () => (/* reexport safe */ _voice__WEBPACK_IMPORTED_MODULE_87__.VoiceMode),
|
|
17994
17913
|
/* harmony export */ "isHTMLCanvas": () => (/* reexport safe */ _web__WEBPACK_IMPORTED_MODULE_88__.isHTMLCanvas),
|
|
17995
|
-
/* harmony export */ "isHTMLDiv": () => (/* reexport safe */ _web__WEBPACK_IMPORTED_MODULE_88__.isHTMLDiv)
|
|
17996
|
-
/* harmony export */ "Vex": () => (/* reexport safe */ _vex__WEBPACK_IMPORTED_MODULE_0__.Vex),
|
|
17997
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
17914
|
+
/* harmony export */ "isHTMLDiv": () => (/* reexport safe */ _web__WEBPACK_IMPORTED_MODULE_88__.isHTMLDiv)
|
|
17998
17915
|
/* harmony export */ });
|
|
17999
|
-
/* harmony import */ var
|
|
18000
|
-
/* harmony import */ var
|
|
18001
|
-
/* harmony import */ var
|
|
18002
|
-
/* harmony import */ var
|
|
18003
|
-
/* harmony import */ var
|
|
18004
|
-
/* harmony import */ var
|
|
18005
|
-
/* harmony import */ var
|
|
18006
|
-
/* harmony import */ var
|
|
18007
|
-
/* harmony import */ var
|
|
18008
|
-
/* harmony import */ var
|
|
18009
|
-
/* harmony import */ var
|
|
18010
|
-
/* harmony import */ var
|
|
18011
|
-
/* harmony import */ var
|
|
18012
|
-
/* harmony import */ var
|
|
18013
|
-
/* harmony import */ var
|
|
18014
|
-
/* harmony import */ var
|
|
18015
|
-
/* harmony import */ var
|
|
18016
|
-
/* harmony import */ var
|
|
18017
|
-
/* harmony import */ var
|
|
18018
|
-
/* harmony import */ var
|
|
18019
|
-
/* harmony import */ var
|
|
18020
|
-
/* harmony import */ var
|
|
18021
|
-
/* harmony import */ var
|
|
18022
|
-
/* harmony import */ var
|
|
18023
|
-
/* harmony import */ var
|
|
18024
|
-
/* harmony import */ var
|
|
18025
|
-
/* harmony import */ var
|
|
18026
|
-
/* harmony import */ var
|
|
18027
|
-
/* harmony import */ var
|
|
18028
|
-
/* harmony import */ var
|
|
18029
|
-
/* harmony import */ var
|
|
18030
|
-
/* harmony import */ var
|
|
18031
|
-
/* harmony import */ var
|
|
18032
|
-
/* harmony import */ var
|
|
18033
|
-
/* harmony import */ var
|
|
18034
|
-
/* harmony import */ var
|
|
18035
|
-
/* harmony import */ var
|
|
18036
|
-
/* harmony import */ var
|
|
18037
|
-
/* harmony import */ var
|
|
18038
|
-
/* harmony import */ var
|
|
18039
|
-
/* harmony import */ var
|
|
18040
|
-
/* harmony import */ var
|
|
18041
|
-
/* harmony import */ var
|
|
18042
|
-
/* harmony import */ var
|
|
18043
|
-
/* harmony import */ var
|
|
18044
|
-
/* harmony import */ var
|
|
18045
|
-
/* harmony import */ var
|
|
18046
|
-
/* harmony import */ var
|
|
18047
|
-
/* harmony import */ var
|
|
18048
|
-
/* harmony import */ var
|
|
18049
|
-
/* harmony import */ var
|
|
18050
|
-
/* harmony import */ var
|
|
18051
|
-
/* harmony import */ var
|
|
18052
|
-
/* harmony import */ var
|
|
18053
|
-
/* harmony import */ var
|
|
18054
|
-
/* harmony import */ var
|
|
18055
|
-
/* harmony import */ var
|
|
18056
|
-
/* harmony import */ var
|
|
18057
|
-
/* harmony import */ var
|
|
18058
|
-
/* harmony import */ var
|
|
18059
|
-
/* harmony import */ var
|
|
18060
|
-
/* harmony import */ var
|
|
18061
|
-
/* harmony import */ var
|
|
18062
|
-
/* harmony import */ var
|
|
18063
|
-
/* harmony import */ var
|
|
18064
|
-
/* harmony import */ var
|
|
18065
|
-
/* harmony import */ var
|
|
18066
|
-
/* harmony import */ var
|
|
18067
|
-
/* harmony import */ var
|
|
18068
|
-
/* harmony import */ var
|
|
18069
|
-
/* harmony import */ var
|
|
18070
|
-
/* harmony import */ var
|
|
18071
|
-
/* harmony import */ var
|
|
18072
|
-
/* harmony import */ var
|
|
18073
|
-
/* harmony import */ var
|
|
18074
|
-
/* harmony import */ var
|
|
18075
|
-
/* harmony import */ var
|
|
18076
|
-
/* harmony import */ var
|
|
18077
|
-
/* harmony import */ var
|
|
18078
|
-
/* harmony import */ var
|
|
18079
|
-
/* harmony import */ var
|
|
18080
|
-
/* harmony import */ var
|
|
18081
|
-
/* harmony import */ var
|
|
18082
|
-
/* harmony import */ var
|
|
18083
|
-
/* harmony import */ var
|
|
17916
|
+
/* harmony import */ var _accidental__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./accidental */ "./src/accidental.ts");
|
|
17917
|
+
/* harmony import */ var _annotation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./annotation */ "./src/annotation.ts");
|
|
17918
|
+
/* harmony import */ var _articulation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./articulation */ "./src/articulation.ts");
|
|
17919
|
+
/* harmony import */ var _barnote__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./barnote */ "./src/barnote.ts");
|
|
17920
|
+
/* harmony import */ var _beam__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./beam */ "./src/beam.ts");
|
|
17921
|
+
/* harmony import */ var _bend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./bend */ "./src/bend.ts");
|
|
17922
|
+
/* harmony import */ var _boundingbox__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./boundingbox */ "./src/boundingbox.ts");
|
|
17923
|
+
/* harmony import */ var _boundingboxcomputation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./boundingboxcomputation */ "./src/boundingboxcomputation.ts");
|
|
17924
|
+
/* harmony import */ var _canvascontext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./canvascontext */ "./src/canvascontext.ts");
|
|
17925
|
+
/* harmony import */ var _chordsymbol__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./chordsymbol */ "./src/chordsymbol.ts");
|
|
17926
|
+
/* harmony import */ var _clef__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./clef */ "./src/clef.ts");
|
|
17927
|
+
/* harmony import */ var _clefnote__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./clefnote */ "./src/clefnote.ts");
|
|
17928
|
+
/* harmony import */ var _crescendo__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./crescendo */ "./src/crescendo.ts");
|
|
17929
|
+
/* harmony import */ var _curve__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./curve */ "./src/curve.ts");
|
|
17930
|
+
/* harmony import */ var _dot__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./dot */ "./src/dot.ts");
|
|
17931
|
+
/* harmony import */ var _easyscore__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./easyscore */ "./src/easyscore.ts");
|
|
17932
|
+
/* harmony import */ var _element__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./element */ "./src/element.ts");
|
|
17933
|
+
/* harmony import */ var _factory__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./factory */ "./src/factory.ts");
|
|
17934
|
+
/* harmony import */ var _flow__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./flow */ "./src/flow.ts");
|
|
17935
|
+
/* harmony import */ var _font__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./font */ "./src/font.ts");
|
|
17936
|
+
/* harmony import */ var _formatter__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./formatter */ "./src/formatter.ts");
|
|
17937
|
+
/* harmony import */ var _fraction__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./fraction */ "./src/fraction.ts");
|
|
17938
|
+
/* harmony import */ var _frethandfinger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./frethandfinger */ "./src/frethandfinger.ts");
|
|
17939
|
+
/* harmony import */ var _ghostnote__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./ghostnote */ "./src/ghostnote.ts");
|
|
17940
|
+
/* harmony import */ var _glyph__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./glyph */ "./src/glyph.ts");
|
|
17941
|
+
/* harmony import */ var _glyphnote__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./glyphnote */ "./src/glyphnote.ts");
|
|
17942
|
+
/* harmony import */ var _gracenote__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./gracenote */ "./src/gracenote.ts");
|
|
17943
|
+
/* harmony import */ var _gracenotegroup__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./gracenotegroup */ "./src/gracenotegroup.ts");
|
|
17944
|
+
/* harmony import */ var _gracetabnote__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./gracetabnote */ "./src/gracetabnote.ts");
|
|
17945
|
+
/* harmony import */ var _keymanager__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./keymanager */ "./src/keymanager.ts");
|
|
17946
|
+
/* harmony import */ var _keysignature__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./keysignature */ "./src/keysignature.ts");
|
|
17947
|
+
/* harmony import */ var _keysignote__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./keysignote */ "./src/keysignote.ts");
|
|
17948
|
+
/* harmony import */ var _modifier__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./modifier */ "./src/modifier.ts");
|
|
17949
|
+
/* harmony import */ var _modifiercontext__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./modifiercontext */ "./src/modifiercontext.ts");
|
|
17950
|
+
/* harmony import */ var _multimeasurerest__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./multimeasurerest */ "./src/multimeasurerest.ts");
|
|
17951
|
+
/* harmony import */ var _music__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./music */ "./src/music.ts");
|
|
17952
|
+
/* harmony import */ var _note__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./note */ "./src/note.ts");
|
|
17953
|
+
/* harmony import */ var _notehead__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./notehead */ "./src/notehead.ts");
|
|
17954
|
+
/* harmony import */ var _notesubgroup__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./notesubgroup */ "./src/notesubgroup.ts");
|
|
17955
|
+
/* harmony import */ var _ornament__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./ornament */ "./src/ornament.ts");
|
|
17956
|
+
/* harmony import */ var _parenthesis__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./parenthesis */ "./src/parenthesis.ts");
|
|
17957
|
+
/* harmony import */ var _parser__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./parser */ "./src/parser.ts");
|
|
17958
|
+
/* harmony import */ var _pedalmarking__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./pedalmarking */ "./src/pedalmarking.ts");
|
|
17959
|
+
/* harmony import */ var _registry__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./registry */ "./src/registry.ts");
|
|
17960
|
+
/* harmony import */ var _rendercontext__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./rendercontext */ "./src/rendercontext.ts");
|
|
17961
|
+
/* harmony import */ var _renderer__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./renderer */ "./src/renderer.ts");
|
|
17962
|
+
/* harmony import */ var _repeatnote__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./repeatnote */ "./src/repeatnote.ts");
|
|
17963
|
+
/* harmony import */ var _stave__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./stave */ "./src/stave.ts");
|
|
17964
|
+
/* harmony import */ var _stavebarline__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./stavebarline */ "./src/stavebarline.ts");
|
|
17965
|
+
/* harmony import */ var _staveconnector__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./staveconnector */ "./src/staveconnector.ts");
|
|
17966
|
+
/* harmony import */ var _stavehairpin__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./stavehairpin */ "./src/stavehairpin.ts");
|
|
17967
|
+
/* harmony import */ var _staveline__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./staveline */ "./src/staveline.ts");
|
|
17968
|
+
/* harmony import */ var _stavemodifier__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./stavemodifier */ "./src/stavemodifier.ts");
|
|
17969
|
+
/* harmony import */ var _stavenote__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./stavenote */ "./src/stavenote.ts");
|
|
17970
|
+
/* harmony import */ var _staverepetition__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./staverepetition */ "./src/staverepetition.ts");
|
|
17971
|
+
/* harmony import */ var _stavesection__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./stavesection */ "./src/stavesection.ts");
|
|
17972
|
+
/* harmony import */ var _stavetempo__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./stavetempo */ "./src/stavetempo.ts");
|
|
17973
|
+
/* harmony import */ var _stavetext__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./stavetext */ "./src/stavetext.ts");
|
|
17974
|
+
/* harmony import */ var _stavetie__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./stavetie */ "./src/stavetie.ts");
|
|
17975
|
+
/* harmony import */ var _stavevolta__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./stavevolta */ "./src/stavevolta.ts");
|
|
17976
|
+
/* harmony import */ var _stem__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./stem */ "./src/stem.ts");
|
|
17977
|
+
/* harmony import */ var _stemmablenote__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./stemmablenote */ "./src/stemmablenote.ts");
|
|
17978
|
+
/* harmony import */ var _stringnumber__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./stringnumber */ "./src/stringnumber.ts");
|
|
17979
|
+
/* harmony import */ var _strokes__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./strokes */ "./src/strokes.ts");
|
|
17980
|
+
/* harmony import */ var _svgcontext__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./svgcontext */ "./src/svgcontext.ts");
|
|
17981
|
+
/* harmony import */ var _system__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./system */ "./src/system.ts");
|
|
17982
|
+
/* harmony import */ var _tabnote__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./tabnote */ "./src/tabnote.ts");
|
|
17983
|
+
/* harmony import */ var _tabslide__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./tabslide */ "./src/tabslide.ts");
|
|
17984
|
+
/* harmony import */ var _tabstave__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./tabstave */ "./src/tabstave.ts");
|
|
17985
|
+
/* harmony import */ var _tabtie__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./tabtie */ "./src/tabtie.ts");
|
|
17986
|
+
/* harmony import */ var _textbracket__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./textbracket */ "./src/textbracket.ts");
|
|
17987
|
+
/* harmony import */ var _textdynamics__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./textdynamics */ "./src/textdynamics.ts");
|
|
17988
|
+
/* harmony import */ var _textformatter__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./textformatter */ "./src/textformatter.ts");
|
|
17989
|
+
/* harmony import */ var _textnote__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./textnote */ "./src/textnote.ts");
|
|
17990
|
+
/* harmony import */ var _tickable__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./tickable */ "./src/tickable.ts");
|
|
17991
|
+
/* harmony import */ var _tickcontext__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./tickcontext */ "./src/tickcontext.ts");
|
|
17992
|
+
/* harmony import */ var _timesigglyph__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./timesigglyph */ "./src/timesigglyph.ts");
|
|
17993
|
+
/* harmony import */ var _timesignature__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./timesignature */ "./src/timesignature.ts");
|
|
17994
|
+
/* harmony import */ var _timesignote__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./timesignote */ "./src/timesignote.ts");
|
|
17995
|
+
/* harmony import */ var _tremolo__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./tremolo */ "./src/tremolo.ts");
|
|
17996
|
+
/* harmony import */ var _tuning__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./tuning */ "./src/tuning.ts");
|
|
17997
|
+
/* harmony import */ var _tuplet__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./tuplet */ "./src/tuplet.ts");
|
|
17998
|
+
/* harmony import */ var _typeguard__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./typeguard */ "./src/typeguard.ts");
|
|
17999
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./util */ "./src/util.ts");
|
|
18000
|
+
/* harmony import */ var _vex__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./vex */ "./src/vex.ts");
|
|
18084
18001
|
/* harmony import */ var _vibrato__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./vibrato */ "./src/vibrato.ts");
|
|
18085
18002
|
/* harmony import */ var _vibratobracket__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./vibratobracket */ "./src/vibratobracket.ts");
|
|
18086
18003
|
/* harmony import */ var _voice__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./voice */ "./src/voice.ts");
|
|
@@ -18106,7 +18023,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18106
18023
|
|
|
18107
18024
|
|
|
18108
18025
|
|
|
18109
|
-
|
|
18110
18026
|
|
|
18111
18027
|
// Do not export './fonts/*' because they are used by the entry/* files.
|
|
18112
18028
|
|
|
@@ -18174,14 +18090,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18174
18090
|
|
|
18175
18091
|
|
|
18176
18092
|
|
|
18177
|
-
// Do not export './version'. It is accessible via Vex.Flow.
|
|
18093
|
+
// Do not export './version'. It is accessible via Vex.Flow.BUILD.
|
|
18178
18094
|
|
|
18179
18095
|
|
|
18180
18096
|
|
|
18181
18097
|
|
|
18182
|
-
// Export Vex as a named export AND as a default export, to support both ways of importing.
|
|
18183
18098
|
|
|
18184
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_vex__WEBPACK_IMPORTED_MODULE_0__.Vex);
|
|
18185
18099
|
|
|
18186
18100
|
|
|
18187
18101
|
/***/ }),
|
|
@@ -20057,7 +19971,7 @@ class Note extends _tickable__WEBPACK_IMPORTED_MODULE_3__.Tickable {
|
|
|
20057
19971
|
}
|
|
20058
19972
|
getLeftParenthesisPx(index) {
|
|
20059
19973
|
const props = this.getKeyProps()[index];
|
|
20060
|
-
return props.displaced ? this.getLeftDisplacedHeadPx() :
|
|
19974
|
+
return props.displaced ? this.getLeftDisplacedHeadPx() - this.x_shift : -this.x_shift;
|
|
20061
19975
|
}
|
|
20062
19976
|
getFirstDotPx() {
|
|
20063
19977
|
let px = this.getRightDisplacedHeadPx();
|
|
@@ -21971,8 +21885,8 @@ class Stave extends _element__WEBPACK_IMPORTED_MODULE_2__.Element {
|
|
|
21971
21885
|
return this;
|
|
21972
21886
|
}
|
|
21973
21887
|
// Section functions
|
|
21974
|
-
setSection(section, y, xOffset = 0, fontSize) {
|
|
21975
|
-
const staveSection = new _stavesection__WEBPACK_IMPORTED_MODULE_8__.StaveSection(section, this.x + xOffset, y);
|
|
21888
|
+
setSection(section, y, xOffset = 0, fontSize, drawRect = true) {
|
|
21889
|
+
const staveSection = new _stavesection__WEBPACK_IMPORTED_MODULE_8__.StaveSection(section, this.x + xOffset, y, drawRect);
|
|
21976
21890
|
if (fontSize)
|
|
21977
21891
|
staveSection.setFontSize(fontSize);
|
|
21978
21892
|
this.modifiers.push(staveSection);
|
|
@@ -22704,12 +22618,20 @@ class StaveConnector extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
22704
22618
|
* @param type see {@link StaveConnector.type} & {@link StaveConnector.typeString}
|
|
22705
22619
|
*/
|
|
22706
22620
|
setType(type) {
|
|
22707
|
-
|
|
22708
|
-
|
|
22709
|
-
|
|
22621
|
+
const newType = typeof type === 'string' ? StaveConnector.typeString[type] : type;
|
|
22622
|
+
// Be certain that the type is a valid type:
|
|
22623
|
+
if (Object.values(StaveConnector.type).includes(newType)) {
|
|
22624
|
+
this.type = newType;
|
|
22710
22625
|
}
|
|
22711
22626
|
return this;
|
|
22712
22627
|
}
|
|
22628
|
+
/**
|
|
22629
|
+
* Get type.
|
|
22630
|
+
* @returns number {@link StaveConnector.type}
|
|
22631
|
+
*/
|
|
22632
|
+
getType() {
|
|
22633
|
+
return this.type;
|
|
22634
|
+
}
|
|
22713
22635
|
/** Set optional associated Text. */
|
|
22714
22636
|
setText(text, options = {}) {
|
|
22715
22637
|
this.texts.push({
|
|
@@ -23082,8 +23004,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23082
23004
|
/* harmony export */ });
|
|
23083
23005
|
/* harmony import */ var _element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./element */ "./src/element.ts");
|
|
23084
23006
|
/* harmony import */ var _tables__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tables */ "./src/tables.ts");
|
|
23085
|
-
/* harmony import */ var
|
|
23086
|
-
/* harmony import */ var
|
|
23007
|
+
/* harmony import */ var _textnote__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./textnote */ "./src/textnote.ts");
|
|
23008
|
+
/* harmony import */ var _typeguard__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./typeguard */ "./src/typeguard.ts");
|
|
23009
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util */ "./src/util.ts");
|
|
23087
23010
|
// [VexFlow](https://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
|
|
23088
23011
|
//
|
|
23089
23012
|
// ## Description
|
|
@@ -23097,6 +23020,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23097
23020
|
|
|
23098
23021
|
|
|
23099
23022
|
|
|
23023
|
+
|
|
23100
23024
|
// Attribution: Arrow rendering implementations based off of
|
|
23101
23025
|
// Patrick Horgan's article, "Drawing lines and arcs with
|
|
23102
23026
|
// arrow heads on HTML5 Canvas"
|
|
@@ -23155,7 +23079,7 @@ class StaveLine extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
23155
23079
|
};
|
|
23156
23080
|
}
|
|
23157
23081
|
static get CATEGORY() {
|
|
23158
|
-
return
|
|
23082
|
+
return _typeguard__WEBPACK_IMPORTED_MODULE_3__.Category.StaveLine;
|
|
23159
23083
|
}
|
|
23160
23084
|
// The the annotation for the `StaveLine`
|
|
23161
23085
|
setText(text) {
|
|
@@ -23165,14 +23089,14 @@ class StaveLine extends _element__WEBPACK_IMPORTED_MODULE_0__.Element {
|
|
|
23165
23089
|
// Set the notes for the `StaveLine`
|
|
23166
23090
|
setNotes(notes) {
|
|
23167
23091
|
if (!notes.first_note && !notes.last_note) {
|
|
23168
|
-
throw new
|
|
23092
|
+
throw new _util__WEBPACK_IMPORTED_MODULE_4__.RuntimeError('BadArguments', 'Notes needs to have either first_note or last_note set.');
|
|
23169
23093
|
}
|
|
23170
23094
|
if (!notes.first_indices)
|
|
23171
23095
|
notes.first_indices = [0];
|
|
23172
23096
|
if (!notes.last_indices)
|
|
23173
23097
|
notes.last_indices = [0];
|
|
23174
23098
|
if (notes.first_indices.length !== notes.last_indices.length) {
|
|
23175
|
-
throw new
|
|
23099
|
+
throw new _util__WEBPACK_IMPORTED_MODULE_4__.RuntimeError('BadArguments', 'Connected notes must have same number of indices.');
|
|
23176
23100
|
}
|
|
23177
23101
|
this.notes = notes;
|
|
23178
23102
|
this.first_note = notes.first_note;
|
|
@@ -23356,11 +23280,7 @@ StaveLine.TextVerticalPosition = {
|
|
|
23356
23280
|
TOP: 1,
|
|
23357
23281
|
BOTTOM: 2,
|
|
23358
23282
|
};
|
|
23359
|
-
StaveLine.TextJustification =
|
|
23360
|
-
LEFT: 1,
|
|
23361
|
-
CENTER: 2,
|
|
23362
|
-
RIGHT: 3,
|
|
23363
|
-
};
|
|
23283
|
+
StaveLine.TextJustification = _textnote__WEBPACK_IMPORTED_MODULE_2__.TextJustification;
|
|
23364
23284
|
|
|
23365
23285
|
|
|
23366
23286
|
/***/ }),
|
|
@@ -23639,7 +23559,10 @@ class StaveNote extends _stemmablenote__WEBPACK_IMPORTED_MODULE_4__.StemmableNot
|
|
|
23639
23559
|
// Test for two voice note intersection
|
|
23640
23560
|
if (voices === 2) {
|
|
23641
23561
|
const lineSpacing = noteU.note.hasStem() && noteL.note.hasStem() && noteU.stemDirection === noteL.stemDirection ? 0.0 : 0.5;
|
|
23642
|
-
if (noteU.
|
|
23562
|
+
if (noteL.isrest && noteU.isrest && noteU.note.duration === noteL.note.duration) {
|
|
23563
|
+
noteL.note.render_options.draw = false;
|
|
23564
|
+
}
|
|
23565
|
+
else if (noteU.minLine <= noteL.maxLine + lineSpacing) {
|
|
23643
23566
|
if (noteU.isrest) {
|
|
23644
23567
|
// shift rest up
|
|
23645
23568
|
shiftRestVertical(noteU, noteL, 1);
|
|
@@ -23711,7 +23634,7 @@ class StaveNote extends _stemmablenote__WEBPACK_IMPORTED_MODULE_4__.StemmableNot
|
|
|
23711
23634
|
}
|
|
23712
23635
|
} //Very close whole notes
|
|
23713
23636
|
}
|
|
23714
|
-
else {
|
|
23637
|
+
else if (lineDiff < 1) {
|
|
23715
23638
|
xShift = voiceXShift + 2;
|
|
23716
23639
|
if (noteU.stemDirection === noteL.stemDirection) {
|
|
23717
23640
|
// upper voice is middle voice, so shift it right
|
|
@@ -23722,6 +23645,14 @@ class StaveNote extends _stemmablenote__WEBPACK_IMPORTED_MODULE_4__.StemmableNot
|
|
|
23722
23645
|
noteL.note.setXShift(xShift);
|
|
23723
23646
|
}
|
|
23724
23647
|
}
|
|
23648
|
+
else if (noteU.note.hasStem()) {
|
|
23649
|
+
noteU.stemDirection = -noteU.note.getStemDirection();
|
|
23650
|
+
noteU.note.setStemDirection(noteU.stemDirection);
|
|
23651
|
+
}
|
|
23652
|
+
else if (noteL.note.hasStem()) {
|
|
23653
|
+
noteL.stemDirection = -noteL.note.getStemDirection();
|
|
23654
|
+
noteL.note.setStemDirection(noteL.stemDirection);
|
|
23655
|
+
}
|
|
23725
23656
|
}
|
|
23726
23657
|
}
|
|
23727
23658
|
// format complete
|
|
@@ -23761,22 +23692,22 @@ class StaveNote extends _stemmablenote__WEBPACK_IMPORTED_MODULE_4__.StemmableNot
|
|
|
23761
23692
|
}
|
|
23762
23693
|
// Special case 2 :: all voices are rests
|
|
23763
23694
|
if (noteU.isrest && noteM.isrest && noteL.isrest) {
|
|
23764
|
-
//
|
|
23765
|
-
|
|
23766
|
-
//
|
|
23767
|
-
|
|
23695
|
+
// Hide upper voice rest
|
|
23696
|
+
noteU.note.render_options.draw = false;
|
|
23697
|
+
// Hide lower voice rest
|
|
23698
|
+
noteL.note.render_options.draw = false;
|
|
23768
23699
|
// format complete
|
|
23769
23700
|
state.right_shift += xShift;
|
|
23770
23701
|
return true;
|
|
23771
23702
|
}
|
|
23772
23703
|
// Test if any other rests can be repositioned
|
|
23773
23704
|
if (noteM.isrest && noteU.isrest && noteM.minLine <= noteL.maxLine) {
|
|
23774
|
-
//
|
|
23775
|
-
|
|
23705
|
+
// Hide middle voice rest
|
|
23706
|
+
noteM.note.render_options.draw = false;
|
|
23776
23707
|
}
|
|
23777
23708
|
if (noteM.isrest && noteL.isrest && noteU.minLine <= noteM.maxLine) {
|
|
23778
|
-
//
|
|
23779
|
-
|
|
23709
|
+
// Hide middle voice rest
|
|
23710
|
+
noteM.note.render_options.draw = false;
|
|
23780
23711
|
}
|
|
23781
23712
|
if (noteU.isrest && noteU.minLine <= noteM.maxLine) {
|
|
23782
23713
|
// shift upper voice rest up;
|
|
@@ -24496,6 +24427,8 @@ class StaveNote extends _stemmablenote__WEBPACK_IMPORTED_MODULE_4__.StemmableNot
|
|
|
24496
24427
|
}
|
|
24497
24428
|
// Draws all the `StaveNote` parts. This is the main drawing method.
|
|
24498
24429
|
draw() {
|
|
24430
|
+
if (this.render_options.draw === false)
|
|
24431
|
+
return;
|
|
24499
24432
|
if (this.ys.length === 0) {
|
|
24500
24433
|
throw new _util__WEBPACK_IMPORTED_MODULE_7__.RuntimeError('NoYValues', "Can't draw note without Y values.");
|
|
24501
24434
|
}
|
|
@@ -24731,13 +24664,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24731
24664
|
|
|
24732
24665
|
|
|
24733
24666
|
class StaveSection extends _stavemodifier__WEBPACK_IMPORTED_MODULE_1__.StaveModifier {
|
|
24734
|
-
constructor(section, x, shift_y) {
|
|
24667
|
+
constructor(section, x, shift_y, drawRect = true) {
|
|
24735
24668
|
super();
|
|
24736
24669
|
this.setWidth(16);
|
|
24737
24670
|
this.section = section;
|
|
24738
24671
|
this.x = x;
|
|
24739
24672
|
this.shift_x = 0;
|
|
24740
24673
|
this.shift_y = shift_y;
|
|
24674
|
+
this.drawRect = drawRect;
|
|
24741
24675
|
this.resetFont();
|
|
24742
24676
|
}
|
|
24743
24677
|
static get CATEGORY() {
|
|
@@ -24770,12 +24704,14 @@ class StaveSection extends _stavemodifier__WEBPACK_IMPORTED_MODULE_1__.StaveModi
|
|
|
24770
24704
|
const width = textWidth + 2 * paddingX; // add left & right padding
|
|
24771
24705
|
const height = textHeight + 2 * paddingY; // add top & bottom padding
|
|
24772
24706
|
// Seems to be a good default y
|
|
24773
|
-
const y = stave.getYForTopText(
|
|
24707
|
+
const y = stave.getYForTopText(1.5) + this.shift_y;
|
|
24774
24708
|
const x = this.x + shift_x;
|
|
24775
|
-
|
|
24776
|
-
|
|
24777
|
-
|
|
24778
|
-
|
|
24709
|
+
if (this.drawRect) {
|
|
24710
|
+
ctx.beginPath();
|
|
24711
|
+
ctx.setLineWidth(rectWidth);
|
|
24712
|
+
ctx.rect(x, y + textMeasurements.y - paddingY, width, height);
|
|
24713
|
+
ctx.stroke();
|
|
24714
|
+
}
|
|
24779
24715
|
ctx.fillText(this.section, x + paddingX, y);
|
|
24780
24716
|
ctx.restore();
|
|
24781
24717
|
return this;
|
|
@@ -24983,10 +24919,10 @@ class StaveText extends _stavemodifier__WEBPACK_IMPORTED_MODULE_1__.StaveModifie
|
|
|
24983
24919
|
case _stavemodifier__WEBPACK_IMPORTED_MODULE_1__.StaveModifierPosition.ABOVE:
|
|
24984
24920
|
case _stavemodifier__WEBPACK_IMPORTED_MODULE_1__.StaveModifierPosition.BELOW:
|
|
24985
24921
|
x = stave.getX() + this.options.shift_x;
|
|
24986
|
-
if (this.options.justification === _textnote__WEBPACK_IMPORTED_MODULE_2__.
|
|
24922
|
+
if (this.options.justification === _textnote__WEBPACK_IMPORTED_MODULE_2__.TextJustification.CENTER) {
|
|
24987
24923
|
x += stave.getWidth() / 2 - text_width / 2;
|
|
24988
24924
|
}
|
|
24989
|
-
else if (this.options.justification === _textnote__WEBPACK_IMPORTED_MODULE_2__.
|
|
24925
|
+
else if (this.options.justification === _textnote__WEBPACK_IMPORTED_MODULE_2__.TextJustification.RIGHT) {
|
|
24990
24926
|
x += stave.getWidth() - text_width;
|
|
24991
24927
|
}
|
|
24992
24928
|
if (this.position === _stavemodifier__WEBPACK_IMPORTED_MODULE_1__.StaveModifierPosition.ABOVE) {
|
|
@@ -26862,14 +26798,7 @@ class System extends _element__WEBPACK_IMPORTED_MODULE_1__.Element {
|
|
|
26862
26798
|
this.parts.forEach((part) => {
|
|
26863
26799
|
y = y + part.stave.space(part.spaceAbove);
|
|
26864
26800
|
part.stave.setY(y);
|
|
26865
|
-
|
|
26866
|
-
part.voices.forEach((voice) => {
|
|
26867
|
-
formatter.joinVoices([voice]);
|
|
26868
|
-
});
|
|
26869
|
-
}
|
|
26870
|
-
else {
|
|
26871
|
-
formatter.joinVoices(part.voices);
|
|
26872
|
-
}
|
|
26801
|
+
formatter.joinVoices(part.voices);
|
|
26873
26802
|
y = y + part.stave.space(part.spaceBelow);
|
|
26874
26803
|
y = y + part.stave.space(this.options.spaceBetweenStaves);
|
|
26875
26804
|
if (part.debugNoteMetrics) {
|
|
@@ -29538,7 +29467,7 @@ TextFormatter.DEBUG = false;
|
|
|
29538
29467
|
|
|
29539
29468
|
__webpack_require__.r(__webpack_exports__);
|
|
29540
29469
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
29541
|
-
/* harmony export */ "
|
|
29470
|
+
/* harmony export */ "TextJustification": () => (/* binding */ TextJustification),
|
|
29542
29471
|
/* harmony export */ "TextNote": () => (/* binding */ TextNote)
|
|
29543
29472
|
/* harmony export */ });
|
|
29544
29473
|
/* harmony import */ var _font__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./font */ "./src/font.ts");
|
|
@@ -29553,12 +29482,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29553
29482
|
|
|
29554
29483
|
|
|
29555
29484
|
|
|
29556
|
-
var
|
|
29557
|
-
(function (
|
|
29558
|
-
|
|
29559
|
-
|
|
29560
|
-
|
|
29561
|
-
})(
|
|
29485
|
+
var TextJustification;
|
|
29486
|
+
(function (TextJustification) {
|
|
29487
|
+
TextJustification[TextJustification["LEFT"] = 1] = "LEFT";
|
|
29488
|
+
TextJustification[TextJustification["CENTER"] = 2] = "CENTER";
|
|
29489
|
+
TextJustification[TextJustification["RIGHT"] = 3] = "RIGHT";
|
|
29490
|
+
})(TextJustification || (TextJustification = {}));
|
|
29562
29491
|
/**
|
|
29563
29492
|
* `TextNote` is a notation element that is positioned in time. Generally
|
|
29564
29493
|
* meant for objects that sit above/below the staff and inline with each other.
|
|
@@ -29575,7 +29504,7 @@ class TextNote extends _note__WEBPACK_IMPORTED_MODULE_2__.Note {
|
|
|
29575
29504
|
this.line = noteStruct.line || 0;
|
|
29576
29505
|
this.smooth = noteStruct.smooth || false;
|
|
29577
29506
|
this.ignore_ticks = noteStruct.ignore_ticks || false;
|
|
29578
|
-
this.justification =
|
|
29507
|
+
this.justification = TextJustification.LEFT;
|
|
29579
29508
|
// Determine and set initial note width. Note that the text width is
|
|
29580
29509
|
// an approximation and isn't very accurate. The only way to accurately
|
|
29581
29510
|
// measure the length of text is with `CanvasRenderingContext2D.measureText()`.
|
|
@@ -29593,9 +29522,6 @@ class TextNote extends _note__WEBPACK_IMPORTED_MODULE_2__.Note {
|
|
|
29593
29522
|
static get CATEGORY() {
|
|
29594
29523
|
return _typeguard__WEBPACK_IMPORTED_MODULE_3__.Category.TextNote;
|
|
29595
29524
|
}
|
|
29596
|
-
static get Justification() {
|
|
29597
|
-
return Justification;
|
|
29598
|
-
}
|
|
29599
29525
|
/** Glyph data. */
|
|
29600
29526
|
static get GLYPHS() {
|
|
29601
29527
|
return {
|
|
@@ -29686,10 +29612,10 @@ class TextNote extends _note__WEBPACK_IMPORTED_MODULE_2__.Note {
|
|
|
29686
29612
|
this.setWidth(ctx.measureText(this.text).width);
|
|
29687
29613
|
}
|
|
29688
29614
|
}
|
|
29689
|
-
if (this.justification ===
|
|
29615
|
+
if (this.justification === TextJustification.CENTER) {
|
|
29690
29616
|
this.leftDisplacedHeadPx = this.width / 2;
|
|
29691
29617
|
}
|
|
29692
|
-
else if (this.justification ===
|
|
29618
|
+
else if (this.justification === TextJustification.RIGHT) {
|
|
29693
29619
|
this.leftDisplacedHeadPx = this.width;
|
|
29694
29620
|
}
|
|
29695
29621
|
// We reposition to the center of the note head
|
|
@@ -29709,10 +29635,10 @@ class TextNote extends _note__WEBPACK_IMPORTED_MODULE_2__.Note {
|
|
|
29709
29635
|
let x = this.getAbsoluteX() + tickContext.getMetrics().glyphPx / 2;
|
|
29710
29636
|
// Align based on tick-context width.
|
|
29711
29637
|
const width = this.getWidth();
|
|
29712
|
-
if (this.justification ===
|
|
29638
|
+
if (this.justification === TextJustification.CENTER) {
|
|
29713
29639
|
x -= width / 2;
|
|
29714
29640
|
}
|
|
29715
|
-
else if (this.justification ===
|
|
29641
|
+
else if (this.justification === TextJustification.RIGHT) {
|
|
29716
29642
|
x -= width;
|
|
29717
29643
|
}
|
|
29718
29644
|
let y;
|
|
@@ -29749,6 +29675,7 @@ TextNote.TEXT_FONT = {
|
|
|
29749
29675
|
weight: _font__WEBPACK_IMPORTED_MODULE_0__.FontWeight.NORMAL,
|
|
29750
29676
|
style: _font__WEBPACK_IMPORTED_MODULE_0__.FontStyle.NORMAL,
|
|
29751
29677
|
};
|
|
29678
|
+
TextNote.Justification = TextJustification;
|
|
29752
29679
|
|
|
29753
29680
|
|
|
29754
29681
|
/***/ }),
|
|
@@ -33005,6 +32932,7 @@ const AnnotationTests = {
|
|
|
33005
32932
|
run('Placement', placement);
|
|
33006
32933
|
run('Lyrics', lyrics);
|
|
33007
32934
|
run('Simple Annotation', simple);
|
|
32935
|
+
run('Styled Annotation', styling);
|
|
33008
32936
|
run('Standard Notation Annotation', standard);
|
|
33009
32937
|
run('Harmonics', harmonic);
|
|
33010
32938
|
run('Fingerpicking', picking);
|
|
@@ -33037,7 +32965,7 @@ function lyrics(options) {
|
|
|
33037
32965
|
const system = f.System({ width, x });
|
|
33038
32966
|
system.addStave({
|
|
33039
32967
|
voices: [
|
|
33040
|
-
score.voice(score.notes('(C4 F4)/2[id="n0"]').concat(score.beam(score.notes('(C4 A4)/8[id="n1"], (
|
|
32968
|
+
score.voice(score.notes('(C4 F4)/2[id="n0"]').concat(score.beam(score.notes('(C4 A4)/8[id="n1"], (C4 A4)/8[id="n2"]')))),
|
|
33041
32969
|
],
|
|
33042
32970
|
});
|
|
33043
32971
|
// Add lyrics under the first row.
|
|
@@ -33098,6 +33026,18 @@ function standard(options, contextBuilder) {
|
|
|
33098
33026
|
_src_formatter__WEBPACK_IMPORTED_MODULE_7__.Formatter.FormatAndDraw(ctx, stave, notes);
|
|
33099
33027
|
ok(true, 'Standard Notation Annotation');
|
|
33100
33028
|
}
|
|
33029
|
+
function styling(options, contextBuilder) {
|
|
33030
|
+
const ctx = contextBuilder(options.elementId, 500, 240);
|
|
33031
|
+
ctx.scale(1.5, 1.5);
|
|
33032
|
+
const stave = new _src_stave__WEBPACK_IMPORTED_MODULE_10__.Stave(10, 10, 450).addClef('treble').setContext(ctx).draw();
|
|
33033
|
+
const annotation = (text, style) => new _src_annotation__WEBPACK_IMPORTED_MODULE_1__.Annotation(text).setFont(_src_font__WEBPACK_IMPORTED_MODULE_6__.Font.SERIF, FONT_SIZE, 'normal', 'italic').setStyle(style);
|
|
33034
|
+
const notes = [
|
|
33035
|
+
staveNote({ keys: ['c/4', 'e/4'], duration: 'h' }).addModifier(annotation('quiet', { fillStyle: '#0F0' }), 0),
|
|
33036
|
+
staveNote({ keys: ['c/4', 'e/4', 'c/5'], duration: 'h' }).addModifier(annotation('Allegro', { fillStyle: '#00F' }), 2),
|
|
33037
|
+
];
|
|
33038
|
+
_src_formatter__WEBPACK_IMPORTED_MODULE_7__.Formatter.FormatAndDraw(ctx, stave, notes);
|
|
33039
|
+
ok(true, 'Standard Notation Annotation');
|
|
33040
|
+
}
|
|
33101
33041
|
function harmonic(options, contextBuilder) {
|
|
33102
33042
|
const ctx = contextBuilder(options.elementId, 500, 240);
|
|
33103
33043
|
ctx.scale(1.5, 1.5);
|
|
@@ -34857,6 +34797,7 @@ const BeamTests = {
|
|
|
34857
34797
|
run('Lengthy Beam', lenghty);
|
|
34858
34798
|
run('Outlier Beam', outlier);
|
|
34859
34799
|
run('Break Secondary Beams', breakSecondaryBeams);
|
|
34800
|
+
run('Partial Beam Direction', partialBeamDirection);
|
|
34860
34801
|
run('TabNote Beams Up', tabBeamsUp);
|
|
34861
34802
|
run('TabNote Beams Down', tabBeamsDown);
|
|
34862
34803
|
run('TabNote Auto Create Beams', autoTabBeams);
|
|
@@ -34940,6 +34881,27 @@ function breakSecondaryBeams(options) {
|
|
|
34940
34881
|
f.draw();
|
|
34941
34882
|
ok(true, 'Breaking Secondary Beams Test');
|
|
34942
34883
|
}
|
|
34884
|
+
function partialBeamDirection(options) {
|
|
34885
|
+
const f = _vexflow_test_helpers__WEBPACK_IMPORTED_MODULE_0__.VexFlowTests.makeFactory(options, 600, 200);
|
|
34886
|
+
const stave = f.Stave({ y: 20 });
|
|
34887
|
+
const score = f.EasyScore();
|
|
34888
|
+
const voice = score.voice.bind(score);
|
|
34889
|
+
const beam = score.beam.bind(score);
|
|
34890
|
+
const notes = score.notes.bind(score);
|
|
34891
|
+
const voices = [
|
|
34892
|
+
voice([
|
|
34893
|
+
// Default beaming:
|
|
34894
|
+
beam(notes('f4/8, f4/16, f4/8, f4/16', { stem: 'up' })),
|
|
34895
|
+
// Force first 16th beam right
|
|
34896
|
+
beam(notes('f4/8, f4/16, f4/8, f4/16', { stem: 'up' }), { partialBeamDirections: { '1': 'R' } }),
|
|
34897
|
+
// Force first 16th beam left
|
|
34898
|
+
beam(notes('f4/8, f4/16, f4/8, f4/16', { stem: 'up' }), { partialBeamDirections: { '1': 'L' } }),
|
|
34899
|
+
].reduce(_vexflow_test_helpers__WEBPACK_IMPORTED_MODULE_0__.concat), { time: '9/8' }),
|
|
34900
|
+
];
|
|
34901
|
+
f.Formatter().joinVoices(voices).formatToStave(voices, stave);
|
|
34902
|
+
f.draw();
|
|
34903
|
+
ok(true, 'Partial beam direction test');
|
|
34904
|
+
}
|
|
34943
34905
|
function slopey(options) {
|
|
34944
34906
|
const f = _vexflow_test_helpers__WEBPACK_IMPORTED_MODULE_0__.VexFlowTests.makeFactory(options, 350, 140);
|
|
34945
34907
|
const stave = f.Stave({ y: 20 });
|
|
@@ -37279,9 +37241,12 @@ function drawFingeringsTest(options) {
|
|
|
37279
37241
|
equal(note3_modifier2.getPosition(), _src_modifier__WEBPACK_IMPORTED_MODULE_4__.Modifier.Position.LEFT);
|
|
37280
37242
|
}
|
|
37281
37243
|
function keys(options) {
|
|
37282
|
-
const f = _vexflow_test_helpers__WEBPACK_IMPORTED_MODULE_0__.VexFlowTests.makeFactory(options,
|
|
37244
|
+
const f = _vexflow_test_helpers__WEBPACK_IMPORTED_MODULE_0__.VexFlowTests.makeFactory(options, 700, 200);
|
|
37283
37245
|
const score = f.EasyScore();
|
|
37284
|
-
const
|
|
37246
|
+
const system = f.System();
|
|
37247
|
+
const notes = score.notes('c#3/q, c##3, cb3, cbb3, cn3, c3, cbbs3, cbss3, cbs3, cdb3, cd3, c++-3, c++3, c+-3, c+3, co3, ck3', { clef: 'bass' });
|
|
37248
|
+
system.addStave({ voices: [f.Voice().setStrict(false).addTickables(notes)] }).addClef('bass');
|
|
37249
|
+
f.draw();
|
|
37285
37250
|
equal(notes[0].keys, 'c#/3');
|
|
37286
37251
|
equal(notes[1].keys, 'c##/3');
|
|
37287
37252
|
equal(notes[2].keys, 'cb/3');
|
|
@@ -37612,6 +37577,7 @@ const FormatterTests = {
|
|
|
37612
37577
|
QUnit.module('Formatter');
|
|
37613
37578
|
test('TickContext Building', buildTickContexts);
|
|
37614
37579
|
const run = _vexflow_test_helpers__WEBPACK_IMPORTED_MODULE_0__.VexFlowTests.runTests;
|
|
37580
|
+
run('Penultimate Note Padding', penultimateNote);
|
|
37615
37581
|
run('Whitespace and justify', rightJustify);
|
|
37616
37582
|
run('Notehead padding', noteHeadPadding);
|
|
37617
37583
|
run('Justification and alignment with accidentals', accidentalJustification);
|
|
@@ -37679,28 +37645,77 @@ function buildTickContexts() {
|
|
|
37679
37645
|
ok(tickables1[1].getX() < tickables2[1].getX(), 'Second note of voice 2 is to the right of the second note of voice 1');
|
|
37680
37646
|
}
|
|
37681
37647
|
function rightJustify(options) {
|
|
37682
|
-
const f = _vexflow_test_helpers__WEBPACK_IMPORTED_MODULE_0__.VexFlowTests.makeFactory(options, 1200,
|
|
37683
|
-
const getTickables = (time, n, duration) => {
|
|
37648
|
+
const f = _vexflow_test_helpers__WEBPACK_IMPORTED_MODULE_0__.VexFlowTests.makeFactory(options, 1200, 150);
|
|
37649
|
+
const getTickables = (time, n, duration, duration2) => {
|
|
37684
37650
|
const tickar = [];
|
|
37685
37651
|
let i = 0;
|
|
37686
37652
|
for (i = 0; i < n; ++i) {
|
|
37687
|
-
|
|
37653
|
+
const dd = i === n - 1 ? duration2 : duration;
|
|
37654
|
+
tickar.push(new _src_stavenote__WEBPACK_IMPORTED_MODULE_16__.StaveNote({ keys: ['f/4'], duration: dd }));
|
|
37688
37655
|
}
|
|
37689
37656
|
return new _src_voice__WEBPACK_IMPORTED_MODULE_21__.Voice(time).addTickables(tickar);
|
|
37690
37657
|
};
|
|
37691
|
-
const renderTest = (time, n, duration, x, width) => {
|
|
37658
|
+
const renderTest = (time, n, duration, duration2, x, width) => {
|
|
37692
37659
|
const formatter = f.Formatter();
|
|
37693
|
-
const stave = f.Stave({ x, y:
|
|
37660
|
+
const stave = f.Stave({ x, y: 20, width });
|
|
37694
37661
|
// stave.addClef('treble').addTimeSignature('4/4');
|
|
37695
|
-
const voice = getTickables(time, n, duration);
|
|
37662
|
+
const voice = getTickables(time, n, duration, duration2);
|
|
37696
37663
|
formatter.joinVoices([voice]).formatToStave([voice], stave);
|
|
37697
37664
|
stave.draw();
|
|
37698
37665
|
voice.draw(f.getContext(), stave);
|
|
37699
37666
|
};
|
|
37700
|
-
renderTest({ num_beats: 4, beat_value: 4, resolution: 4 * 4096 },
|
|
37701
|
-
renderTest({ num_beats: 4, beat_value: 4, resolution: 4 * 4096 }, 1, 'w', 310, 300);
|
|
37702
|
-
renderTest({ num_beats:
|
|
37703
|
-
renderTest({ num_beats:
|
|
37667
|
+
renderTest({ num_beats: 4, beat_value: 4, resolution: 4 * 4096 }, 3, '4', '2', 10, 300);
|
|
37668
|
+
renderTest({ num_beats: 4, beat_value: 4, resolution: 4 * 4096 }, 1, 'w', 'w', 310, 300);
|
|
37669
|
+
renderTest({ num_beats: 3, beat_value: 4, resolution: 4 * 4096 }, 3, '4', '4', 610, 300);
|
|
37670
|
+
renderTest({ num_beats: 3, beat_value: 4, resolution: 4 * 4096 }, 6, '8', '8', 910, 300);
|
|
37671
|
+
ok(true);
|
|
37672
|
+
}
|
|
37673
|
+
function penultimateNote(options) {
|
|
37674
|
+
const f = _vexflow_test_helpers__WEBPACK_IMPORTED_MODULE_0__.VexFlowTests.makeFactory(options, 500, 550);
|
|
37675
|
+
const score = f.EasyScore();
|
|
37676
|
+
const staffWidth = 310;
|
|
37677
|
+
let system = undefined;
|
|
37678
|
+
let voices = [];
|
|
37679
|
+
let notes = [];
|
|
37680
|
+
let note = undefined;
|
|
37681
|
+
let stave = undefined;
|
|
37682
|
+
let y = 10;
|
|
37683
|
+
const draw = (softmax) => {
|
|
37684
|
+
system = f.System({
|
|
37685
|
+
width: staffWidth,
|
|
37686
|
+
y,
|
|
37687
|
+
formatOptions: { align_rests: true },
|
|
37688
|
+
details: { softmaxFactor: softmax },
|
|
37689
|
+
});
|
|
37690
|
+
notes = [];
|
|
37691
|
+
voices = [];
|
|
37692
|
+
note = score.notes('C4/8/r', { clef: 'bass' })[0];
|
|
37693
|
+
notes.push(note);
|
|
37694
|
+
note = score.notes('A3/8', { stem: 'up', clef: 'bass' })[0];
|
|
37695
|
+
notes.push(note);
|
|
37696
|
+
note = score.notes('C4/4', { stem: 'up', clef: 'bass' })[0];
|
|
37697
|
+
notes.push(note);
|
|
37698
|
+
voices.push(score.voice(notes).setMode(2));
|
|
37699
|
+
notes = [];
|
|
37700
|
+
note = score.notes('( F3 A3 )/4', { stem: 'down', clef: 'bass' })[0];
|
|
37701
|
+
notes.push(note);
|
|
37702
|
+
note = score.notes('B4/4/r', {})[0];
|
|
37703
|
+
notes.push(note);
|
|
37704
|
+
voices.push(score.voice(notes).setMode(2));
|
|
37705
|
+
notes = [];
|
|
37706
|
+
stave = system.addStave({ voices: voices });
|
|
37707
|
+
stave.addClef('bass');
|
|
37708
|
+
stave.addTimeSignature('2/4');
|
|
37709
|
+
voices = [];
|
|
37710
|
+
f.draw();
|
|
37711
|
+
f.getContext().fillText(`softmax: ${softmax.toString()}`, staffWidth + 20, y + 50);
|
|
37712
|
+
y += 100;
|
|
37713
|
+
};
|
|
37714
|
+
draw(100);
|
|
37715
|
+
draw(10);
|
|
37716
|
+
draw(5);
|
|
37717
|
+
draw(2);
|
|
37718
|
+
draw(1.5);
|
|
37704
37719
|
ok(true);
|
|
37705
37720
|
}
|
|
37706
37721
|
function noteHeadPadding(options) {
|
|
@@ -38079,6 +38094,7 @@ function proportional(options) {
|
|
|
38079
38094
|
}
|
|
38080
38095
|
function softMax(options) {
|
|
38081
38096
|
const f = _vexflow_test_helpers__WEBPACK_IMPORTED_MODULE_0__.VexFlowTests.makeFactory(options, 550, 500);
|
|
38097
|
+
const textX = 450 / 0.8;
|
|
38082
38098
|
f.getContext().scale(0.8, 0.8);
|
|
38083
38099
|
function draw(y, factor) {
|
|
38084
38100
|
const score = f.EasyScore();
|
|
@@ -38100,6 +38116,7 @@ function softMax(options) {
|
|
|
38100
38116
|
.addClef('treble')
|
|
38101
38117
|
.addTimeSignature('5/4');
|
|
38102
38118
|
f.draw();
|
|
38119
|
+
f.getContext().fillText(`softmax: ${factor.toString()}`, textX, y + 50);
|
|
38103
38120
|
ok(true);
|
|
38104
38121
|
}
|
|
38105
38122
|
draw(50, 1);
|
|
@@ -42871,7 +42888,7 @@ function drawMultipleMeasures(options, contextBuilder) {
|
|
|
42871
42888
|
const staveBar1 = new _src_stave__WEBPACK_IMPORTED_MODULE_7__.Stave(10, 50, 200);
|
|
42872
42889
|
staveBar1.setBegBarType(_src_stavebarline__WEBPACK_IMPORTED_MODULE_8__.BarlineType.REPEAT_BEGIN);
|
|
42873
42890
|
staveBar1.setEndBarType(_src_stavebarline__WEBPACK_IMPORTED_MODULE_8__.BarlineType.DOUBLE);
|
|
42874
|
-
staveBar1.setSection('A', 0, 0, (_a = options.params) === null || _a === void 0 ? void 0 : _a.fontSize);
|
|
42891
|
+
staveBar1.setSection('A', 0, 0, (_a = options.params) === null || _a === void 0 ? void 0 : _a.fontSize, false);
|
|
42875
42892
|
staveBar1.addClef('treble').setContext(ctx).draw();
|
|
42876
42893
|
const notesBar1 = [
|
|
42877
42894
|
new _src_stavenote__WEBPACK_IMPORTED_MODULE_9__.StaveNote({ keys: ['c/4'], duration: 'q' }),
|
|
@@ -43377,8 +43394,8 @@ function drawStaveTextMultiLine(options, contextBuilder) {
|
|
|
43377
43394
|
stave.setText('2nd line', _src_modifier__WEBPACK_IMPORTED_MODULE_6__.Modifier.Position.RIGHT, { shift_y: 10 });
|
|
43378
43395
|
stave.setText('Above Text', _src_modifier__WEBPACK_IMPORTED_MODULE_6__.Modifier.Position.ABOVE, { shift_y: -10 });
|
|
43379
43396
|
stave.setText('2nd line', _src_modifier__WEBPACK_IMPORTED_MODULE_6__.Modifier.Position.ABOVE, { shift_y: 10 });
|
|
43380
|
-
stave.setText('Left Below Text', _src_modifier__WEBPACK_IMPORTED_MODULE_6__.Modifier.Position.BELOW, { shift_y: -10, justification: _src_textnote__WEBPACK_IMPORTED_MODULE_12__.
|
|
43381
|
-
stave.setText('Right Below Text', _src_modifier__WEBPACK_IMPORTED_MODULE_6__.Modifier.Position.BELOW, { shift_y: 10, justification: _src_textnote__WEBPACK_IMPORTED_MODULE_12__.
|
|
43397
|
+
stave.setText('Left Below Text', _src_modifier__WEBPACK_IMPORTED_MODULE_6__.Modifier.Position.BELOW, { shift_y: -10, justification: _src_textnote__WEBPACK_IMPORTED_MODULE_12__.TextJustification.LEFT });
|
|
43398
|
+
stave.setText('Right Below Text', _src_modifier__WEBPACK_IMPORTED_MODULE_6__.Modifier.Position.BELOW, { shift_y: 10, justification: _src_textnote__WEBPACK_IMPORTED_MODULE_12__.TextJustification.RIGHT });
|
|
43382
43399
|
stave.setContext(ctx).draw();
|
|
43383
43400
|
ok(true, 'all pass');
|
|
43384
43401
|
}
|
|
@@ -47137,7 +47154,7 @@ const TextFormatterTests = {
|
|
|
47137
47154
|
};
|
|
47138
47155
|
function basic() {
|
|
47139
47156
|
var _a;
|
|
47140
|
-
// See: src/fonts/
|
|
47157
|
+
// See: src/fonts/textfonts.ts > loadTextFonts()
|
|
47141
47158
|
const registeredFamilies = _src_textformatter__WEBPACK_IMPORTED_MODULE_1__.TextFormatter.getFontFamilies();
|
|
47142
47159
|
equal(registeredFamilies.length, 2, `There are two registered font families: 'Roboto Slab' & 'PetalumaScript'`);
|
|
47143
47160
|
// Verify the advanceWidth and other metrics by opening the font file with a glyph inspector:
|
|
@@ -49447,212 +49464,217 @@ var __webpack_exports__ = {};
|
|
|
49447
49464
|
\*******************************************/
|
|
49448
49465
|
__webpack_require__.r(__webpack_exports__);
|
|
49449
49466
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
49450
|
-
/* harmony export */ "Accidental": () => (/* reexport safe */
|
|
49451
|
-
/* harmony export */ "Annotation": () => (/* reexport safe */
|
|
49452
|
-
/* harmony export */ "AnnotationHorizontalJustify": () => (/* reexport safe */
|
|
49453
|
-
/* harmony export */ "AnnotationVerticalJustify": () => (/* reexport safe */
|
|
49454
|
-
/* harmony export */ "Articulation": () => (/* reexport safe */
|
|
49455
|
-
/* harmony export */ "
|
|
49456
|
-
/* harmony export */ "
|
|
49457
|
-
/* harmony export */ "
|
|
49458
|
-
/* harmony export */ "
|
|
49459
|
-
/* harmony export */ "
|
|
49460
|
-
/* harmony export */ "
|
|
49461
|
-
/* harmony export */ "
|
|
49462
|
-
/* harmony export */ "
|
|
49463
|
-
/* harmony export */ "
|
|
49464
|
-
/* harmony export */ "
|
|
49465
|
-
/* harmony export */ "
|
|
49466
|
-
/* harmony export */ "
|
|
49467
|
-
/* harmony export */ "
|
|
49468
|
-
/* harmony export */ "
|
|
49469
|
-
/* harmony export */ "
|
|
49470
|
-
/* harmony export */ "
|
|
49471
|
-
/* harmony export */ "
|
|
49472
|
-
/* harmony export */ "
|
|
49473
|
-
/* harmony export */ "
|
|
49474
|
-
/* harmony export */ "
|
|
49475
|
-
/* harmony export */ "
|
|
49476
|
-
/* harmony export */ "
|
|
49477
|
-
/* harmony export */ "
|
|
49478
|
-
/* harmony export */ "
|
|
49479
|
-
/* harmony export */ "
|
|
49480
|
-
/* harmony export */ "
|
|
49481
|
-
/* harmony export */ "
|
|
49482
|
-
/* harmony export */ "
|
|
49483
|
-
/* harmony export */ "
|
|
49484
|
-
/* harmony export */ "
|
|
49485
|
-
/* harmony export */ "
|
|
49486
|
-
/* harmony export */ "
|
|
49487
|
-
/* harmony export */ "
|
|
49488
|
-
/* harmony export */ "
|
|
49489
|
-
/* harmony export */ "
|
|
49490
|
-
/* harmony export */ "
|
|
49491
|
-
/* harmony export */ "
|
|
49492
|
-
/* harmony export */ "
|
|
49493
|
-
/* harmony export */ "
|
|
49494
|
-
/* harmony export */ "
|
|
49495
|
-
/* harmony export */ "
|
|
49496
|
-
/* harmony export */ "
|
|
49497
|
-
/* harmony export */ "
|
|
49498
|
-
/* harmony export */ "
|
|
49499
|
-
/* harmony export */ "
|
|
49500
|
-
/* harmony export */ "
|
|
49501
|
-
/* harmony export */ "
|
|
49502
|
-
/* harmony export */ "
|
|
49503
|
-
/* harmony export */ "
|
|
49504
|
-
/* harmony export */ "
|
|
49505
|
-
/* harmony export */ "
|
|
49506
|
-
/* harmony export */ "
|
|
49507
|
-
/* harmony export */ "
|
|
49508
|
-
/* harmony export */ "
|
|
49509
|
-
/* harmony export */ "
|
|
49510
|
-
/* harmony export */ "
|
|
49511
|
-
/* harmony export */ "
|
|
49512
|
-
/* harmony export */ "
|
|
49513
|
-
/* harmony export */ "
|
|
49514
|
-
/* harmony export */ "
|
|
49515
|
-
/* harmony export */ "
|
|
49516
|
-
/* harmony export */ "
|
|
49517
|
-
/* harmony export */ "
|
|
49518
|
-
/* harmony export */ "
|
|
49519
|
-
/* harmony export */ "
|
|
49520
|
-
/* harmony export */ "
|
|
49521
|
-
/* harmony export */ "
|
|
49522
|
-
/* harmony export */ "
|
|
49523
|
-
/* harmony export */ "
|
|
49524
|
-
/* harmony export */ "
|
|
49525
|
-
/* harmony export */ "
|
|
49526
|
-
/* harmony export */ "
|
|
49527
|
-
/* harmony export */ "
|
|
49528
|
-
/* harmony export */ "
|
|
49529
|
-
/* harmony export */ "
|
|
49530
|
-
/* harmony export */ "
|
|
49531
|
-
/* harmony export */ "
|
|
49532
|
-
/* harmony export */ "
|
|
49533
|
-
/* harmony export */ "
|
|
49534
|
-
/* harmony export */ "
|
|
49535
|
-
/* harmony export */ "
|
|
49536
|
-
/* harmony export */ "
|
|
49537
|
-
/* harmony export */ "
|
|
49538
|
-
/* harmony export */ "
|
|
49539
|
-
/* harmony export */ "
|
|
49540
|
-
/* harmony export */ "
|
|
49541
|
-
/* harmony export */ "
|
|
49542
|
-
/* harmony export */ "
|
|
49543
|
-
/* harmony export */ "
|
|
49544
|
-
/* harmony export */ "
|
|
49545
|
-
/* harmony export */ "
|
|
49546
|
-
/* harmony export */ "
|
|
49547
|
-
/* harmony export */ "
|
|
49548
|
-
/* harmony export */ "
|
|
49549
|
-
/* harmony export */ "
|
|
49550
|
-
/* harmony export */ "
|
|
49551
|
-
/* harmony export */ "
|
|
49552
|
-
/* harmony export */ "
|
|
49553
|
-
/* harmony export */ "
|
|
49554
|
-
/* harmony export */ "
|
|
49555
|
-
/* harmony export */ "
|
|
49556
|
-
/* harmony export */ "
|
|
49557
|
-
/* harmony export */ "
|
|
49558
|
-
/* harmony export */ "
|
|
49559
|
-
/* harmony export */ "
|
|
49560
|
-
/* harmony export */ "
|
|
49561
|
-
/* harmony export */ "
|
|
49562
|
-
/* harmony export */ "
|
|
49563
|
-
/* harmony export */ "
|
|
49564
|
-
/* harmony export */ "
|
|
49565
|
-
/* harmony export */ "
|
|
49566
|
-
/* harmony export */ "
|
|
49567
|
-
/* harmony export */ "
|
|
49568
|
-
/* harmony export */ "
|
|
49569
|
-
/* harmony export */ "
|
|
49570
|
-
/* harmony export */ "
|
|
49571
|
-
/* harmony export */ "
|
|
49572
|
-
/* harmony export */ "
|
|
49573
|
-
/* harmony export */ "
|
|
49574
|
-
/* harmony export */ "
|
|
49575
|
-
/* harmony export */ "
|
|
49576
|
-
/* harmony export */ "
|
|
49577
|
-
/* harmony export */ "
|
|
49578
|
-
/* harmony export */ "
|
|
49579
|
-
/* harmony export */ "
|
|
49580
|
-
/* harmony export */ "
|
|
49581
|
-
/* harmony export */ "
|
|
49582
|
-
/* harmony export */ "
|
|
49583
|
-
/* harmony export */ "
|
|
49584
|
-
/* harmony export */ "
|
|
49585
|
-
/* harmony export */ "
|
|
49586
|
-
/* harmony export */ "
|
|
49587
|
-
/* harmony export */ "
|
|
49588
|
-
/* harmony export */ "
|
|
49589
|
-
/* harmony export */ "
|
|
49590
|
-
/* harmony export */ "
|
|
49591
|
-
/* harmony export */ "
|
|
49592
|
-
/* harmony export */ "
|
|
49593
|
-
/* harmony export */ "
|
|
49594
|
-
/* harmony export */ "
|
|
49595
|
-
/* harmony export */ "
|
|
49596
|
-
/* harmony export */ "
|
|
49597
|
-
/* harmony export */ "
|
|
49598
|
-
/* harmony export */ "
|
|
49599
|
-
/* harmony export */ "
|
|
49600
|
-
/* harmony export */ "
|
|
49601
|
-
/* harmony export */ "
|
|
49602
|
-
/* harmony export */ "
|
|
49603
|
-
/* harmony export */ "
|
|
49604
|
-
/* harmony export */ "
|
|
49605
|
-
/* harmony export */ "
|
|
49606
|
-
/* harmony export */ "
|
|
49607
|
-
/* harmony export */ "
|
|
49608
|
-
/* harmony export */ "
|
|
49609
|
-
/* harmony export */ "
|
|
49610
|
-
/* harmony export */ "
|
|
49611
|
-
/* harmony export */ "
|
|
49612
|
-
/* harmony export */ "
|
|
49613
|
-
/* harmony export */ "
|
|
49614
|
-
/* harmony export */ "
|
|
49615
|
-
/* harmony export */ "
|
|
49616
|
-
/* harmony export */ "
|
|
49617
|
-
/* harmony export */ "
|
|
49618
|
-
/* harmony export */ "
|
|
49619
|
-
/* harmony export */ "
|
|
49620
|
-
/* harmony export */ "
|
|
49621
|
-
/* harmony export */ "
|
|
49622
|
-
/* harmony export */ "
|
|
49623
|
-
/* harmony export */ "
|
|
49624
|
-
/* harmony export */ "
|
|
49625
|
-
/* harmony export */ "
|
|
49626
|
-
/* harmony export */ "
|
|
49627
|
-
/* harmony export */ "
|
|
49628
|
-
/* harmony export */ "
|
|
49629
|
-
/* harmony export */ "
|
|
49630
|
-
/* harmony export */ "
|
|
49631
|
-
/* harmony export */ "
|
|
49632
|
-
/* harmony export */ "
|
|
49633
|
-
/* harmony export */ "
|
|
49634
|
-
/* harmony export */ "
|
|
49635
|
-
/* harmony export */ "
|
|
49636
|
-
/* harmony export */ "
|
|
49637
|
-
/* harmony export */ "
|
|
49638
|
-
/* harmony export */ "
|
|
49639
|
-
/* harmony export */ "
|
|
49640
|
-
/* harmony export */ "
|
|
49641
|
-
/* harmony export */ "
|
|
49642
|
-
/* harmony export */ "
|
|
49643
|
-
/* harmony export */ "
|
|
49644
|
-
/* harmony export */ "
|
|
49645
|
-
/* harmony export */ "
|
|
49646
|
-
/* harmony export */ "
|
|
49647
|
-
/* harmony export */ "
|
|
49648
|
-
/* harmony export */ "
|
|
49649
|
-
/* harmony export */ "
|
|
49650
|
-
/* harmony export */ "
|
|
49467
|
+
/* harmony export */ "Accidental": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Accidental),
|
|
49468
|
+
/* harmony export */ "Annotation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Annotation),
|
|
49469
|
+
/* harmony export */ "AnnotationHorizontalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.AnnotationHorizontalJustify),
|
|
49470
|
+
/* harmony export */ "AnnotationVerticalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.AnnotationVerticalJustify),
|
|
49471
|
+
/* harmony export */ "Articulation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Articulation),
|
|
49472
|
+
/* harmony export */ "BEAM_BOTH": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.BEAM_BOTH),
|
|
49473
|
+
/* harmony export */ "BEAM_LEFT": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.BEAM_LEFT),
|
|
49474
|
+
/* harmony export */ "BEAM_RIGHT": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.BEAM_RIGHT),
|
|
49475
|
+
/* harmony export */ "BarNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.BarNote),
|
|
49476
|
+
/* harmony export */ "Barline": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Barline),
|
|
49477
|
+
/* harmony export */ "BarlineType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.BarlineType),
|
|
49478
|
+
/* harmony export */ "Beam": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Beam),
|
|
49479
|
+
/* harmony export */ "Bend": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Bend),
|
|
49480
|
+
/* harmony export */ "BoundingBox": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.BoundingBox),
|
|
49481
|
+
/* harmony export */ "BoundingBoxComputation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.BoundingBoxComputation),
|
|
49482
|
+
/* harmony export */ "Builder": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Builder),
|
|
49483
|
+
/* harmony export */ "CanvasContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.CanvasContext),
|
|
49484
|
+
/* harmony export */ "Category": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Category),
|
|
49485
|
+
/* harmony export */ "ChordSymbol": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.ChordSymbol),
|
|
49486
|
+
/* harmony export */ "ChordSymbolHorizontalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.ChordSymbolHorizontalJustify),
|
|
49487
|
+
/* harmony export */ "ChordSymbolVerticalJustify": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.ChordSymbolVerticalJustify),
|
|
49488
|
+
/* harmony export */ "Clef": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Clef),
|
|
49489
|
+
/* harmony export */ "ClefNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.ClefNote),
|
|
49490
|
+
/* harmony export */ "Crescendo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Crescendo),
|
|
49491
|
+
/* harmony export */ "Curve": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Curve),
|
|
49492
|
+
/* harmony export */ "CurvePosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.CurvePosition),
|
|
49493
|
+
/* harmony export */ "Dot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Dot),
|
|
49494
|
+
/* harmony export */ "EasyScore": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.EasyScore),
|
|
49495
|
+
/* harmony export */ "EasyScoreGrammar": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.EasyScoreGrammar),
|
|
49496
|
+
/* harmony export */ "Element": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Element),
|
|
49497
|
+
/* harmony export */ "Factory": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Factory),
|
|
49498
|
+
/* harmony export */ "Flow": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Flow),
|
|
49499
|
+
/* harmony export */ "Font": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Font),
|
|
49500
|
+
/* harmony export */ "FontStyle": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.FontStyle),
|
|
49501
|
+
/* harmony export */ "FontWeight": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.FontWeight),
|
|
49502
|
+
/* harmony export */ "Formatter": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Formatter),
|
|
49503
|
+
/* harmony export */ "Fraction": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Fraction),
|
|
49504
|
+
/* harmony export */ "FretHandFinger": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.FretHandFinger),
|
|
49505
|
+
/* harmony export */ "GhostNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.GhostNote),
|
|
49506
|
+
/* harmony export */ "Glyph": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Glyph),
|
|
49507
|
+
/* harmony export */ "GlyphNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.GlyphNote),
|
|
49508
|
+
/* harmony export */ "GraceNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.GraceNote),
|
|
49509
|
+
/* harmony export */ "GraceNoteGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.GraceNoteGroup),
|
|
49510
|
+
/* harmony export */ "GraceTabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.GraceTabNote),
|
|
49511
|
+
/* harmony export */ "KeyManager": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.KeyManager),
|
|
49512
|
+
/* harmony export */ "KeySigNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.KeySigNote),
|
|
49513
|
+
/* harmony export */ "KeySignature": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.KeySignature),
|
|
49514
|
+
/* harmony export */ "Modifier": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Modifier),
|
|
49515
|
+
/* harmony export */ "ModifierContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.ModifierContext),
|
|
49516
|
+
/* harmony export */ "ModifierPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.ModifierPosition),
|
|
49517
|
+
/* harmony export */ "MultiMeasureRest": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.MultiMeasureRest),
|
|
49518
|
+
/* harmony export */ "Music": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Music),
|
|
49519
|
+
/* harmony export */ "Note": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Note),
|
|
49520
|
+
/* harmony export */ "NoteHead": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.NoteHead),
|
|
49521
|
+
/* harmony export */ "NoteSubGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.NoteSubGroup),
|
|
49522
|
+
/* harmony export */ "Ornament": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Ornament),
|
|
49523
|
+
/* harmony export */ "OutlineCode": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.OutlineCode),
|
|
49524
|
+
/* harmony export */ "Parenthesis": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Parenthesis),
|
|
49525
|
+
/* harmony export */ "Parser": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Parser),
|
|
49526
|
+
/* harmony export */ "PedalMarking": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.PedalMarking),
|
|
49527
|
+
/* harmony export */ "Piece": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Piece),
|
|
49528
|
+
/* harmony export */ "Registry": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Registry),
|
|
49529
|
+
/* harmony export */ "RenderContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.RenderContext),
|
|
49530
|
+
/* harmony export */ "Renderer": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Renderer),
|
|
49531
|
+
/* harmony export */ "RendererBackends": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.RendererBackends),
|
|
49532
|
+
/* harmony export */ "RendererLineEndType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.RendererLineEndType),
|
|
49533
|
+
/* harmony export */ "RepeatNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.RepeatNote),
|
|
49534
|
+
/* harmony export */ "Repetition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Repetition),
|
|
49535
|
+
/* harmony export */ "RuntimeError": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.RuntimeError),
|
|
49536
|
+
/* harmony export */ "SVGContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.SVGContext),
|
|
49537
|
+
/* harmony export */ "Stave": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Stave),
|
|
49538
|
+
/* harmony export */ "StaveConnector": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StaveConnector),
|
|
49539
|
+
/* harmony export */ "StaveHairpin": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StaveHairpin),
|
|
49540
|
+
/* harmony export */ "StaveLine": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StaveLine),
|
|
49541
|
+
/* harmony export */ "StaveModifier": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StaveModifier),
|
|
49542
|
+
/* harmony export */ "StaveModifierPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StaveModifierPosition),
|
|
49543
|
+
/* harmony export */ "StaveNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StaveNote),
|
|
49544
|
+
/* harmony export */ "StaveSection": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StaveSection),
|
|
49545
|
+
/* harmony export */ "StaveTempo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StaveTempo),
|
|
49546
|
+
/* harmony export */ "StaveText": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StaveText),
|
|
49547
|
+
/* harmony export */ "StaveTie": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StaveTie),
|
|
49548
|
+
/* harmony export */ "Stem": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Stem),
|
|
49549
|
+
/* harmony export */ "StemmableNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StemmableNote),
|
|
49550
|
+
/* harmony export */ "StringNumber": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.StringNumber),
|
|
49551
|
+
/* harmony export */ "Stroke": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Stroke),
|
|
49552
|
+
/* harmony export */ "SymbolModifiers": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.SymbolModifiers),
|
|
49553
|
+
/* harmony export */ "SymbolTypes": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.SymbolTypes),
|
|
49554
|
+
/* harmony export */ "System": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.System),
|
|
49555
|
+
/* harmony export */ "TabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TabNote),
|
|
49556
|
+
/* harmony export */ "TabSlide": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TabSlide),
|
|
49557
|
+
/* harmony export */ "TabStave": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TabStave),
|
|
49558
|
+
/* harmony export */ "TabTie": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TabTie),
|
|
49559
|
+
/* harmony export */ "TextBracket": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TextBracket),
|
|
49560
|
+
/* harmony export */ "TextBracketPosition": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TextBracketPosition),
|
|
49561
|
+
/* harmony export */ "TextDynamics": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TextDynamics),
|
|
49562
|
+
/* harmony export */ "TextFormatter": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TextFormatter),
|
|
49563
|
+
/* harmony export */ "TextJustification": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TextJustification),
|
|
49564
|
+
/* harmony export */ "TextNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TextNote),
|
|
49565
|
+
/* harmony export */ "TickContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TickContext),
|
|
49566
|
+
/* harmony export */ "Tickable": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Tickable),
|
|
49567
|
+
/* harmony export */ "TimeSigNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TimeSigNote),
|
|
49568
|
+
/* harmony export */ "TimeSignature": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TimeSignature),
|
|
49569
|
+
/* harmony export */ "TimeSignatureGlyph": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TimeSignatureGlyph),
|
|
49570
|
+
/* harmony export */ "Tremolo": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Tremolo),
|
|
49571
|
+
/* harmony export */ "Tuning": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Tuning),
|
|
49572
|
+
/* harmony export */ "Tuplet": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Tuplet),
|
|
49573
|
+
/* harmony export */ "TupletLocation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.TupletLocation),
|
|
49574
|
+
/* harmony export */ "Vex": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Vex),
|
|
49575
|
+
/* harmony export */ "Vibrato": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Vibrato),
|
|
49576
|
+
/* harmony export */ "VibratoBracket": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.VibratoBracket),
|
|
49577
|
+
/* harmony export */ "Voice": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Voice),
|
|
49578
|
+
/* harmony export */ "VoiceMode": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.VoiceMode),
|
|
49579
|
+
/* harmony export */ "Volta": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.Volta),
|
|
49580
|
+
/* harmony export */ "VoltaType": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.VoltaType),
|
|
49581
|
+
/* harmony export */ "defined": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.defined),
|
|
49582
|
+
/* harmony export */ "drawDot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.drawDot),
|
|
49583
|
+
/* harmony export */ "globalObject": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.globalObject),
|
|
49584
|
+
/* harmony export */ "isAccidental": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isAccidental),
|
|
49585
|
+
/* harmony export */ "isAnnotation": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isAnnotation),
|
|
49586
|
+
/* harmony export */ "isBarline": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isBarline),
|
|
49587
|
+
/* harmony export */ "isCategory": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isCategory),
|
|
49588
|
+
/* harmony export */ "isDot": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isDot),
|
|
49589
|
+
/* harmony export */ "isGraceNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isGraceNote),
|
|
49590
|
+
/* harmony export */ "isGraceNoteGroup": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isGraceNoteGroup),
|
|
49591
|
+
/* harmony export */ "isHTMLCanvas": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isHTMLCanvas),
|
|
49592
|
+
/* harmony export */ "isHTMLDiv": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isHTMLDiv),
|
|
49593
|
+
/* harmony export */ "isNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isNote),
|
|
49594
|
+
/* harmony export */ "isRenderContext": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isRenderContext),
|
|
49595
|
+
/* harmony export */ "isStaveNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isStaveNote),
|
|
49596
|
+
/* harmony export */ "isStemmableNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isStemmableNote),
|
|
49597
|
+
/* harmony export */ "isTabNote": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.isTabNote),
|
|
49598
|
+
/* harmony export */ "log": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.log),
|
|
49599
|
+
/* harmony export */ "midLine": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.midLine),
|
|
49600
|
+
/* harmony export */ "normalizeAngle": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.normalizeAngle),
|
|
49601
|
+
/* harmony export */ "prefix": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.prefix),
|
|
49602
|
+
/* harmony export */ "warn": () => (/* reexport safe */ _src_index__WEBPACK_IMPORTED_MODULE_0__.warn),
|
|
49603
|
+
/* harmony export */ "AccidentalTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.AccidentalTests),
|
|
49604
|
+
/* harmony export */ "AnnotationTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.AnnotationTests),
|
|
49605
|
+
/* harmony export */ "ArticulationTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.ArticulationTests),
|
|
49606
|
+
/* harmony export */ "AutoBeamFormattingTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.AutoBeamFormattingTests),
|
|
49607
|
+
/* harmony export */ "BachDemoTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.BachDemoTests),
|
|
49608
|
+
/* harmony export */ "BarlineTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.BarlineTests),
|
|
49609
|
+
/* harmony export */ "BeamTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.BeamTests),
|
|
49610
|
+
/* harmony export */ "BendTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.BendTests),
|
|
49611
|
+
/* harmony export */ "BoundingBoxComputationTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.BoundingBoxComputationTests),
|
|
49612
|
+
/* harmony export */ "BoundingBoxTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.BoundingBoxTests),
|
|
49613
|
+
/* harmony export */ "ChordSymbolTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.ChordSymbolTests),
|
|
49614
|
+
/* harmony export */ "ClefKeySignatureTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.ClefKeySignatureTests),
|
|
49615
|
+
/* harmony export */ "ClefTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.ClefTests),
|
|
49616
|
+
/* harmony export */ "CurveTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.CurveTests),
|
|
49617
|
+
/* harmony export */ "DotTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.DotTests),
|
|
49618
|
+
/* harmony export */ "EasyScoreTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.EasyScoreTests),
|
|
49619
|
+
/* harmony export */ "FactoryTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.FactoryTests),
|
|
49620
|
+
/* harmony export */ "FontTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.FontTests),
|
|
49621
|
+
/* harmony export */ "FormatterTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.FormatterTests),
|
|
49622
|
+
/* harmony export */ "FractionTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.FractionTests),
|
|
49623
|
+
/* harmony export */ "GhostNoteTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.GhostNoteTests),
|
|
49624
|
+
/* harmony export */ "GlyphNoteTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.GlyphNoteTests),
|
|
49625
|
+
/* harmony export */ "GraceNoteTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.GraceNoteTests),
|
|
49626
|
+
/* harmony export */ "GraceTabNoteTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.GraceTabNoteTests),
|
|
49627
|
+
/* harmony export */ "KeyManagerTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.KeyManagerTests),
|
|
49628
|
+
/* harmony export */ "KeySignatureTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.KeySignatureTests),
|
|
49629
|
+
/* harmony export */ "ModifierContextTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.ModifierContextTests),
|
|
49630
|
+
/* harmony export */ "MultiMeasureRestTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.MultiMeasureRestTests),
|
|
49631
|
+
/* harmony export */ "MusicTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.MusicTests),
|
|
49632
|
+
/* harmony export */ "NoteHeadTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.NoteHeadTests),
|
|
49633
|
+
/* harmony export */ "NoteSubGroupTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.NoteSubGroupTests),
|
|
49634
|
+
/* harmony export */ "OffscreenCanvasTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.OffscreenCanvasTests),
|
|
49635
|
+
/* harmony export */ "OrnamentTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.OrnamentTests),
|
|
49636
|
+
/* harmony export */ "ParserTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.ParserTests),
|
|
49637
|
+
/* harmony export */ "PedalMarkingTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.PedalMarkingTests),
|
|
49638
|
+
/* harmony export */ "PercussionTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.PercussionTests),
|
|
49639
|
+
/* harmony export */ "RegistryTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.RegistryTests),
|
|
49640
|
+
/* harmony export */ "RendererTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.RendererTests),
|
|
49641
|
+
/* harmony export */ "RestsTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.RestsTests),
|
|
49642
|
+
/* harmony export */ "RhythmTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.RhythmTests),
|
|
49643
|
+
/* harmony export */ "StaveConnectorTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.StaveConnectorTests),
|
|
49644
|
+
/* harmony export */ "StaveHairpinTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.StaveHairpinTests),
|
|
49645
|
+
/* harmony export */ "StaveLineTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.StaveLineTests),
|
|
49646
|
+
/* harmony export */ "StaveModifierTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.StaveModifierTests),
|
|
49647
|
+
/* harmony export */ "StaveNoteTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.StaveNoteTests),
|
|
49648
|
+
/* harmony export */ "StaveTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.StaveTests),
|
|
49649
|
+
/* harmony export */ "StaveTieTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.StaveTieTests),
|
|
49650
|
+
/* harmony export */ "StringNumberTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.StringNumberTests),
|
|
49651
|
+
/* harmony export */ "StrokesTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.StrokesTests),
|
|
49652
|
+
/* harmony export */ "StyleTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.StyleTests),
|
|
49653
|
+
/* harmony export */ "TabNoteTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TabNoteTests),
|
|
49654
|
+
/* harmony export */ "TabSlideTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TabSlideTests),
|
|
49655
|
+
/* harmony export */ "TabStaveTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TabStaveTests),
|
|
49656
|
+
/* harmony export */ "TabTieTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TabTieTests),
|
|
49657
|
+
/* harmony export */ "TextBracketTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TextBracketTests),
|
|
49658
|
+
/* harmony export */ "TextFormatterTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TextFormatterTests),
|
|
49659
|
+
/* harmony export */ "TextNoteTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TextNoteTests),
|
|
49660
|
+
/* harmony export */ "ThreeVoicesTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.ThreeVoicesTests),
|
|
49661
|
+
/* harmony export */ "TickContextTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TickContextTests),
|
|
49662
|
+
/* harmony export */ "TimeSignatureTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TimeSignatureTests),
|
|
49663
|
+
/* harmony export */ "TremoloTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TremoloTests),
|
|
49664
|
+
/* harmony export */ "TuningTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TuningTests),
|
|
49665
|
+
/* harmony export */ "TupletTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TupletTests),
|
|
49666
|
+
/* harmony export */ "TypeGuardTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.TypeGuardTests),
|
|
49667
|
+
/* harmony export */ "VFPrefixTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.VFPrefixTests),
|
|
49668
|
+
/* harmony export */ "VibratoBracketTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.VibratoBracketTests),
|
|
49669
|
+
/* harmony export */ "VibratoTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.VibratoTests),
|
|
49670
|
+
/* harmony export */ "VoiceTests": () => (/* reexport safe */ _tests_index__WEBPACK_IMPORTED_MODULE_1__.VoiceTests),
|
|
49651
49671
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
49652
49672
|
/* harmony export */ });
|
|
49653
|
-
/* harmony import */ var
|
|
49654
|
-
/* harmony import */ var
|
|
49655
|
-
/* harmony import */ var
|
|
49673
|
+
/* harmony import */ var _src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../src/index */ "./src/index.ts");
|
|
49674
|
+
/* harmony import */ var _tests_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../tests/index */ "./tests/index.ts");
|
|
49675
|
+
/* harmony import */ var _src_flow__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../src/flow */ "./src/flow.ts");
|
|
49676
|
+
/* harmony import */ var _src_fonts_load_all__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../src/fonts/load_all */ "./src/fonts/load_all.ts");
|
|
49677
|
+
/* harmony import */ var _src_fonts_textfonts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../src/fonts/textfonts */ "./src/fonts/textfonts.ts");
|
|
49656
49678
|
// [VexFlow](https://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
|
|
49657
49679
|
// MIT License
|
|
49658
49680
|
//
|
|
@@ -49662,7 +49684,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
49662
49684
|
|
|
49663
49685
|
|
|
49664
49686
|
|
|
49665
|
-
|
|
49687
|
+
|
|
49688
|
+
|
|
49689
|
+
(0,_src_fonts_load_all__WEBPACK_IMPORTED_MODULE_3__.loadAllMusicFonts)();
|
|
49690
|
+
_src_flow__WEBPACK_IMPORTED_MODULE_2__.Flow.setMusicFont('Bravura', 'Gonville', 'Custom');
|
|
49691
|
+
(0,_src_fonts_textfonts__WEBPACK_IMPORTED_MODULE_4__.loadTextFonts)();
|
|
49692
|
+
// Re-export all exports from src/index.ts and tests/index.ts.
|
|
49693
|
+
|
|
49694
|
+
|
|
49695
|
+
// Also collect all exports into a default export for CJS projects.
|
|
49696
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Object.assign(Object.assign({}, _src_index__WEBPACK_IMPORTED_MODULE_0__), _tests_index__WEBPACK_IMPORTED_MODULE_1__));
|
|
49666
49697
|
|
|
49667
49698
|
})();
|
|
49668
49699
|
|