jpfun 0.4.0 → 0.5.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 +53 -113
- package/dist/converter/midi/convert.js +14 -7
- package/dist/converter/musicxml/features.d.ts +57 -16
- package/dist/converter/musicxml/features.js +204 -42
- package/dist/converter/musicxml/index.d.ts +7 -2
- package/dist/converter/musicxml/index.js +256 -268
- package/dist/converter/musicxml/model.d.ts +36 -7
- package/dist/converter/musicxml/resolve.d.ts +10 -0
- package/dist/converter/musicxml/resolve.js +152 -0
- package/dist/core.d.ts +1 -0
- package/dist/core.js +1 -0
- package/dist/fraction.js +7 -1
- package/dist/functions/ASTtypes.d.ts +4 -4
- package/dist/functions/ASTtypes.js +5 -9
- package/dist/functions/adjust/index.js +16 -53
- package/dist/functions/arpeggio/index.js +27 -15
- package/dist/functions/bar/index.js +7 -8
- package/dist/functions/beam/index.js +6 -1
- package/dist/functions/beam/layout.d.ts +1 -1
- package/dist/functions/beam/layout.js +5 -3
- package/dist/functions/box/index.js +88 -82
- package/dist/functions/br/index.js +9 -5
- package/dist/functions/dash/index.js +24 -13
- package/dist/functions/div/index.d.ts +5 -2
- package/dist/functions/div/index.js +15 -14
- package/dist/functions/dot/index.js +13 -11
- package/dist/functions/dyn/index.js +35 -39
- package/dist/functions/grace/index.d.ts +19 -6
- package/dist/functions/grace/index.js +136 -121
- package/dist/functions/head/index.js +19 -14
- package/dist/functions/key/index.js +8 -4
- package/dist/functions/meter/index.js +22 -2
- package/dist/functions/note/index.d.ts +6 -1
- package/dist/functions/note/index.js +48 -30
- package/dist/functions/note/source-transform.d.ts +21 -0
- package/dist/functions/note/source-transform.js +164 -0
- package/dist/functions/page/index.d.ts +8 -1
- package/dist/functions/page/index.js +23 -13
- package/dist/functions/program/index.js +11 -2
- package/dist/functions/set/index.js +14 -8
- package/dist/functions/stack/index.js +7 -5
- package/dist/functions/symbol/index.d.ts +2 -0
- package/dist/functions/symbol/index.js +11 -7
- package/dist/functions/symbol/ornament.d.ts +3 -3
- package/dist/functions/symbol/ornament.js +21 -35
- package/dist/functions/symbol/symbols/accent.js +5 -5
- package/dist/functions/symbol/symbols/fermata.js +5 -4
- package/dist/functions/tempo/index.js +7 -1
- package/dist/functions/text/index.js +11 -3
- package/dist/functions/tie/index.js +28 -32
- package/dist/functions/tuplet/index.js +26 -24
- package/dist/functions/up/index.js +24 -21
- package/dist/functions/voice/index.js +36 -26
- package/dist/functions/volta/index.js +16 -17
- package/dist/jpfun.core.min.js +98 -129
- package/dist/jpfun.from-midi.min.js +5 -5
- package/dist/jpfun.from-musicxml.min.js +8 -8
- package/dist/jpfun.min.js +107 -138
- package/dist/layout/engine.d.ts +11 -1
- package/dist/layout/engine.js +299 -96
- package/dist/layout/page.js +2 -0
- package/dist/layout/range.d.ts +26 -0
- package/dist/layout/range.js +75 -0
- package/dist/layout/types.d.ts +33 -4
- package/dist/lowering/types.d.ts +5 -0
- package/dist/parser/parse-utils/length-utils.js +2 -0
- package/dist/parser/parse-utils/note-utils.d.ts +2 -0
- package/dist/parser/parse-utils/note-utils.js +6 -2
- package/dist/parser/parserContext.js +1 -1
- package/dist/playback/compile.d.ts +2 -9
- package/dist/playback/compile.js +297 -186
- package/dist/playback/event.d.ts +8 -16
- package/dist/playback/event.js +13 -3
- package/dist/playback/types.d.ts +76 -18
- package/dist/playback/types.js +1 -0
- package/dist/render/index.d.ts +1 -1
- package/dist/render/index.js +1 -1
- package/dist/render/recording.d.ts +1 -0
- package/dist/render/recording.js +21 -0
- package/dist/render/translate.d.ts +14 -0
- package/dist/render/translate.js +48 -0
- package/grammar.md +103 -78
- package/package.json +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jpfun",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "A functional numbered musical notation typesetting engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"author": "madderscientist",
|
|
64
64
|
"license": "Apache-2.0",
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@types/node": "^26.
|
|
66
|
+
"@types/node": "^26.5.1",
|
|
67
67
|
"@xmldom/xmldom": "^0.9.12",
|
|
68
|
-
"esbuild": "^0.
|
|
69
|
-
"tsx": "^4.23.
|
|
68
|
+
"esbuild": "^0.28.2",
|
|
69
|
+
"tsx": "^4.23.13",
|
|
70
70
|
"typescript": "^7.0.2"
|
|
71
71
|
}
|
|
72
72
|
}
|