smoosic 1.0.36 → 1.0.38
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 +6 -3
- package/build/smoosic.js +89 -29
- package/changes.md +9 -1
- package/package.json +1 -1
- package/release/html/libmode.html +36 -0
- package/release/html/smoosic.html +4 -4
- package/release/smoosic.js +89 -29
- package/release/styles/dialogs.css +25 -18
- package/release/styles/general.css +16 -9
- package/release/styles/media.css +13 -5
- package/release/styles/ribbon.css +3 -0
- package/src/application/exports.ts +4 -4
- package/src/render/audio/musicCursor.ts +1 -1
- package/src/render/sui/NoteEntryCaret.ts +4 -1
- package/src/render/sui/formatter.ts +3 -3
- package/src/render/sui/mapper.ts +1 -1
- package/src/render/sui/scoreView.ts +4 -4
- package/src/render/sui/scoreViewOperations.ts +10 -10
- package/src/render/sui/textEdit.ts +3 -1
- package/src/render/vex/vxMeasure.ts +12 -6
- package/src/smo/data/measure.ts +37 -37
- package/src/smo/data/measureModifiers.ts +106 -71
- package/src/smo/data/note.ts +4 -1
- package/src/smo/data/score.ts +50 -11
- package/src/smo/data/systemStaff.ts +2 -2
- package/src/smo/midi/midiToSmo.ts +28 -29
- package/src/smo/midi/smoToMidi.ts +3 -3
- package/src/smo/mxml/smoToXml.ts +11 -11
- package/src/smo/mxml/xmlState.ts +3 -3
- package/src/smo/mxml/xmlToSmo.ts +9 -9
- package/src/smo/xform/copypaste.ts +3 -3
- package/src/smo/xform/operations.ts +9 -6
- package/src/smo/xform/tickDuration.ts +10 -2
- package/src/ui/buttons/display.ts +2 -2
- package/src/ui/buttons/ribbon.ts +2 -2
- package/src/ui/components/dialogs/timeSignature.vue +223 -0
- package/src/ui/dialogs/fileDialogs.ts +1 -1
- package/src/ui/dialogs/keySignature.ts +1 -1
- package/src/ui/dialogs/tempo.ts +38 -38
- package/src/ui/dialogs/timeSignature.ts +45 -116
- package/src/ui/menus/timeSignature.ts +2 -2
- package/tools/smoosic-schema.json +4 -4
package/changes.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
<sub>[Github site](https://github.com/
|
|
1
|
+
<sub>[Github site](https://github.com/smoosic) | [change notes](https://smoosic.github.io//Smoosic/changes.html) | [application](https://smoosic.github.io//Smoosic/release/html/smoosic.html)<sub>
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Changes to Smoosic
|
|
5
5
|
This is a completely new Github repository dedicated to Smoosic, optmized for collaboration and feedback. Now that the application itself is generally functional, I'd like to pull the open source community in a bit.
|
|
6
6
|
|
|
7
|
+
### April 8, 2026
|
|
8
|
+
Two major new features:
|
|
9
|
+
* mouse-note entry - create notes using the mouse, ala MuseScore.
|
|
10
|
+
* horizontal layout (continuous scroll) - non-paged view of your score.
|
|
11
|
+
|
|
12
|
+
#### Breaking changes:
|
|
13
|
+
New DOM structure. Only domContainer parameter for application mode is required. It can be a string ID or an element. Older versions required a more complicated DOM structure.
|
|
14
|
+
|
|
7
15
|
### October, 2024
|
|
8
16
|
Thanks to [Nenad Strangar](https://github.com/strangarnenad) we now have nested tuplets!
|
|
9
17
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!DOCTYPE HTML>
|
|
2
|
+
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Smoosic Editor</title>
|
|
7
|
+
<link href="../styles/bravura-font-codes.css" rel="stylesheet">
|
|
8
|
+
<link href="../styles/bootstrap.css" rel="stylesheet">
|
|
9
|
+
<link href="../styles/fonts.css" type="text/css" rel="stylesheet">
|
|
10
|
+
<link href="../styles/media.css" rel="stylesheet">
|
|
11
|
+
<link href="../styles/ribbon.css" rel="stylesheet">
|
|
12
|
+
<link href="../styles/dialogs.css" rel="stylesheet">
|
|
13
|
+
<link href="../styles/menus.css" rel="stylesheet">
|
|
14
|
+
<link href="../styles/piano.css" rel="stylesheet">
|
|
15
|
+
<link href="../styles/tree.css" rel="stylesheet">
|
|
16
|
+
<!-- script type="text/javascript" src="../../../vexflow_smoosic/build/cjs/vexflow-debug.js"></script -->
|
|
17
|
+
<!-- script type="text/javascript" src="../../node_modules/vexflow_smoosic/build/cjs/vexflow-debug-with-tests.js"></script -->
|
|
18
|
+
<!-- script type="text/javascript" src="../../../vexflow_smoosic/build/cjs/vexflow-debug-with-tests.js"></script -->
|
|
19
|
+
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.slim.js" ></script>
|
|
20
|
+
<script type="text/javascript" src="../jszip.js"></script>
|
|
21
|
+
<script type="text/javascript" src="../smoosic.js" ></script>
|
|
22
|
+
<script type="text/javascript">
|
|
23
|
+
document.addEventListener("DOMContentLoaded", function (event) {
|
|
24
|
+
var config = { mode: 'library', domContainer:'libmode'};
|
|
25
|
+
const score = Smo.SmoScore.getDefaultScore(Smo.SmoScore.defaults, null);
|
|
26
|
+
config.initialScore = score;
|
|
27
|
+
Smo.SuiApplication.configure(config);
|
|
28
|
+
});
|
|
29
|
+
</script>
|
|
30
|
+
</head>
|
|
31
|
+
<body>
|
|
32
|
+
<!-- audio crossOrigin="anonymous" id="sample" src="https://smoosic.github.io/Smoosic/build/sound/piano_middle_C.mp3" / -->
|
|
33
|
+
<div id="libmode">
|
|
34
|
+
</div>
|
|
35
|
+
</body>
|
|
36
|
+
</html>
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<title>Smoosic Editor</title>
|
|
7
|
-
|
|
7
|
+
<link href="../styles/bravura-font-codes.css" rel="stylesheet">
|
|
8
|
+
<link href="../styles/bootstrap.css" rel="stylesheet">
|
|
9
|
+
<link href="../styles/fonts.css" type="text/css" rel="stylesheet">
|
|
8
10
|
<link href="../styles/media.css" rel="stylesheet">
|
|
9
11
|
<link href="../styles/ribbon.css" rel="stylesheet">
|
|
10
12
|
<link href="../styles/dialogs.css" rel="stylesheet">
|
|
11
13
|
<link href="../styles/menus.css" rel="stylesheet">
|
|
12
14
|
<link href="../styles/piano.css" rel="stylesheet">
|
|
13
|
-
<link href="../styles/tree.css" rel="stylesheet">
|
|
14
15
|
<link href="../styles/general.css" rel="stylesheet">
|
|
15
|
-
<link href="../styles/
|
|
16
|
-
<link href="../styles/bootstrap.min.css" rel="stylesheet">
|
|
16
|
+
<link href="../styles/tree.css" rel="stylesheet">
|
|
17
17
|
<!-- script type="text/javascript" src="../../../vexflow_smoosic/build/cjs/vexflow-debug.js"></script -->
|
|
18
18
|
<!-- script type="text/javascript" src="../../node_modules/vexflow_smoosic/build/cjs/vexflow-debug-with-tests.js"></script -->
|
|
19
19
|
<!-- script type="text/javascript" src="../../../vexflow_smoosic/build/cjs/vexflow-debug-with-tests.js"></script -->
|