@dsebastien/music-notation 0.24.0 → 0.25.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 +3 -2
- package/dist/chord/simplify.d.ts +56 -0
- package/dist/chords/chart.d.ts +55 -3
- package/dist/chords/chordpro.d.ts +4 -0
- package/dist/chords/easier.d.ts +39 -0
- package/dist/i18n/en/index.d.ts +10 -0
- package/dist/i18n/en/parse.d.ts +2 -0
- package/dist/i18n/en/play.d.ts +8 -0
- package/dist/i18n/fr/parse.d.ts +2 -0
- package/dist/i18n/fr/play.d.ts +8 -0
- package/dist/i18n/language.d.ts +11 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +386 -20
- package/dist/index.js.map +17 -14
- package/dist/music-notation.publish.min.js +37 -37
- package/dist/music-notation.tab.min.js +2 -2
- package/dist/playback/controls.d.ts +4 -1
- package/dist/playback/guitar-tone.d.ts +10 -2
- package/dist/playback/progression-bar.d.ts +6 -1
- package/dist/playback/sound-menu.d.ts +21 -0
- package/dist/publish/index.js +381 -20
- package/dist/publish/index.js.map +17 -14
- package/dist/tab/index.js +28 -1
- package/dist/tab/index.js.map +7 -7
- package/dist/voicings/index.js +21 -1
- package/dist/voicings/index.js.map +6 -6
- package/package.json +1 -1
package/dist/tab/index.js
CHANGED
|
@@ -516,6 +516,7 @@ var enParse = {
|
|
|
516
516
|
"chords.chart.capo": "Capo {capo}",
|
|
517
517
|
"chords.chart.tempo": "{bpm} BPM",
|
|
518
518
|
"chords.chart.transposed": "Transposed {amount}",
|
|
519
|
+
"chords.chart.simplified": "Easier chords",
|
|
519
520
|
"chords.chart.sounds": "{title} (sounds {sounding})",
|
|
520
521
|
"chords.chart.moreNotDrawn": "{count} more chords not drawn (at most {max})",
|
|
521
522
|
"chords.chart.missing": "No diagram for {names}: give the shape with {how}",
|
|
@@ -530,6 +531,7 @@ var enParse = {
|
|
|
530
531
|
"chords.define.fingersCount": "{at}: fingers has {fingers} values for {strings} strings: give one per string (0 for none)",
|
|
531
532
|
"chords.define.reaches": "{at}: the shape reaches fret {top}: frets go up to {max}",
|
|
532
533
|
"chords.directive.diagrams": "{at}: use on, off, top or bottom",
|
|
534
|
+
"chords.directive.simplify": "{at}: use yes or no",
|
|
533
535
|
"chord.shape.open": "Open",
|
|
534
536
|
"chord.shape.caged": "{letter} shape",
|
|
535
537
|
"chord.shape.cagedStrings": "{letter} shape (strings {strings})",
|
|
@@ -569,7 +571,15 @@ var enPlay = {
|
|
|
569
571
|
"playback.click": "Click",
|
|
570
572
|
"playback.sound": "Sound",
|
|
571
573
|
"playback.guitar": "Guitar",
|
|
574
|
+
"playback.guitar.steel": "Guitar (steel)",
|
|
575
|
+
"playback.guitar.nylon": "Guitar (nylon)",
|
|
576
|
+
"playback.guitar.clean": "Guitar (clean)",
|
|
577
|
+
"playback.guitar.overdrive": "Guitar (overdrive)",
|
|
572
578
|
"playback.piano": "Piano",
|
|
579
|
+
"playback.simplify": "Simplify",
|
|
580
|
+
"playback.simplified": "Simplified",
|
|
581
|
+
"playback.simplify.hint": "Show easier chords",
|
|
582
|
+
"playback.simplified.hint": "Show the chords as written",
|
|
573
583
|
"playback.tempo": "Tempo (BPM)",
|
|
574
584
|
"playback.unit.bpm": "BPM",
|
|
575
585
|
"playback.unit.ms": "ms",
|
|
@@ -1071,6 +1081,7 @@ var frParse = {
|
|
|
1071
1081
|
"chords.chart.capo": "Capodastre {capo}",
|
|
1072
1082
|
"chords.chart.tempo": "{bpm} BPM",
|
|
1073
1083
|
"chords.chart.transposed": "Transposé de {amount}",
|
|
1084
|
+
"chords.chart.simplified": "Accords simplifiés",
|
|
1074
1085
|
"chords.chart.sounds": "{title} (sonne {sounding})",
|
|
1075
1086
|
"chords.chart.moreNotDrawn": "{count} accords de plus non dessinés (au plus {max})",
|
|
1076
1087
|
"chords.chart.missing": "Pas de diagramme pour {names} : donnez la forme avec {how}",
|
|
@@ -1085,6 +1096,7 @@ var frParse = {
|
|
|
1085
1096
|
"chords.define.fingersCount": "{at} : fingers a {fingers} valeurs pour {strings} cordes : donnez-en une par corde (0 pour aucune)",
|
|
1086
1097
|
"chords.define.reaches": "{at} : la forme atteint la case {top} : les cases vont jusqu'à {max}",
|
|
1087
1098
|
"chords.directive.diagrams": "{at} : utilisez on, off, top ou bottom",
|
|
1099
|
+
"chords.directive.simplify": "{at} : utilisez yes ou no",
|
|
1088
1100
|
"chord.shape.open": "Accord ouvert",
|
|
1089
1101
|
"chord.shape.caged": "forme {letter}",
|
|
1090
1102
|
"chord.shape.cagedStrings": "forme {letter} (cordes {strings})",
|
|
@@ -1124,7 +1136,15 @@ var frPlay = {
|
|
|
1124
1136
|
"playback.click": "Clic",
|
|
1125
1137
|
"playback.sound": "Son",
|
|
1126
1138
|
"playback.guitar": "Guitare",
|
|
1139
|
+
"playback.guitar.steel": "Guitare (folk)",
|
|
1140
|
+
"playback.guitar.nylon": "Guitare (classique)",
|
|
1141
|
+
"playback.guitar.clean": "Guitare (son clair)",
|
|
1142
|
+
"playback.guitar.overdrive": "Guitare (son saturé)",
|
|
1127
1143
|
"playback.piano": "Piano",
|
|
1144
|
+
"playback.simplify": "Simplifier",
|
|
1145
|
+
"playback.simplified": "Simplifié",
|
|
1146
|
+
"playback.simplify.hint": "Afficher des accords plus faciles",
|
|
1147
|
+
"playback.simplified.hint": "Afficher les accords écrits",
|
|
1128
1148
|
"playback.tempo": "Tempo (BPM)",
|
|
1129
1149
|
"playback.unit.bpm": "BPM",
|
|
1130
1150
|
"playback.unit.ms": "ms",
|
|
@@ -3024,6 +3044,13 @@ function blockGuitar(source, chart = false) {
|
|
|
3024
3044
|
function guitarWish(el) {
|
|
3025
3045
|
return guitarToneOf(el?.closest("[data-mn-guitar]")?.getAttribute("data-mn-guitar"));
|
|
3026
3046
|
}
|
|
3047
|
+
var CHOICE = "data-mn-guitar-choice";
|
|
3048
|
+
function guitarChoice(el) {
|
|
3049
|
+
return guitarToneOf(el?.closest(`[${CHOICE}]`)?.getAttribute(CHOICE));
|
|
3050
|
+
}
|
|
3051
|
+
function chooseGuitar(el, guitar) {
|
|
3052
|
+
(el.closest(".mn-block") ?? el).setAttribute(CHOICE, guitar);
|
|
3053
|
+
}
|
|
3027
3054
|
function pageGuitar(options) {
|
|
3028
3055
|
if (!options || typeof options !== "object" || !("play" in options))
|
|
3029
3056
|
return;
|
|
@@ -4863,5 +4890,5 @@ export {
|
|
|
4863
4890
|
textTabToAlphaTex
|
|
4864
4891
|
};
|
|
4865
4892
|
|
|
4866
|
-
//# debugId=
|
|
4893
|
+
//# debugId=21F24532A6AFD41364756E2164756E21
|
|
4867
4894
|
//# sourceMappingURL=index.js.map
|