abcjs 6.4.1 → 6.4.3

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 (48) hide show
  1. package/LICENSE.md +1 -1
  2. package/RELEASE.md +46 -0
  3. package/dist/abcjs-basic-min.js +2 -2
  4. package/dist/abcjs-basic-min.js.LICENSE +1 -1
  5. package/dist/abcjs-basic.js +1271 -1179
  6. package/dist/abcjs-basic.js.map +1 -1
  7. package/dist/abcjs-plugin-min.js +2 -2
  8. package/dist/abcjs-plugin-min.js.LICENSE +1 -1
  9. package/index.js +1 -1
  10. package/license.js +1 -1
  11. package/package.json +1 -1
  12. package/plugin.js +1 -1
  13. package/src/api/abc_tunebook.js +1 -2
  14. package/src/api/abc_tunebook_svg.js +0 -1
  15. package/src/data/abc_tune.js +2 -0
  16. package/src/midi/abc_midi_create.js +22 -7
  17. package/src/parse/abc_common.js +3 -11
  18. package/src/parse/abc_parse.js +1 -1
  19. package/src/parse/abc_parse_directive.js +44 -3
  20. package/src/parse/abc_parse_header.js +6 -4
  21. package/src/parse/abc_parse_key_voice.js +10 -6
  22. package/src/parse/abc_parse_music.js +54 -22
  23. package/src/parse/tune-builder.js +675 -643
  24. package/src/synth/abc_midi_flattener.js +3 -1
  25. package/src/synth/abc_midi_sequencer.js +18 -3
  26. package/src/synth/chord-track.js +90 -18
  27. package/src/synth/create-synth-control.js +1 -2
  28. package/src/tablatures/abc_tablatures.js +184 -0
  29. package/src/tablatures/instruments/string-patterns.js +266 -268
  30. package/src/tablatures/instruments/string-tablature.js +38 -35
  31. package/src/tablatures/instruments/tab-note.js +186 -181
  32. package/src/tablatures/instruments/tab-notes.js +30 -35
  33. package/src/tablatures/instruments/tab-string.js +43 -25
  34. package/src/tablatures/render/tab-absolute-elements.js +303 -0
  35. package/src/tablatures/render/tab-renderer.js +244 -0
  36. package/src/test/abc_parser_lint.js +2 -3
  37. package/src/write/creation/abstract-engraver.js +1 -1
  38. package/src/write/creation/elements/tie-element.js +26 -0
  39. package/src/write/engraver-controller.js +1 -1
  40. package/src/write/layout/set-upper-and-lower-elements.js +8 -0
  41. package/test.js +1 -1
  42. package/types/index.d.ts +2 -2
  43. package/version.js +1 -1
  44. package/src/api/abc_tablatures.js +0 -184
  45. package/src/tablatures/instruments/tab-string-patterns.js +0 -23
  46. package/src/tablatures/tab-absolute-elements.js +0 -301
  47. package/src/tablatures/tab-common.js +0 -29
  48. package/src/tablatures/tab-renderer.js +0 -259
package/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2023 Paul Rosen and Gregory Dyke
1
+ Copyright (c) 2009-2024 Paul Rosen and Gregory Dyke
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
package/RELEASE.md CHANGED
@@ -1,3 +1,49 @@
1
+ # Version 6.4.3
2
+
3
+ ## Bugs
4
+
5
+ * If there is a slur or tie on the top or bottom of a line, make sure there is room for it.
6
+
7
+ * Fix for crash on malformed @ positioned annotations
8
+
9
+ * Fix call of getBpm() to use the specified tempo if it isn't supplied.
10
+
11
+ * Bring bass note in range if transposed out-of-range by a visual transpose
12
+
13
+ # Version 6.4.2
14
+
15
+ ## Bugs
16
+
17
+ * Fix crash when there is a decoration on an invisible rest
18
+
19
+ * Fix crash when the same voice is set on a line
20
+
21
+ * Fix crash with rests in graces
22
+
23
+ * Fix crash with decoration on invisible rests
24
+
25
+ * Fix various crashes when declaring voices inline or after a line continuation
26
+
27
+ * Fix for */8 rhythm tempos for MIDI export
28
+
29
+ * Allow a midi volume of zero to mute a voice
30
+
31
+ * Fix bug in selecting the correct note for chord arpeggios
32
+
33
+ * Fix stemless chord parsing i.e. `[AB]0`
34
+
35
+ * Don't put lower decorations too low on beamed notes that are beamed up
36
+
37
+ ## Features
38
+
39
+ * add power chords
40
+
41
+ * add patterns for 5/8, 7/8, 10/8 and 11/8
42
+
43
+ * Add octave= parameter to bassprog and chordprog
44
+
45
+ * allow an empty gchord to cancel a previously set gchord
46
+
1
47
  # Version 6.4.1
2
48
 
3
49
  ## Bugs