jpfun 0.8.0 → 1.0.0
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 +10 -15
- package/dist/diagnostic.d.ts +29 -2
- package/dist/diagnostic.js +5 -4
- package/dist/functions/ASTtypes.d.ts +1 -14
- package/dist/functions/ASTtypes.js +5 -36
- package/dist/functions/adjust/index.js +45 -33
- package/dist/functions/arpeggio/index.js +44 -48
- package/dist/functions/arpeggio/shape.d.ts +2 -3
- package/dist/functions/arpeggio/shape.js +20 -50
- package/dist/functions/bar/index.d.ts +3 -0
- package/dist/functions/bar/index.js +21 -11
- package/dist/functions/beam/auto.js +54 -123
- package/dist/functions/beam/index.js +4 -9
- package/dist/functions/beam/layout.js +3 -2
- package/dist/functions/box/index.js +1 -6
- package/dist/functions/dash/index.js +6 -4
- package/dist/functions/div/index.d.ts +3 -5
- package/dist/functions/div/index.js +14 -12
- package/dist/functions/dot/index.js +3 -9
- package/dist/functions/dyn/index.js +7 -26
- package/dist/functions/gliss/index.js +99 -91
- package/dist/functions/grace/index.d.ts +2 -5
- package/dist/functions/grace/index.js +47 -94
- package/dist/functions/head/index.js +32 -36
- package/dist/functions/key/index.js +9 -12
- package/dist/functions/meter/index.d.ts +1 -0
- package/dist/functions/meter/index.js +6 -3
- package/dist/functions/meter/shape.d.ts +1 -1
- package/dist/functions/note/accidentals.d.ts +3 -3
- package/dist/functions/note/accidentals.js +29 -16
- package/dist/functions/note/index.js +12 -14
- package/dist/functions/note/source-transform.d.ts +15 -0
- package/dist/functions/note/source-transform.js +75 -71
- package/dist/functions/ottava/index.js +12 -32
- package/dist/functions/page/index.js +15 -17
- package/dist/functions/rest/index.js +10 -10
- package/dist/functions/slide/index.js +1 -1
- package/dist/functions/stack/index.js +8 -57
- package/dist/functions/temporal.d.ts +11 -5
- package/dist/functions/temporal.js +22 -2
- package/dist/functions/text/index.js +24 -30
- package/dist/functions/tie/index.js +42 -41
- package/dist/functions/tremolo/index.js +1 -1
- package/dist/functions/tuplet/index.js +1 -6
- package/dist/functions/up/index.js +82 -88
- package/dist/functions/voice/connections.d.ts +3 -2
- package/dist/functions/voice/connections.js +48 -10
- package/dist/functions/voice/index.d.ts +2 -3
- package/dist/functions/voice/index.js +2 -970
- package/dist/functions/voice/lyrics.d.ts +34 -0
- package/dist/functions/voice/lyrics.js +393 -0
- package/dist/functions/voice/voice.d.ts +67 -0
- package/dist/functions/voice/voice.js +405 -0
- package/dist/functions/voice/voices.d.ts +106 -0
- package/dist/functions/voice/voices.js +424 -0
- package/dist/functions/volta/index.js +6 -23
- package/dist/index.d.ts +97 -3
- package/dist/index.js +97 -3
- package/dist/jpfun.min.js +63 -67
- package/dist/layout/engine.d.ts +4 -3
- package/dist/layout/engine.js +190 -24
- package/dist/layout/model.d.ts +12 -4
- package/dist/layout/model.js +16 -11
- package/dist/layout/page.d.ts +2 -1
- package/dist/layout/page.js +15 -15
- package/dist/layout/path.js +1 -1
- package/dist/layout/range.d.ts +7 -6
- package/dist/layout/range.js +23 -14
- package/dist/layout/types.d.ts +19 -30
- package/dist/lowering/loweringContext.d.ts +8 -11
- package/dist/lowering/loweringContext.js +7 -13
- package/dist/lowering/track.d.ts +8 -1
- package/dist/lowering/types.d.ts +12 -8
- package/dist/parser/grammarType.d.ts +3 -3
- package/dist/parser/parse-utils/brace-utils.js +7 -17
- package/dist/parser/parse-utils/call-utils.d.ts +4 -3
- package/dist/parser/parse-utils/call-utils.js +23 -66
- package/dist/parser/parse-utils/note-utils.d.ts +7 -3
- package/dist/parser/parse-utils/note-utils.js +25 -40
- package/dist/parser/parse-utils/string-utils.d.ts +1 -1
- package/dist/parser/parse-utils/string-utils.js +8 -6
- package/dist/parser/parserContext.d.ts +17 -11
- package/dist/parser/parserContext.js +111 -65
- package/dist/parser/preprocess.d.ts +7 -0
- package/dist/parser/preprocess.js +21 -19
- package/dist/pipeline.d.ts +1 -1
- package/dist/pipeline.js +2 -2
- package/dist/playback/compile.js +14 -15
- package/dist/playback/event.d.ts +6 -6
- package/dist/playback/event.js +13 -49
- package/dist/render/canvas.d.ts +0 -2
- package/dist/render/canvas.js +50 -56
- package/dist/render/index.d.ts +1 -1
- package/dist/render/index.js +1 -1
- package/dist/render/paint.d.ts +7 -0
- package/dist/render/paint.js +70 -20
- package/dist/render/recording.d.ts +8 -1
- package/dist/render/recording.js +12 -0
- package/dist/render/svg.d.ts +5 -2
- package/dist/render/svg.js +70 -48
- package/dist/render/text.d.ts +37 -2
- package/dist/render/text.js +136 -1
- package/dist/render/translate.d.ts +3 -1
- package/dist/render/translate.js +6 -0
- package/dist/render/types.d.ts +9 -2
- package/grammar.md +18 -14
- package/package.json +8 -18
- package/dist/converter/midi/convert.d.ts +0 -42
- package/dist/converter/midi/convert.js +0 -729
- package/dist/converter/midi/index.d.ts +0 -5
- package/dist/converter/midi/index.js +0 -11
- package/dist/converter/midi/json.d.ts +0 -38
- package/dist/converter/midi/json.js +0 -1
- package/dist/converter/midi/triplet.d.ts +0 -30
- package/dist/converter/midi/triplet.js +0 -75
- package/dist/converter/musicxml/dom.d.ts +0 -25
- package/dist/converter/musicxml/dom.js +0 -65
- package/dist/converter/musicxml/features.d.ts +0 -114
- package/dist/converter/musicxml/features.js +0 -501
- package/dist/converter/musicxml/index.d.ts +0 -14
- package/dist/converter/musicxml/index.js +0 -1295
- package/dist/converter/musicxml/model.d.ts +0 -176
- package/dist/converter/musicxml/model.js +0 -1
- package/dist/converter/musicxml/resolve.d.ts +0 -10
- package/dist/converter/musicxml/resolve.js +0 -152
- package/dist/converter/source.d.ts +0 -22
- package/dist/converter/source.js +0 -51
- package/dist/core.d.ts +0 -24
- package/dist/core.js +0 -24
- package/dist/iife/core.d.ts +0 -1
- package/dist/iife/core.js +0 -3
- package/dist/iife/from-midi.d.ts +0 -1
- package/dist/iife/from-midi.js +0 -15
- package/dist/iife/from-musicxml.d.ts +0 -1
- package/dist/iife/from-musicxml.js +0 -3
- package/dist/iife/full.d.ts +0 -1
- package/dist/iife/full.js +0 -3
- package/dist/jpfun.core.min.js +0 -123
- package/dist/jpfun.from-midi.min.js +0 -9
- package/dist/jpfun.from-musicxml.min.js +0 -12
package/dist/index.js
CHANGED
|
@@ -1,3 +1,97 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
1
|
+
export * from "./pipeline.js";
|
|
2
|
+
export * from "./functions/ASTtypes.js";
|
|
3
|
+
export * from "./functions/temporal.js";
|
|
4
|
+
export * from "./functions/default.js";
|
|
5
|
+
export * from "./functions/adjust/index.js";
|
|
6
|
+
export * from "./functions/arpeggio/index.js";
|
|
7
|
+
export * from "./functions/arpeggio/shape.js";
|
|
8
|
+
export * from "./functions/bar/index.js";
|
|
9
|
+
export * from "./functions/beam/index.js";
|
|
10
|
+
export * from "./functions/beam/auto.js";
|
|
11
|
+
export * from "./functions/beam/layout.js";
|
|
12
|
+
export * from "./functions/box/index.js";
|
|
13
|
+
export * from "./functions/br/index.js";
|
|
14
|
+
export * from "./functions/dash/index.js";
|
|
15
|
+
export * from "./functions/div/index.js";
|
|
16
|
+
export * from "./functions/dot/index.js";
|
|
17
|
+
export * from "./functions/dyn/index.js";
|
|
18
|
+
export * from "./functions/gliss/index.js";
|
|
19
|
+
export * from "./functions/grace/index.js";
|
|
20
|
+
export * from "./functions/head/index.js";
|
|
21
|
+
export * from "./functions/key/index.js";
|
|
22
|
+
export * from "./functions/meter/index.js";
|
|
23
|
+
export * from "./functions/meter/shape.js";
|
|
24
|
+
export * from "./functions/note/index.js";
|
|
25
|
+
export * from "./functions/note/accidentals.js";
|
|
26
|
+
export * from "./functions/note/noteName.js";
|
|
27
|
+
export * from "./functions/note/source-transform.js";
|
|
28
|
+
export * from "./functions/ottava/index.js";
|
|
29
|
+
export * from "./functions/page/index.js";
|
|
30
|
+
export * from "./functions/pagebreak/index.js";
|
|
31
|
+
export * from "./functions/program/index.js";
|
|
32
|
+
export * from "./functions/rest/index.js";
|
|
33
|
+
export * from "./functions/set/index.js";
|
|
34
|
+
export * from "./functions/slide/index.js";
|
|
35
|
+
export * from "./functions/stack/index.js";
|
|
36
|
+
export * from "./functions/symbol/index.js";
|
|
37
|
+
export * from "./functions/symbol/ornament.js";
|
|
38
|
+
export * from "./functions/symbol/shape.js";
|
|
39
|
+
export * from "./functions/symbol/symbols/accent.js";
|
|
40
|
+
export * from "./functions/symbol/symbols/coda.js";
|
|
41
|
+
export * from "./functions/symbol/symbols/dc.js";
|
|
42
|
+
export * from "./functions/symbol/symbols/ds.js";
|
|
43
|
+
export * from "./functions/symbol/symbols/dynamics.js";
|
|
44
|
+
export * from "./functions/symbol/symbols/fermata.js";
|
|
45
|
+
export * from "./functions/symbol/symbols/fine.js";
|
|
46
|
+
export * from "./functions/symbol/symbols/harmonic.js";
|
|
47
|
+
export * from "./functions/symbol/symbols/marcato.js";
|
|
48
|
+
export * from "./functions/symbol/symbols/mordent.js";
|
|
49
|
+
export * from "./functions/symbol/symbols/prall.js";
|
|
50
|
+
export * from "./functions/symbol/symbols/segno.js";
|
|
51
|
+
export * from "./functions/symbol/symbols/staccato.js";
|
|
52
|
+
export * from "./functions/symbol/symbols/tenuto.js";
|
|
53
|
+
export * from "./functions/symbol/symbols/tocoda.js";
|
|
54
|
+
export * from "./functions/symbol/symbols/tr.js";
|
|
55
|
+
export * from "./functions/symbol/symbols/turn.js";
|
|
56
|
+
export * from "./functions/symbol/symbols/wheel.js";
|
|
57
|
+
export * from "./functions/tempo/index.js";
|
|
58
|
+
export * from "./functions/tempo/glyph.js";
|
|
59
|
+
export * from "./functions/text/index.js";
|
|
60
|
+
export * from "./functions/tie/index.js";
|
|
61
|
+
export * from "./functions/tremolo/index.js";
|
|
62
|
+
export * from "./functions/tuplet/index.js";
|
|
63
|
+
export * from "./functions/up/index.js";
|
|
64
|
+
export * from "./functions/voice/voice.js";
|
|
65
|
+
export * from "./functions/voice/voices.js";
|
|
66
|
+
export * from "./functions/voice/connections.js";
|
|
67
|
+
export * from "./functions/voice/lyrics.js";
|
|
68
|
+
export * from "./functions/volta/index.js";
|
|
69
|
+
export * from "./diagnostic.js";
|
|
70
|
+
export * from "./fraction.js";
|
|
71
|
+
export * from "./parser/types.js";
|
|
72
|
+
export * from "./parser/grammarType.js";
|
|
73
|
+
export { ParserContext, DEFAULT_FONT_SIZE, skipSpaces, skipSpacesBack } from "./parser/parserContext.js";
|
|
74
|
+
export * from "./parser/preprocess.js";
|
|
75
|
+
export * from "./parser/parse-utils/brace-utils.js";
|
|
76
|
+
export * from "./parser/parse-utils/call-utils.js";
|
|
77
|
+
export * from "./parser/parse-utils/label-utils.js";
|
|
78
|
+
export * from "./parser/parse-utils/length-utils.js";
|
|
79
|
+
export * from "./parser/parse-utils/note-utils.js";
|
|
80
|
+
export * from "./parser/parse-utils/string-utils.js";
|
|
81
|
+
export { quote as quoteSourceString } from "./parser/parse-utils/string-utils.js";
|
|
82
|
+
export * from "./lowering/types.js";
|
|
83
|
+
export * from "./lowering/loweringContext.js";
|
|
84
|
+
export * from "./lowering/track.js";
|
|
85
|
+
export * from "./playback/types.js";
|
|
86
|
+
export * from "./playback/event.js";
|
|
87
|
+
export * from "./playback/time.js";
|
|
88
|
+
export * from "./playback/compile.js";
|
|
89
|
+
export * from "./layout/types.js";
|
|
90
|
+
export * from "./layout/model.js";
|
|
91
|
+
export * from "./layout/default.js";
|
|
92
|
+
export * from "./layout/page.js";
|
|
93
|
+
export * from "./layout/engine.js";
|
|
94
|
+
export * from "./layout/path.js";
|
|
95
|
+
export * from "./layout/range.js";
|
|
96
|
+
export * from "./render/index.js";
|
|
97
|
+
export * from "./render/translate.js";
|