abcjs 6.3.0 → 6.4.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.
Files changed (46) hide show
  1. package/README.md +4 -0
  2. package/RELEASE.md +44 -0
  3. package/dist/abcjs-basic-min.js +2 -2
  4. package/dist/abcjs-basic.js +1028 -622
  5. package/dist/abcjs-basic.js.map +1 -1
  6. package/dist/abcjs-plugin-min.js +2 -2
  7. package/index.js +1 -0
  8. package/package.json +1 -1
  9. package/src/api/tune-metrics.js +18 -0
  10. package/src/data/abc_tune.js +13 -2
  11. package/src/edit/abc_editarea.js +4 -1
  12. package/src/parse/abc_parse.js +2 -0
  13. package/src/parse/abc_parse_directive.js +6 -0
  14. package/src/synth/abc_midi_flattener.js +40 -462
  15. package/src/synth/abc_midi_sequencer.js +25 -10
  16. package/src/synth/chord-track.js +562 -0
  17. package/src/synth/create-note-map.js +2 -1
  18. package/src/synth/create-synth.js +91 -42
  19. package/src/test/abc_parser_lint.js +1 -0
  20. package/src/write/creation/abstract-engraver.js +4 -1
  21. package/src/write/creation/decoration.js +3 -2
  22. package/src/write/creation/elements/tie-element.js +23 -0
  23. package/src/write/draw/draw.js +1 -1
  24. package/src/write/engraver-controller.js +9 -5
  25. package/src/write/interactive/create-analysis.js +50 -0
  26. package/src/write/interactive/find-selectable-element.js +24 -0
  27. package/src/write/interactive/selection.js +5 -45
  28. package/src/write/layout/layout-in-grid.js +83 -0
  29. package/src/write/layout/layout.js +29 -24
  30. package/src/write/layout/set-upper-and-lower-elements.js +2 -0
  31. package/src/write/layout/staff-group.js +2 -2
  32. package/src/write/layout/voice-elements.js +1 -1
  33. package/src/write/layout/voice.js +1 -1
  34. package/src/write/renderer.js +3 -0
  35. package/temp.txt +1 -48
  36. package/types/index.d.ts +96 -32
  37. package/version.js +1 -1
  38. package/abc2xml_239/abc2xml.html +0 -769
  39. package/abc2xml_239/abc2xml.py +0 -2248
  40. package/abc2xml_239/abc2xml_changelog.html +0 -124
  41. package/abc2xml_239/lazy-river.abc +0 -26
  42. package/abc2xml_239/lazy-river.xml +0 -3698
  43. package/abc2xml_239/mean-to-me.abc +0 -22
  44. package/abc2xml_239/mean-to-me.xml +0 -2954
  45. package/abc2xml_239/pyparsing.py +0 -3672
  46. package/abc2xml_239/pyparsing.pyc +0 -0
package/README.md CHANGED
@@ -10,6 +10,10 @@ Full documentation is here: [abcjs documentation](https://paulrosen.github.io/ab
10
10
 
11
11
  There is an organization that has a collection of useful projects related to abcjs called [abcjs-music](https://github.com/abcjs-music). See some examples there. If you have a project that you think would be of general interest and would like to add it to that organization, contact me.
12
12
 
13
+ ## Announcement: version 6.4.0
14
+
15
+ The method for creating chord accompaniment has changed. Hopefully there aren't any regressions but if you have an example that doesn't match what it used to be, please open an issue.
16
+
13
17
  ## Announcement: version 6.3.0
14
18
 
15
19
  Most users won't see any difference, but there was some changes to the underlying SVG structure for the top (the title, etc.) and bottom (the notes, etc.) text, so if your code depends on particular classes then this might be a breaking change. Hopefully the new structure will be clearer and will allow css to target particular parts easier.
package/RELEASE.md CHANGED
@@ -1,3 +1,47 @@
1
+ # Version 6.4.0
2
+
3
+ ## Features
4
+
5
+ * Support custom rhythm patterns in gChords
6
+
7
+ * Add swing to the playback
8
+
9
+ * Allow swing, bassprog, bassvol, chordprog, chordvol, and gchord to be set in the options, and also on the fly.
10
+
11
+ * Add findSelectableElement and getSelectableArray functions to help with hover.
12
+
13
+ * Add `drumOff` to the parameters so that the metronome can only be for the prep beats
14
+
15
+ * Allow an element to be passed into to the EditArea object in addition to an ID
16
+
17
+ * Add left alignment option ot time-based-layout
18
+
19
+ * Add timeBasedLayout parameter
20
+
21
+ * Add "stafftopmargin" directive
22
+
23
+ * Add tuneMetrics function
24
+
25
+ ## Bugs
26
+
27
+ * Fix linespacing when using both oneSvgPerLine and scale
28
+
29
+ * fix placement of inverted fermata
30
+
31
+ * Fix end points of slurs when there are beams involved
32
+
33
+ * Fix bug with cursor not following a tie across a line break.
34
+
35
+ * Improve spacing on time-based layout when left aligned
36
+
37
+ * fix line distance when scaling
38
+
39
+ * fix abcjs-staff class appearing in two places
40
+
41
+ * fix bug in gchord sound when bass and chord programs are different
42
+
43
+ * Many small fixes to types
44
+
1
45
  # Version 6.3.0
2
46
 
3
47
  ## Features