@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 CHANGED
@@ -158,11 +158,12 @@ if (!result.ok) console.warn(result.error)
158
158
 
159
159
  - `renderBlock(language, source, host, options)` appends the rendering to `host` and never throws. It returns `{ ok, el, error, destroy() }`.
160
160
  - `@dsebastien/music-notation/voicings` adds about 1,800 guitar voicings, found by chord symbol (`chord` blocks with only a symbol). It's a separate entry point because the data weighs about 230 KB.
161
- - **Hear the diagrams**: with the `play` option, a click on a diagram plays it and a click on a dot or a key plays that note; one bar under each block plays the selected diagram or all of them in turn, with loop, speed and the sound (the volume is the app's setting). Guitar chords strum, piano chords strike as a block, scales run from their tonic up and back. Four guitars can play them: a steel-string acoustic (the default), a classical, a clean electric or an overdriven electric guitar (`guitar: nylon` in a block, or the app's choice). While it plays, each note lights up on the drawing when you hear it.
161
+ - **Hear the diagrams**: with the `play` option, a click on a diagram plays it and a click on a dot or a key plays that note; one bar under each block plays the selected diagram or all of them in turn, with loop, speed and the sound (the volume is the app's setting). Guitar chords strum, piano chords strike as a block, scales run from their tonic up and back. Four guitars can play them: a steel-string acoustic (the default), a classical, a clean electric or an overdriven electric guitar (the reader's pick in the bar's Sound menu, `guitar: nylon` in a block, or the app's choice, in that order). While it plays, each note lights up on the drawing when you hear it.
162
162
  - **Strumming patterns**: `strum` blocks draw a pattern (`D DU UDU`, `D - D U - U D U`) on a beat grid with counts, accents, muted and ghost strums and chord changes; with playback on, they play over their chords, with loop, tempo and a count-in. `playStrum(pattern, { bpm, chord, tuning })` plays one from code.
163
163
  - **Practice in time**: `progression` blocks and ChordPro charts get a bar that plays their chords in time, one chord a bar (or as a chart's bar lines say), with a metronome click, a count-in and a loop. Each chord is strummed on the beats, once a bar, as an arpeggio or to a strumming pattern, and the chord playing lights up. `playProgression(chords, { bpm, strum, pattern, click, countIn, loop })` does it from code, with your own player.
164
164
  - **Harmonize a scale**: a `progression` block with `harmonize: triads`, `sevenths`, `sus` or `power` and any 7-note scale as its `key:` (`A harmonic minor`, `D dorian`) draws the chord on each degree with its numeral and a diagram, ready to play in time. `harmonize(scale, { kind })` gives the same chords from code.
165
165
  - **Capo**: a capo bar on any guitar chord or fretboard, with the chord it sounds in the caption (`sounds: yes`) or in the title (`sounds: title`: an Em shape with `capo: 3` is "Gm (Em shape)").
166
+ - **Easier chord charts**: `{simplify}` in a guitar chart draws an easier chord of the same family where there is one (Cmaj9 becomes Cmaj7, G5 becomes G), and `{capo: auto}` finds the capo that turns the most chords into open shapes (A D E F#m: capo 2, G C D Em). The **Simplify** switch on the chart's bar turns the easier chords on and off, without changing the source. `simplifyChord(symbol)`, `bestCapo(chords)` and `easierChart(song)` do it from code.
166
167
  - **Fingering in words**: `caption: fingering` writes how to play a chord under its diagram, in `chord` and `progression` blocks (guitar and piano).
167
168
  - **Formulas**: `caption: formula` writes a chord's notes, formula (1 b3 5 b7), quality in words and other symbols, or a scale's notes, formula and steps (W W H), under chord diagrams, keyboards and fretboards (`chordFormula`, `scaleFormula`).
168
169
  - **Accessible diagrams**: every diagram has a description for screen readers (the fingering in words, the keys, the notes on each string), and `root-mark: shape` (or the `rootMark` option) draws the root as a shape too, not only a color.
@@ -191,7 +192,7 @@ Add this to your site's `publish.js`. It loads the bundle only on pages that hav
191
192
 
192
193
  ```js
193
194
  ;(() => {
194
- const VERSION = '0.23.1'
195
+ const VERSION = '0.24.0'
195
196
  const CDN = `https://cdn.jsdelivr.net/npm/@dsebastien/music-notation@${VERSION}/dist`
196
197
  const selector = (languages) => languages.map((l) => `pre > code.language-${l}`).join(', ')
197
198
  const BLOCKS = selector([
@@ -0,0 +1,56 @@
1
+ export interface EasierOptions {
2
+ /** Open-string pitches (MIDI), lowest string first; standard guitar by default. */
3
+ tuning?: number[];
4
+ }
5
+ /** An easier chord of a chord's family. */
6
+ export interface EasierChord {
7
+ symbol: string;
8
+ /** Its easiest voicing, lowest string first (null: muted), and how hard it is (lower is easier). */
9
+ frets: (number | null)[];
10
+ difficulty: number;
11
+ }
12
+ /**
13
+ * The chords of a chord's family that are easier to play than the chord itself, the easiest
14
+ * first (the nearest to the chord when two are as easy): Cmaj9 → Cmaj7; G5 → G; E9 → E7, E;
15
+ * Bm7b5 → Bm7. Empty when nothing plainer is easier (Am7, F#) or the symbol isn't a chord.
16
+ */
17
+ export declare function simplifyChord(symbol: string, options?: EasierOptions): EasierChord[];
18
+ /** The easiest chord of a chord's family: the chord itself when nothing plainer is easier. */
19
+ export declare function easierChord(symbol: string, options?: EasierOptions): string;
20
+ export interface CapoOptions extends EasierOptions {
21
+ /** The highest capo fret tried, 7 by default (0 to 12). */
22
+ maxCapo?: number;
23
+ }
24
+ /** A chord of the song with a capo on: the shape to play. */
25
+ export interface CapoShape {
26
+ /** The chord as it sounds. */
27
+ chord: string;
28
+ /** The chord shape to play behind the capo ("G" for an A with a capo on 2). */
29
+ shape: string;
30
+ /** The shape's easiest voicing, counted from the capo; null when nothing plays it. */
31
+ frets: (number | null)[] | null;
32
+ /** An open shape (first position, with open strings). */
33
+ open: boolean;
34
+ difficulty: number;
35
+ }
36
+ /** A capo fret (0: no capo) and what the song's chords become with it. */
37
+ export interface CapoChoice {
38
+ capo: number;
39
+ shapes: CapoShape[];
40
+ /** How many of the chords are open shapes. */
41
+ open: number;
42
+ /** The shapes' difficulties added up (lower is easier). */
43
+ difficulty: number;
44
+ }
45
+ /**
46
+ * Every capo fret from 0 to `maxCapo` for a song's chords (as they sound, without a capo), the
47
+ * best first: the most open shapes, then the least effort (the shapes' difficulties, plus half a
48
+ * point a capo fret), then the lowest fret. Each chord counts once; text that isn't a chord is
49
+ * left out. Empty when no chord reads.
50
+ */
51
+ export declare function capoChoices(chords: readonly string[], options?: CapoOptions): CapoChoice[];
52
+ /**
53
+ * The capo fret that lets the most of a song's chords be played as open shapes, with the shapes
54
+ * to play (fret 0 when no capo does better). Null when no chord reads.
55
+ */
56
+ export declare function bestCapo(chords: readonly string[], options?: CapoOptions): CapoChoice | null;
@@ -2,6 +2,7 @@ import type { Segment, Song } from './chordpro.js';
2
2
  import type { Hand, LayoutDefaults } from '../render/layout.js';
3
3
  import type { VoicingLookup } from '../voicings/index.js';
4
4
  import { type ChartInstrument } from './chart-diagrams.js';
5
+ import type { CapoChoice } from '../chord/simplify.js';
5
6
  export interface ChartOptions {
6
7
  /** Semitones added to the song's own `{transpose}`. */
7
8
  transpose?: number;
@@ -18,6 +19,11 @@ export interface ChartOptions {
18
19
  orientation?: LayoutDefaults['orientation'];
19
20
  /** Left-handed guitar diagrams. */
20
21
  hand?: Hand;
22
+ /**
23
+ * Easier chords (#45): `true` draws them, `false` draws the chords as written; by default the
24
+ * song's own `{simplify}`.
25
+ */
26
+ simplify?: boolean;
21
27
  }
22
28
  /** A step of a measured line (#75): a chord and its beats, a held bar, or a bar of silence. */
23
29
  export type LineStep = {
@@ -44,6 +50,43 @@ export declare function lineBeats(segments: readonly Segment[], playable: (chord
44
50
  measured: boolean;
45
51
  steps: LineStep[];
46
52
  };
53
+ /** What the easier version of a chart is (#45), for an app that shows it or writes it. */
54
+ export interface EasierChart {
55
+ /** The chords made easier, as the chart shows them, in order of first appearance. */
56
+ easier: {
57
+ from: string;
58
+ to: string;
59
+ }[];
60
+ /**
61
+ * The best capo for the chart's chords (the easier ones when `simplify` is on), with the
62
+ * shapes to play; fret 0 when no capo does better; null when no capo was asked or no chord
63
+ * reads.
64
+ */
65
+ capo: CapoChoice | null;
66
+ /**
67
+ * Each chord of the lyrics that changes, as the song writes it → as its easier version writes
68
+ * it: an easier chord with the song's own root, or a capo's shape.
69
+ */
70
+ renames: Map<string, string>;
71
+ /**
72
+ * What the easier version's `{transpose}` and `{key}` are. They differ from the song's only
73
+ * with a capo above 0: its chords are written as shown, so the song's transposition is taken
74
+ * out of them and put into the key.
75
+ */
76
+ transpose: number;
77
+ key: string | null;
78
+ }
79
+ /**
80
+ * What `{simplify}` and `{capo: auto}` do to a song, as data (#45): the chart's own wishes by
81
+ * default, or `simplify` and `capo` (find the best capo) as given, so an app can show what each
82
+ * would change before it writes anything. Guitar charts only: nothing changes on a piano chart.
83
+ */
84
+ export declare function easierChart(given: Song, options?: {
85
+ simplify?: boolean;
86
+ capo?: boolean;
87
+ transpose?: number;
88
+ instrument?: ChartInstrument;
89
+ }): EasierChart;
47
90
  /** What a chart plays in time (#75): its chords as shown, a chord's beats when not a bar. */
48
91
  export interface ChartChords {
49
92
  /**
@@ -62,11 +105,20 @@ export interface ChartChords {
62
105
  }
63
106
  /**
64
107
  * The chords a chart plays in time, as its play bar plays them (#75): transposed like the chart
65
- * (`transpose` adds to the song's own), a bar each, or as its bar lines say. A chord that doesn't
108
+ * (`transpose` adds to the song's own), easier like the chart (`simplify`, by default the song's
109
+ * `{simplify}`; the shapes of `{capo: auto}`; guitar charts), a bar each, or as its bar lines say. A chord that doesn't
66
110
  * read (N.C.) is left out; `{define}` names play. Pass `chords` and the meter to
67
111
  * `playProgression`.
68
112
  */
69
- export declare function chartChords(song: Song, options?: {
113
+ export declare function chartChords(given: Song, options?: {
70
114
  transpose?: number;
115
+ simplify?: boolean;
116
+ instrument?: ChartInstrument;
71
117
  }): ChartChords;
72
- export declare function renderChart(doc: Document, song: Song, options?: ChartOptions): HTMLElement;
118
+ /**
119
+ * Draws a chart again with its easier chords (`true`) or as written (`false`), for the switch of
120
+ * its bar (#45); null for a chart that has no easier chord, and for an element that is no chart.
121
+ * The caller draws under the block's language and naming.
122
+ */
123
+ export declare function chartRedrawOf(chart: Element): ((simplify: boolean) => HTMLElement) | null;
124
+ export declare function renderChart(doc: Document, given: Song, options?: ChartOptions): HTMLElement;
@@ -47,6 +47,10 @@ export interface Song {
47
47
  diagrams: 'top' | 'bottom' | 'off' | null;
48
48
  /** `{instrument: piano}` (not part of ChordPro): which diagrams the chart draws. */
49
49
  instrument: 'guitar' | 'piano' | null;
50
+ /** `{simplify}` (not part of ChordPro, #45): the chart draws easier chords where it finds some. */
51
+ simplify?: boolean;
52
+ /** `{capo: auto}` (#45): the chords are as they sound, and the chart finds the best capo. */
53
+ capoAuto?: boolean;
50
54
  /** Directives the chart couldn't read, each with what to write instead. */
51
55
  warnings: string[];
52
56
  }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * The easier version of a ChordPro song (#45): `{simplify}` swaps a chord for an easier chord of
3
+ * its family, `{capo: auto}` finds the capo that makes the most chords open shapes and writes the
4
+ * shapes. The song given is never changed: the chart draws a copy with other chord names.
5
+ */
6
+ import type { Song } from './chordpro.js';
7
+ import { type CapoChoice } from '../chord/simplify.js';
8
+ export interface EasierSong {
9
+ /** The song to draw: the song given when nothing changes. */
10
+ song: Song;
11
+ /** The chords made easier, as the chart shows them: from the chord written to the easier one. */
12
+ easier: {
13
+ from: string;
14
+ to: string;
15
+ }[];
16
+ /** Whether `simplify` finds an easier chord for a chord of the song. */
17
+ canSimplify: boolean;
18
+ /** The capo `{capo: auto}` found; null when the song doesn't ask or no capo does better. */
19
+ capo: number | null;
20
+ /**
21
+ * What `{capo: auto}` found, with the shapes to play, also when it is no capo (fret 0); null
22
+ * when the song doesn't ask or none of its chords reads.
23
+ */
24
+ choice: CapoChoice | null;
25
+ }
26
+ /**
27
+ * The song a chart draws. `shownOf` gives a written chord as the chart shows it (transposed by
28
+ * `semitones`). Guitar charts only: a piano chart comes back as it is. A chord with its own
29
+ * `{define}` keeps the shape its author gave it, so it is not simplified.
30
+ *
31
+ * Easier chords keep their root, so the copy writes them with the song's own roots and the chart
32
+ * transposes them as before. A capo's shapes are other chords: the copy then holds every chord as
33
+ * the chart shows it, with the song's transposition taken out of it (and put into its key), so no
34
+ * chord is transposed twice.
35
+ */
36
+ export declare function easierSong(song: Song, shownOf: (written: string) => string, semitones: number, options: {
37
+ simplify: boolean;
38
+ guitar: boolean;
39
+ }): EasierSong;
@@ -11,7 +11,15 @@ export declare const en: {
11
11
  readonly 'playback.click': "Click";
12
12
  readonly 'playback.sound': "Sound";
13
13
  readonly 'playback.guitar': "Guitar";
14
+ readonly 'playback.guitar.steel': "Guitar (steel)";
15
+ readonly 'playback.guitar.nylon': "Guitar (nylon)";
16
+ readonly 'playback.guitar.clean': "Guitar (clean)";
17
+ readonly 'playback.guitar.overdrive': "Guitar (overdrive)";
14
18
  readonly 'playback.piano': "Piano";
19
+ readonly 'playback.simplify': "Simplify";
20
+ readonly 'playback.simplified': "Simplified";
21
+ readonly 'playback.simplify.hint': "Show easier chords";
22
+ readonly 'playback.simplified.hint': "Show the chords as written";
15
23
  readonly 'playback.tempo': "Tempo (BPM)";
16
24
  readonly 'playback.unit.bpm': "BPM";
17
25
  readonly 'playback.unit.ms': "ms";
@@ -493,6 +501,7 @@ export declare const en: {
493
501
  readonly 'chords.chart.capo': "Capo {capo}";
494
502
  readonly 'chords.chart.tempo': "{bpm} BPM";
495
503
  readonly 'chords.chart.transposed': "Transposed {amount}";
504
+ readonly 'chords.chart.simplified': "Easier chords";
496
505
  readonly 'chords.chart.sounds': "{title} (sounds {sounding})";
497
506
  readonly 'chords.chart.moreNotDrawn': "{count} more chords not drawn (at most {max})";
498
507
  readonly 'chords.chart.missing': "No diagram for {names}: give the shape with {how}";
@@ -507,6 +516,7 @@ export declare const en: {
507
516
  readonly 'chords.define.fingersCount': "{at}: fingers has {fingers} values for {strings} strings: give one per string (0 for none)";
508
517
  readonly 'chords.define.reaches': "{at}: the shape reaches fret {top}: frets go up to {max}";
509
518
  readonly 'chords.directive.diagrams': "{at}: use on, off, top or bottom";
519
+ readonly 'chords.directive.simplify': "{at}: use yes or no";
510
520
  readonly 'chord.shape.open': "Open";
511
521
  readonly 'chord.shape.caged': "{letter} shape";
512
522
  readonly 'chord.shape.cagedStrings': "{letter} shape (strings {strings})";
@@ -209,6 +209,7 @@ export declare const enParse: {
209
209
  readonly 'chords.chart.capo': "Capo {capo}";
210
210
  readonly 'chords.chart.tempo': "{bpm} BPM";
211
211
  readonly 'chords.chart.transposed': "Transposed {amount}";
212
+ readonly 'chords.chart.simplified': "Easier chords";
212
213
  readonly 'chords.chart.sounds': "{title} (sounds {sounding})";
213
214
  readonly 'chords.chart.moreNotDrawn': "{count} more chords not drawn (at most {max})";
214
215
  readonly 'chords.chart.missing': "No diagram for {names}: give the shape with {how}";
@@ -223,6 +224,7 @@ export declare const enParse: {
223
224
  readonly 'chords.define.fingersCount': "{at}: fingers has {fingers} values for {strings} strings: give one per string (0 for none)";
224
225
  readonly 'chords.define.reaches': "{at}: the shape reaches fret {top}: frets go up to {max}";
225
226
  readonly 'chords.directive.diagrams': "{at}: use on, off, top or bottom";
227
+ readonly 'chords.directive.simplify': "{at}: use yes or no";
226
228
  readonly 'chord.shape.open': "Open";
227
229
  readonly 'chord.shape.caged': "{letter} shape";
228
230
  readonly 'chord.shape.cagedStrings': "{letter} shape (strings {strings})";
@@ -12,7 +12,15 @@ export declare const enPlay: {
12
12
  readonly 'playback.click': "Click";
13
13
  readonly 'playback.sound': "Sound";
14
14
  readonly 'playback.guitar': "Guitar";
15
+ readonly 'playback.guitar.steel': "Guitar (steel)";
16
+ readonly 'playback.guitar.nylon': "Guitar (nylon)";
17
+ readonly 'playback.guitar.clean': "Guitar (clean)";
18
+ readonly 'playback.guitar.overdrive': "Guitar (overdrive)";
15
19
  readonly 'playback.piano': "Piano";
20
+ readonly 'playback.simplify': "Simplify";
21
+ readonly 'playback.simplified': "Simplified";
22
+ readonly 'playback.simplify.hint': "Show easier chords";
23
+ readonly 'playback.simplified.hint': "Show the chords as written";
16
24
  readonly 'playback.tempo': "Tempo (BPM)";
17
25
  readonly 'playback.unit.bpm': "BPM";
18
26
  readonly 'playback.unit.ms': "ms";
@@ -209,6 +209,7 @@ export declare const frParse: {
209
209
  readonly 'chords.chart.capo': "Capodastre {capo}";
210
210
  readonly 'chords.chart.tempo': "{bpm} BPM";
211
211
  readonly 'chords.chart.transposed': "Transposé de {amount}";
212
+ readonly 'chords.chart.simplified': "Accords simplifiés";
212
213
  readonly 'chords.chart.sounds': "{title} (sonne {sounding})";
213
214
  readonly 'chords.chart.moreNotDrawn': "{count} accords de plus non dessinés (au plus {max})";
214
215
  readonly 'chords.chart.missing': "Pas de diagramme pour {names} : donnez la forme avec {how}";
@@ -223,6 +224,7 @@ export declare const frParse: {
223
224
  readonly 'chords.define.fingersCount': "{at} : fingers a {fingers} valeurs pour {strings} cordes : donnez-en une par corde (0 pour aucune)";
224
225
  readonly 'chords.define.reaches': "{at} : la forme atteint la case {top} : les cases vont jusqu'à {max}";
225
226
  readonly 'chords.directive.diagrams': "{at} : utilisez on, off, top ou bottom";
227
+ readonly 'chords.directive.simplify': "{at} : utilisez yes ou no";
226
228
  readonly 'chord.shape.open': "Accord ouvert";
227
229
  readonly 'chord.shape.caged': "forme {letter}";
228
230
  readonly 'chord.shape.cagedStrings': "forme {letter} (cordes {strings})";
@@ -12,7 +12,15 @@ export declare const frPlay: {
12
12
  readonly 'playback.click': "Clic";
13
13
  readonly 'playback.sound': "Son";
14
14
  readonly 'playback.guitar': "Guitare";
15
+ readonly 'playback.guitar.steel': "Guitare (folk)";
16
+ readonly 'playback.guitar.nylon': "Guitare (classique)";
17
+ readonly 'playback.guitar.clean': "Guitare (son clair)";
18
+ readonly 'playback.guitar.overdrive': "Guitare (son saturé)";
15
19
  readonly 'playback.piano': "Piano";
20
+ readonly 'playback.simplify': "Simplifier";
21
+ readonly 'playback.simplified': "Simplifié";
22
+ readonly 'playback.simplify.hint': "Afficher des accords plus faciles";
23
+ readonly 'playback.simplified.hint': "Afficher les accords écrits";
16
24
  readonly 'playback.tempo': "Tempo (BPM)";
17
25
  readonly 'playback.unit.bpm': "BPM";
18
26
  readonly 'playback.unit.ms': "ms";
@@ -13,7 +13,15 @@ export declare const TABLES: {
13
13
  readonly 'playback.click': "Click";
14
14
  readonly 'playback.sound': "Sound";
15
15
  readonly 'playback.guitar': "Guitar";
16
+ readonly 'playback.guitar.steel': "Guitar (steel)";
17
+ readonly 'playback.guitar.nylon': "Guitar (nylon)";
18
+ readonly 'playback.guitar.clean': "Guitar (clean)";
19
+ readonly 'playback.guitar.overdrive': "Guitar (overdrive)";
16
20
  readonly 'playback.piano': "Piano";
21
+ readonly 'playback.simplify': "Simplify";
22
+ readonly 'playback.simplified': "Simplified";
23
+ readonly 'playback.simplify.hint': "Show easier chords";
24
+ readonly 'playback.simplified.hint': "Show the chords as written";
17
25
  readonly 'playback.tempo': "Tempo (BPM)";
18
26
  readonly 'playback.unit.bpm': "BPM";
19
27
  readonly 'playback.unit.ms': "ms";
@@ -495,6 +503,7 @@ export declare const TABLES: {
495
503
  readonly 'chords.chart.capo': "Capo {capo}";
496
504
  readonly 'chords.chart.tempo': "{bpm} BPM";
497
505
  readonly 'chords.chart.transposed': "Transposed {amount}";
506
+ readonly 'chords.chart.simplified': "Easier chords";
498
507
  readonly 'chords.chart.sounds': "{title} (sounds {sounding})";
499
508
  readonly 'chords.chart.moreNotDrawn': "{count} more chords not drawn (at most {max})";
500
509
  readonly 'chords.chart.missing': "No diagram for {names}: give the shape with {how}";
@@ -509,6 +518,7 @@ export declare const TABLES: {
509
518
  readonly 'chords.define.fingersCount': "{at}: fingers has {fingers} values for {strings} strings: give one per string (0 for none)";
510
519
  readonly 'chords.define.reaches': "{at}: the shape reaches fret {top}: frets go up to {max}";
511
520
  readonly 'chords.directive.diagrams': "{at}: use on, off, top or bottom";
521
+ readonly 'chords.directive.simplify': "{at}: use yes or no";
512
522
  readonly 'chord.shape.open': "Open";
513
523
  readonly 'chord.shape.caged': "{letter} shape";
514
524
  readonly 'chord.shape.cagedStrings': "{letter} shape (strings {strings})";
@@ -533,7 +543,7 @@ export declare const TABLES: {
533
543
  readonly 'theory.marks.different': ", different from the compared scale: {notes}";
534
544
  readonly 'theory.marks.chordTones': ", chord tones: {notes}";
535
545
  };
536
- readonly fr: Record<"playback.bar" | "playback.diagram" | "playback.place" | "playback.playItem" | "playback.playAll" | "playback.play" | "playback.stop" | "playback.loop" | "playback.countIn" | "playback.click" | "playback.sound" | "playback.guitar" | "playback.piano" | "playback.tempo" | "playback.unit.bpm" | "playback.unit.ms" | "playback.strum" | "playback.dotted" | "playback.strumPattern.bar" | "playback.picking.bar" | "playback.progression.bar" | "playback.progression.play" | "playback.strumChoice" | "playback.strum.beats" | "playback.strum.bar" | "playback.strum.arpeggio" | "playback.strum.pattern" | "playback.copy.button" | "playback.copy.hint" | "playback.copy.bar" | "playback.copy.copied" | "playback.copy.refused" | "playback.copy.unsupported" | "playback.copy.failed" | "playback.full.enter" | "playback.full.exit" | "playback.redraw.sounds" | "playback.redraw.guitar" | "playback.redraw.piano" | "playback.engine.invalid" | "playback.guitar.invalid" | "tab.source.staves" | "tab.source.layout" | "tab.source.names" | "tab.source.tracks" | "tab.source.empty" | "tab.sound.loadFailed" | "tab.error.at" | "tab.error.textTab" | "tab.error.fileRead" | "tab.error.fileMissing" | "tab.error.fileUnknown" | "tab.player.cantPlay" | "tab.player.metronome" | "tab.player.pause" | "tab.names" | "tab.follow" | "tab.followPaused" | "tab.view.group" | "tab.view.tab" | "tab.view.score" | "tab.view.both" | "tab.view.whatTab" | "tab.view.whatScore" | "tab.view.whatBoth" | "tab.view.drawAs" | "tab.view.drawAsWritten" | "tab.view.drawAsDefault" | "tab.view.keep" | "tab.view.keepTitle" | "tab.tempo.group" | "tab.tempo.slower" | "tab.tempo.faster" | "tab.tempo.toPercent" | "tab.tempo.toBpm" | "tab.tempo.reset" | "tab.tempo.inBpm" | "tab.tempo.inPercent" | "tab.tempo.title" | "tab.tempo.speedTitle" | "strum.time.invalid" | "strum.swing.invalid" | "strum.subdivision.invalid" | "strum.triplets.quarterBeat68" | "strum.triplets.quarterBeat" | "strum.subdivision.tooLong" | "strum.chord.notRecognizedTry" | "strum.chord.empty" | "strum.chord.notRecognized" | "strum.line.bracketMissing" | "strum.line.barInGhost" | "strum.line.accentAndGhost" | "strum.line.ghostNested" | "strum.line.parenUnopened" | "strum.help" | "strum.line.notUnderstood" | "strum.line.accentNeedsStrum" | "strum.line.ghostNoRests" | "strum.line.parenUnclosed" | "strum.line.chordEndsPattern" | "strum.pattern.chordLineAlone" | "strum.pattern.missing" | "strum.key.unknown" | "strum.swing.withTriplets" | "strum.swing.compound" | "strum.swing.oneSlot" | "strum.tempo.invalid" | "strum.bars.tooMany" | "strum.chord.pastEnd" | "strum.count.bar.one" | "strum.count.bar.other" | "strum.count.slot.one" | "strum.count.slot.other" | "strum.count.barsAndSlots" | "strum.count.spill" | "strum.count.spillOrTime" | "strum.count.mismatch" | "strum.count.alternative.first" | "strum.count.alternative.next" | "strum.count.alternative.last" | "strum.note.one" | "strum.note.other" | "strum.feel.swing" | "strum.feel.swingPercent" | "strum.feel.swing16" | "strum.feel.swing16Percent" | "strum.name" | "strum.name.titled" | "strum.name.feel" | "strum.tuning.unknown" | "strum.tuning.tooManyStrings" | "strum.tuning.unknownGiven" | "picking.help" | "picking.token.notUnderstood" | "picking.string.missing" | "picking.bar.slots" | "picking.bar.betweenBarLines" | "picking.key.unknown" | "picking.swing.pairs" | "picking.tempo.invalid" | "picking.pattern.twice" | "picking.pattern.missing" | "picking.chords.tooMany" | "picking.tuning.unknown" | "picking.name" | "picking.name.titled" | "picking.name.over" | "picking.voicing.none" | "export.image.title" | "render.layout.orientation" | "render.layout.hand" | "render.rootMark.invalid" | "render.rootListsOnly" | "render.unknownChord" | "render.tuning" | "render.yesNo" | "render.hand.left" | "render.hand.right" | "render.positions.exerciseOne" | "render.positions.needsSet" | "render.positions.arpeggioCaged" | "render.positions.range" | "render.positions.fromMinor" | "render.positions.arpeggioTitle" | "render.positions.shapeTitle" | "render.positions.npsTitle" | "render.positions.boxTitle" | "render.fingering.handTitle" | "render.voicings.notBoth" | "render.voicings.fretted" | "render.voicings.noFrets" | "render.voicings.needsChord" | "render.voicings.instrument" | "render.voicings.maxStrings" | "render.voicings.count" | "render.voicings.area" | "render.voicings.rootString" | "render.voicings.inversion" | "render.voicings.manyStringsAny" | "render.voicings.wideArea" | "render.voicings.oneWidening" | "render.noVoicing.gaps" | "render.noVoicing.rootString" | "render.noVoicing.inversion" | "render.noVoicing.bass" | "render.noVoicing.none" | "render.triads.noFrets" | "render.triads.fretted" | "render.triads.strings" | "render.triads.inversion" | "render.triads.keyInversion" | "render.triads.key" | "render.triads.needsChord" | "render.triads.notTriad" | "render.triads.none" | "render.transitions.needsFrom" | "render.transitions.fretted" | "render.transitions.notBoth" | "render.transitions.refused" | "render.transitions.maxStrings" | "render.transitions.twoChords" | "render.transitions.maxChords" | "render.transitions.noVoicings" | "render.transitions.needsTo" | "render.transitions.noHeld" | "render.transitions.stringCount" | "render.transitions.count" | "render.transitions.noTarget" | "render.modes.none" | "render.modes.refused" | "render.row.notShared" | "render.row.columns" | "render.row.needsDiagram" | "render.row.max" | "render.row.columnsShared" | "render.row.ownRow" | "render.row.exercise" | "render.row.diagram" | "render.row.sharedHint" | "fretboard.capo" | "fretboard.title" | "fretboard.note.open" | "fretboard.note.fret" | "fretboard.note.root" | "fretboard.string" | "fretboard.pick.open" | "fretboard.pick.fret" | "fretboard.exercise.direction" | "fretboard.exercise.rhythm" | "fretboard.exercise.scale" | "fretboard.exercise.chord" | "fretboard.exercise.needsSet" | "fretboard.exercise.arpeggioCaged" | "fretboard.exercise.positions" | "fretboard.exercise.tuning" | "fretboard.exercise.capo" | "fretboard.positions.numbering" | "fretboard.positions.numberingPentatonic" | "fretboard.positions.numberingCaged" | "fretboard.positions.position" | "fretboard.positions.shape" | "keyboard.fingering.finger" | "keyboard.fingering.autoNeedsScale" | "keyboard.fingering.autoUnknown" | "keyboard.piano.shell" | "keyboard.piano.rootless" | "keyboard.piano.octave" | "keyboard.piano.inversion" | "keyboard.piano.slashInversion" | "keyboard.piano.inversionStyle" | "keyboard.piano.inversionMax" | "keyboard.piano.open" | "keyboard.piano.offKeys" | "keyboard.piano.inversionWord" | "keyboard.piano.octaveMiddle" | "keyboard.piano.voicing" | "keyboard.piano.key" | "keyboard.piano.resolvesTo" | "keyboard.piano.hands" | "keyboard.title" | "keyboard.hand" | "keyboard.handMark.left" | "keyboard.handMark.right" | "keyboard.whiteKey" | "keyboard.blackKey" | "keyboard.lit.root" | "keyboard.lit.finger" | "keyboard.lit.keys" | "circle.label" | "circle.or" | "circle.mode.major" | "circle.mode.minor" | "circle.mode.ionian" | "circle.mode.dorian" | "circle.mode.phrygian" | "circle.mode.lydian" | "circle.mode.mixolydian" | "circle.mode.aeolian" | "circle.mode.locrian" | "circle.key" | "circle.mode" | "circle.modeTwice" | "circle.chords" | "circle.dominant" | "keyboard.piano.unknownChord" | "blocks.source.expected" | "blocks.source.strings" | "blocks.caption.fingeringChordOnly" | "blocks.caption.useAll" | "blocks.caption.useFormula" | "blocks.noteSet.chordOrArpeggio" | "blocks.noteSet.invalidRoot" | "blocks.noteSet.notAList" | "blocks.noteSet.addNotesForRoot" | "blocks.noteSet.addRoot" | "blocks.noteSet.addSource" | "blocks.noteSet.rootListsOnlyScale" | "blocks.noteSet.rootListsOnlyChord" | "blocks.noteSet.unknownLabelsFingers" | "blocks.noteSet.unknownLabels" | "blocks.noteSet.invalidNotes" | "blocks.noteSet.unknownScale" | "blocks.noteSet.unknownChord" | "blocks.noteSet.notAScaleChordOrList" | "blocks.noteSet.highlightNeedsIntervals" | "blocks.noteSet.notInSet" | "theory.key.needsSharps" | "theory.key.needsFlats" | "theory.key.noSignature" | "theory.harmonize.unknownScale" | "theory.harmonize.sevenNotes" | "theory.harmonize.noNamedChord" | "theory.harmonize.noFifth" | "theory.harmonize.noFourthOrSecond" | "blocks.progression.yesNo" | "blocks.progression.majorMinorKeys" | "blocks.progression.unknownKey" | "blocks.progression.unread" | "blocks.progression.harmonizeKind" | "blocks.progression.harmonizeNothing" | "blocks.progression.harmonizeNoChords" | "blocks.progression.addScale" | "blocks.progression.transposeWhole" | "blocks.progression.addChords" | "blocks.progression.addKey" | "blocks.progression.unknownTuning" | "blocks.progression.tempo" | "blocks.progression.strum" | "blocks.progression.key" | "blocks.progression.blues" | "blocks.progression.orKeys" | "blocks.progression.leftOut" | "blocks.progression.leftOutDegree" | "blocks.progression.unknownInstrument" | "blocks.progression.numerals" | "blocks.progression.voiceLeadingPiano" | "blocks.progression.pianoOnly" | "blocks.progression.voiceLeadingHands" | "blocks.progression.voiceLeadingOrKey" | "blocks.progression.addChordsAfterShared" | "blocks.progression.maxChords" | "theory.chord.suggest" | "blocks.render.maxStrings" | "blocks.render.invalidRange" | "blocks.render.maxKeys" | "blocks.render.wholeFrom1" | "blocks.render.unrecognized" | "blocks.render.rootForListsOnly" | "blocks.chord.capoNotPiano" | "blocks.chord.pitchesGivenKeys" | "blocks.chord.autoNeedsSymbol" | "blocks.chord.invalidPitches" | "blocks.chord.autoCovers" | "blocks.chord.addSymbolOrPitches" | "blocks.chord.unknownInstrument" | "blocks.chord.invalidFrets" | "blocks.chord.nutAtCapo" | "blocks.chord.capoMaxFret" | "blocks.chord.fingersCount" | "blocks.chord.noVoicing" | "blocks.chord.addFretsFor" | "blocks.chord.addSymbolAndFrets" | "blocks.chord.positionAboveLowest" | "blocks.chord.tuningStrings" | "blocks.chord.soundsTitle" | "blocks.chord.captionFormulaChord" | "blocks.chord.captionFormulaSet" | "blocks.chord.soundsTitleNeedsChord" | "blocks.chord.soundsNeedsCapo" | "blocks.chord.soundsYesNeedsChord" | "blocks.chord.soundsMismatch" | "blocks.chord.unknownLabels" | "blocks.chord.labelsNeedChord" | "blocks.keyboard.autoBothAlone" | "blocks.keyboard.fingersCount" | "blocks.keyboard.fingersForNotes" | "blocks.keyboard.keyTwice" | "blocks.keyboard.pastRange" | "blocks.keyboard.handTitleLeft" | "blocks.keyboard.handTitleRight" | "blocks.fretboard.invalidFrets" | "blocks.fretboard.maxFret" | "blocks.fretboard.nutStartsAtCapo" | "blocks.fretboard.numberingNeedsPosition" | "blocks.fretboard.positionsNeedSet" | "blocks.fretboard.arpeggioCaged" | "blocks.fretboard.positionCount" | "blocks.fretboard.positionNotFit" | "blocks.fretboard.rhythmNeedsExercise" | "blocks.fretboard.exerciseNeedsPosition" | "blocks.fretboard.invalidTempo" | "blocks.fretboard.arpeggioTitle" | "blocks.fretboard.fromMinor" | "blocks.fretboard.shapeTitle" | "blocks.fretboard.threeNpsTitle" | "blocks.fretboard.boxTitle" | "blocks.scalesFor.both" | "blocks.scalesFor.findsItself" | "blocks.scalesFor.addChords" | "blocks.scalesFor.addNotes" | "blocks.scalesFor.unreadChords" | "blocks.scalesFor.unreadNotes" | "blocks.scalesFor.outside" | "blocks.scalesFor.bluesTitle" | "blocks.scalesFor.title" | "chord.capo.fret" | "chord.capo.fretsFrom" | "theory.naming.write" | "theory.naming.writeDirective" | "chord.words.ordinalFirst" | "chord.words.ordinalSt" | "chord.words.ordinalNd" | "chord.words.ordinalRd" | "chord.words.ordinalTh" | "chord.words.listAnd" | "chord.words.guitarIndex" | "chord.words.guitarMiddle" | "chord.words.guitarRing" | "chord.words.guitarPinky" | "chord.words.guitarThumb" | "chord.words.guitarFinger" | "chord.words.pianoThumb" | "chord.words.pianoIndex" | "chord.words.pianoMiddle" | "chord.words.pianoRing" | "chord.words.pianoLittle" | "chord.words.pianoFinger" | "chord.words.lowName" | "chord.words.highName" | "chord.words.stringNamed" | "chord.words.stringsNamed" | "chord.words.stringNumberedNote" | "chord.words.stringNumbered" | "chord.words.capoFrom" | "chord.words.capoNut" | "chord.words.allMuted" | "chord.words.strumSix" | "chord.words.strumAll" | "chord.words.strumFrom" | "chord.words.strumFromTo" | "chord.words.press" | "chord.words.fingerOn" | "chord.words.fingerBars" | "chord.words.fingerAlsoOn" | "chord.words.muteOne" | "chord.words.mutePlural" | "chord.words.groupRingOpenOne" | "chord.words.groupRingOpenPlural" | "chord.words.groupRingCapoOne" | "chord.words.groupRingCapoPlural" | "chord.words.ringOpenOne" | "chord.words.ringOpenPlural" | "chord.words.ringCapoOne" | "chord.words.ringCapoPlural" | "chord.words.pianoFingerOn" | "chord.words.pianoAlsoPlay" | "chord.words.sentence" | "chord.words.play" | "chord.words.leftHand" | "chord.words.rightHand" | "chord.transition.fingerIndex" | "chord.transition.fingerMiddle" | "chord.transition.fingerRing" | "chord.transition.fingerPinky" | "chord.transition.fingerThumb" | "chord.transition.fingerOther" | "chord.transition.keep" | "chord.transition.slide" | "chord.transition.moveUp" | "chord.transition.moveDown" | "chord.transition.lift" | "chord.guitar.capoCaption" | "chord.guitar.capoCaptionSounds" | "chord.guitar.diagram" | "chord.guitar.diagramTitled" | "chord.guitar.rootOnString" | "chord.guitar.rootOnStrings" | "chord.triads.rootPosition" | "chord.triads.firstInversion" | "chord.triads.secondInversion" | "theory.formula.chord" | "theory.formula.inTheBass" | "theory.formula.formula" | "theory.formula.alsoWritten" | "theory.formula.scale" | "theory.formula.steps" | "chords.chart.chorus" | "chords.chart.bridge" | "chords.chart.tab" | "chords.chart.grid" | "chords.chart.key" | "chords.chart.capo" | "chords.chart.tempo" | "chords.chart.transposed" | "chords.chart.sounds" | "chords.chart.moreNotDrawn" | "chords.chart.missing" | "chords.chart.howPiano" | "chords.chart.howGuitar" | "chords.define.needsName" | "chords.define.baseFret" | "chords.define.frets" | "chords.define.keys" | "chords.define.copy" | "chords.define.unknown" | "chords.define.fingersCount" | "chords.define.reaches" | "chords.directive.diagrams" | "chord.shape.open" | "chord.shape.caged" | "chord.shape.cagedStrings" | "chord.shape.power" | "chord.shape.triad" | "chord.shape.shell" | "chord.shape.drop" | "chord.shape.hendrix" | "chord.shape.openBass" | "chord.shape.openStrings" | "chord.shape.strings" | "blocks.function.tonic" | "blocks.function.subdominant" | "blocks.function.dominant" | "blocks.function.secondaryDominant" | "blocks.function.neapolitan" | "blocks.function.borrowed" | "blocks.function.chromatic" | "blocks.function.tonicization" | "blocks.function.passing" | "theory.marks.characteristic" | "theory.marks.different" | "theory.marks.chordTones", string>;
546
+ readonly fr: Record<"playback.bar" | "playback.diagram" | "playback.place" | "playback.playItem" | "playback.playAll" | "playback.play" | "playback.stop" | "playback.loop" | "playback.countIn" | "playback.click" | "playback.sound" | "playback.guitar" | "playback.guitar.steel" | "playback.guitar.nylon" | "playback.guitar.clean" | "playback.guitar.overdrive" | "playback.piano" | "playback.simplify" | "playback.simplified" | "playback.simplify.hint" | "playback.simplified.hint" | "playback.tempo" | "playback.unit.bpm" | "playback.unit.ms" | "playback.strum" | "playback.dotted" | "playback.strumPattern.bar" | "playback.picking.bar" | "playback.progression.bar" | "playback.progression.play" | "playback.strumChoice" | "playback.strum.beats" | "playback.strum.bar" | "playback.strum.arpeggio" | "playback.strum.pattern" | "playback.copy.button" | "playback.copy.hint" | "playback.copy.bar" | "playback.copy.copied" | "playback.copy.refused" | "playback.copy.unsupported" | "playback.copy.failed" | "playback.full.enter" | "playback.full.exit" | "playback.redraw.sounds" | "playback.redraw.guitar" | "playback.redraw.piano" | "playback.engine.invalid" | "playback.guitar.invalid" | "tab.source.staves" | "tab.source.layout" | "tab.source.names" | "tab.source.tracks" | "tab.source.empty" | "tab.sound.loadFailed" | "tab.error.at" | "tab.error.textTab" | "tab.error.fileRead" | "tab.error.fileMissing" | "tab.error.fileUnknown" | "tab.player.cantPlay" | "tab.player.metronome" | "tab.player.pause" | "tab.names" | "tab.follow" | "tab.followPaused" | "tab.view.group" | "tab.view.tab" | "tab.view.score" | "tab.view.both" | "tab.view.whatTab" | "tab.view.whatScore" | "tab.view.whatBoth" | "tab.view.drawAs" | "tab.view.drawAsWritten" | "tab.view.drawAsDefault" | "tab.view.keep" | "tab.view.keepTitle" | "tab.tempo.group" | "tab.tempo.slower" | "tab.tempo.faster" | "tab.tempo.toPercent" | "tab.tempo.toBpm" | "tab.tempo.reset" | "tab.tempo.inBpm" | "tab.tempo.inPercent" | "tab.tempo.title" | "tab.tempo.speedTitle" | "strum.time.invalid" | "strum.swing.invalid" | "strum.subdivision.invalid" | "strum.triplets.quarterBeat68" | "strum.triplets.quarterBeat" | "strum.subdivision.tooLong" | "strum.chord.notRecognizedTry" | "strum.chord.empty" | "strum.chord.notRecognized" | "strum.line.bracketMissing" | "strum.line.barInGhost" | "strum.line.accentAndGhost" | "strum.line.ghostNested" | "strum.line.parenUnopened" | "strum.help" | "strum.line.notUnderstood" | "strum.line.accentNeedsStrum" | "strum.line.ghostNoRests" | "strum.line.parenUnclosed" | "strum.line.chordEndsPattern" | "strum.pattern.chordLineAlone" | "strum.pattern.missing" | "strum.key.unknown" | "strum.swing.withTriplets" | "strum.swing.compound" | "strum.swing.oneSlot" | "strum.tempo.invalid" | "strum.bars.tooMany" | "strum.chord.pastEnd" | "strum.count.bar.one" | "strum.count.bar.other" | "strum.count.slot.one" | "strum.count.slot.other" | "strum.count.barsAndSlots" | "strum.count.spill" | "strum.count.spillOrTime" | "strum.count.mismatch" | "strum.count.alternative.first" | "strum.count.alternative.next" | "strum.count.alternative.last" | "strum.note.one" | "strum.note.other" | "strum.feel.swing" | "strum.feel.swingPercent" | "strum.feel.swing16" | "strum.feel.swing16Percent" | "strum.name" | "strum.name.titled" | "strum.name.feel" | "strum.tuning.unknown" | "strum.tuning.tooManyStrings" | "strum.tuning.unknownGiven" | "picking.help" | "picking.token.notUnderstood" | "picking.string.missing" | "picking.bar.slots" | "picking.bar.betweenBarLines" | "picking.key.unknown" | "picking.swing.pairs" | "picking.tempo.invalid" | "picking.pattern.twice" | "picking.pattern.missing" | "picking.chords.tooMany" | "picking.tuning.unknown" | "picking.name" | "picking.name.titled" | "picking.name.over" | "picking.voicing.none" | "export.image.title" | "render.layout.orientation" | "render.layout.hand" | "render.rootMark.invalid" | "render.rootListsOnly" | "render.unknownChord" | "render.tuning" | "render.yesNo" | "render.hand.left" | "render.hand.right" | "render.positions.exerciseOne" | "render.positions.needsSet" | "render.positions.arpeggioCaged" | "render.positions.range" | "render.positions.fromMinor" | "render.positions.arpeggioTitle" | "render.positions.shapeTitle" | "render.positions.npsTitle" | "render.positions.boxTitle" | "render.fingering.handTitle" | "render.voicings.notBoth" | "render.voicings.fretted" | "render.voicings.noFrets" | "render.voicings.needsChord" | "render.voicings.instrument" | "render.voicings.maxStrings" | "render.voicings.count" | "render.voicings.area" | "render.voicings.rootString" | "render.voicings.inversion" | "render.voicings.manyStringsAny" | "render.voicings.wideArea" | "render.voicings.oneWidening" | "render.noVoicing.gaps" | "render.noVoicing.rootString" | "render.noVoicing.inversion" | "render.noVoicing.bass" | "render.noVoicing.none" | "render.triads.noFrets" | "render.triads.fretted" | "render.triads.strings" | "render.triads.inversion" | "render.triads.keyInversion" | "render.triads.key" | "render.triads.needsChord" | "render.triads.notTriad" | "render.triads.none" | "render.transitions.needsFrom" | "render.transitions.fretted" | "render.transitions.notBoth" | "render.transitions.refused" | "render.transitions.maxStrings" | "render.transitions.twoChords" | "render.transitions.maxChords" | "render.transitions.noVoicings" | "render.transitions.needsTo" | "render.transitions.noHeld" | "render.transitions.stringCount" | "render.transitions.count" | "render.transitions.noTarget" | "render.modes.none" | "render.modes.refused" | "render.row.notShared" | "render.row.columns" | "render.row.needsDiagram" | "render.row.max" | "render.row.columnsShared" | "render.row.ownRow" | "render.row.exercise" | "render.row.diagram" | "render.row.sharedHint" | "fretboard.capo" | "fretboard.title" | "fretboard.note.open" | "fretboard.note.fret" | "fretboard.note.root" | "fretboard.string" | "fretboard.pick.open" | "fretboard.pick.fret" | "fretboard.exercise.direction" | "fretboard.exercise.rhythm" | "fretboard.exercise.scale" | "fretboard.exercise.chord" | "fretboard.exercise.needsSet" | "fretboard.exercise.arpeggioCaged" | "fretboard.exercise.positions" | "fretboard.exercise.tuning" | "fretboard.exercise.capo" | "fretboard.positions.numbering" | "fretboard.positions.numberingPentatonic" | "fretboard.positions.numberingCaged" | "fretboard.positions.position" | "fretboard.positions.shape" | "keyboard.fingering.finger" | "keyboard.fingering.autoNeedsScale" | "keyboard.fingering.autoUnknown" | "keyboard.piano.shell" | "keyboard.piano.rootless" | "keyboard.piano.octave" | "keyboard.piano.inversion" | "keyboard.piano.slashInversion" | "keyboard.piano.inversionStyle" | "keyboard.piano.inversionMax" | "keyboard.piano.open" | "keyboard.piano.offKeys" | "keyboard.piano.inversionWord" | "keyboard.piano.octaveMiddle" | "keyboard.piano.voicing" | "keyboard.piano.key" | "keyboard.piano.resolvesTo" | "keyboard.piano.hands" | "keyboard.title" | "keyboard.hand" | "keyboard.handMark.left" | "keyboard.handMark.right" | "keyboard.whiteKey" | "keyboard.blackKey" | "keyboard.lit.root" | "keyboard.lit.finger" | "keyboard.lit.keys" | "circle.label" | "circle.or" | "circle.mode.major" | "circle.mode.minor" | "circle.mode.ionian" | "circle.mode.dorian" | "circle.mode.phrygian" | "circle.mode.lydian" | "circle.mode.mixolydian" | "circle.mode.aeolian" | "circle.mode.locrian" | "circle.key" | "circle.mode" | "circle.modeTwice" | "circle.chords" | "circle.dominant" | "keyboard.piano.unknownChord" | "blocks.source.expected" | "blocks.source.strings" | "blocks.caption.fingeringChordOnly" | "blocks.caption.useAll" | "blocks.caption.useFormula" | "blocks.noteSet.chordOrArpeggio" | "blocks.noteSet.invalidRoot" | "blocks.noteSet.notAList" | "blocks.noteSet.addNotesForRoot" | "blocks.noteSet.addRoot" | "blocks.noteSet.addSource" | "blocks.noteSet.rootListsOnlyScale" | "blocks.noteSet.rootListsOnlyChord" | "blocks.noteSet.unknownLabelsFingers" | "blocks.noteSet.unknownLabels" | "blocks.noteSet.invalidNotes" | "blocks.noteSet.unknownScale" | "blocks.noteSet.unknownChord" | "blocks.noteSet.notAScaleChordOrList" | "blocks.noteSet.highlightNeedsIntervals" | "blocks.noteSet.notInSet" | "theory.key.needsSharps" | "theory.key.needsFlats" | "theory.key.noSignature" | "theory.harmonize.unknownScale" | "theory.harmonize.sevenNotes" | "theory.harmonize.noNamedChord" | "theory.harmonize.noFifth" | "theory.harmonize.noFourthOrSecond" | "blocks.progression.yesNo" | "blocks.progression.majorMinorKeys" | "blocks.progression.unknownKey" | "blocks.progression.unread" | "blocks.progression.harmonizeKind" | "blocks.progression.harmonizeNothing" | "blocks.progression.harmonizeNoChords" | "blocks.progression.addScale" | "blocks.progression.transposeWhole" | "blocks.progression.addChords" | "blocks.progression.addKey" | "blocks.progression.unknownTuning" | "blocks.progression.tempo" | "blocks.progression.strum" | "blocks.progression.key" | "blocks.progression.blues" | "blocks.progression.orKeys" | "blocks.progression.leftOut" | "blocks.progression.leftOutDegree" | "blocks.progression.unknownInstrument" | "blocks.progression.numerals" | "blocks.progression.voiceLeadingPiano" | "blocks.progression.pianoOnly" | "blocks.progression.voiceLeadingHands" | "blocks.progression.voiceLeadingOrKey" | "blocks.progression.addChordsAfterShared" | "blocks.progression.maxChords" | "theory.chord.suggest" | "blocks.render.maxStrings" | "blocks.render.invalidRange" | "blocks.render.maxKeys" | "blocks.render.wholeFrom1" | "blocks.render.unrecognized" | "blocks.render.rootForListsOnly" | "blocks.chord.capoNotPiano" | "blocks.chord.pitchesGivenKeys" | "blocks.chord.autoNeedsSymbol" | "blocks.chord.invalidPitches" | "blocks.chord.autoCovers" | "blocks.chord.addSymbolOrPitches" | "blocks.chord.unknownInstrument" | "blocks.chord.invalidFrets" | "blocks.chord.nutAtCapo" | "blocks.chord.capoMaxFret" | "blocks.chord.fingersCount" | "blocks.chord.noVoicing" | "blocks.chord.addFretsFor" | "blocks.chord.addSymbolAndFrets" | "blocks.chord.positionAboveLowest" | "blocks.chord.tuningStrings" | "blocks.chord.soundsTitle" | "blocks.chord.captionFormulaChord" | "blocks.chord.captionFormulaSet" | "blocks.chord.soundsTitleNeedsChord" | "blocks.chord.soundsNeedsCapo" | "blocks.chord.soundsYesNeedsChord" | "blocks.chord.soundsMismatch" | "blocks.chord.unknownLabels" | "blocks.chord.labelsNeedChord" | "blocks.keyboard.autoBothAlone" | "blocks.keyboard.fingersCount" | "blocks.keyboard.fingersForNotes" | "blocks.keyboard.keyTwice" | "blocks.keyboard.pastRange" | "blocks.keyboard.handTitleLeft" | "blocks.keyboard.handTitleRight" | "blocks.fretboard.invalidFrets" | "blocks.fretboard.maxFret" | "blocks.fretboard.nutStartsAtCapo" | "blocks.fretboard.numberingNeedsPosition" | "blocks.fretboard.positionsNeedSet" | "blocks.fretboard.arpeggioCaged" | "blocks.fretboard.positionCount" | "blocks.fretboard.positionNotFit" | "blocks.fretboard.rhythmNeedsExercise" | "blocks.fretboard.exerciseNeedsPosition" | "blocks.fretboard.invalidTempo" | "blocks.fretboard.arpeggioTitle" | "blocks.fretboard.fromMinor" | "blocks.fretboard.shapeTitle" | "blocks.fretboard.threeNpsTitle" | "blocks.fretboard.boxTitle" | "blocks.scalesFor.both" | "blocks.scalesFor.findsItself" | "blocks.scalesFor.addChords" | "blocks.scalesFor.addNotes" | "blocks.scalesFor.unreadChords" | "blocks.scalesFor.unreadNotes" | "blocks.scalesFor.outside" | "blocks.scalesFor.bluesTitle" | "blocks.scalesFor.title" | "chord.capo.fret" | "chord.capo.fretsFrom" | "theory.naming.write" | "theory.naming.writeDirective" | "chord.words.ordinalFirst" | "chord.words.ordinalSt" | "chord.words.ordinalNd" | "chord.words.ordinalRd" | "chord.words.ordinalTh" | "chord.words.listAnd" | "chord.words.guitarIndex" | "chord.words.guitarMiddle" | "chord.words.guitarRing" | "chord.words.guitarPinky" | "chord.words.guitarThumb" | "chord.words.guitarFinger" | "chord.words.pianoThumb" | "chord.words.pianoIndex" | "chord.words.pianoMiddle" | "chord.words.pianoRing" | "chord.words.pianoLittle" | "chord.words.pianoFinger" | "chord.words.lowName" | "chord.words.highName" | "chord.words.stringNamed" | "chord.words.stringsNamed" | "chord.words.stringNumberedNote" | "chord.words.stringNumbered" | "chord.words.capoFrom" | "chord.words.capoNut" | "chord.words.allMuted" | "chord.words.strumSix" | "chord.words.strumAll" | "chord.words.strumFrom" | "chord.words.strumFromTo" | "chord.words.press" | "chord.words.fingerOn" | "chord.words.fingerBars" | "chord.words.fingerAlsoOn" | "chord.words.muteOne" | "chord.words.mutePlural" | "chord.words.groupRingOpenOne" | "chord.words.groupRingOpenPlural" | "chord.words.groupRingCapoOne" | "chord.words.groupRingCapoPlural" | "chord.words.ringOpenOne" | "chord.words.ringOpenPlural" | "chord.words.ringCapoOne" | "chord.words.ringCapoPlural" | "chord.words.pianoFingerOn" | "chord.words.pianoAlsoPlay" | "chord.words.sentence" | "chord.words.play" | "chord.words.leftHand" | "chord.words.rightHand" | "chord.transition.fingerIndex" | "chord.transition.fingerMiddle" | "chord.transition.fingerRing" | "chord.transition.fingerPinky" | "chord.transition.fingerThumb" | "chord.transition.fingerOther" | "chord.transition.keep" | "chord.transition.slide" | "chord.transition.moveUp" | "chord.transition.moveDown" | "chord.transition.lift" | "chord.guitar.capoCaption" | "chord.guitar.capoCaptionSounds" | "chord.guitar.diagram" | "chord.guitar.diagramTitled" | "chord.guitar.rootOnString" | "chord.guitar.rootOnStrings" | "chord.triads.rootPosition" | "chord.triads.firstInversion" | "chord.triads.secondInversion" | "theory.formula.chord" | "theory.formula.inTheBass" | "theory.formula.formula" | "theory.formula.alsoWritten" | "theory.formula.scale" | "theory.formula.steps" | "chords.chart.chorus" | "chords.chart.bridge" | "chords.chart.tab" | "chords.chart.grid" | "chords.chart.key" | "chords.chart.capo" | "chords.chart.tempo" | "chords.chart.transposed" | "chords.chart.simplified" | "chords.chart.sounds" | "chords.chart.moreNotDrawn" | "chords.chart.missing" | "chords.chart.howPiano" | "chords.chart.howGuitar" | "chords.define.needsName" | "chords.define.baseFret" | "chords.define.frets" | "chords.define.keys" | "chords.define.copy" | "chords.define.unknown" | "chords.define.fingersCount" | "chords.define.reaches" | "chords.directive.diagrams" | "chords.directive.simplify" | "chord.shape.open" | "chord.shape.caged" | "chord.shape.cagedStrings" | "chord.shape.power" | "chord.shape.triad" | "chord.shape.shell" | "chord.shape.drop" | "chord.shape.hendrix" | "chord.shape.openBass" | "chord.shape.openStrings" | "chord.shape.strings" | "blocks.function.tonic" | "blocks.function.subdominant" | "blocks.function.dominant" | "blocks.function.secondaryDominant" | "blocks.function.neapolitan" | "blocks.function.borrowed" | "blocks.function.chromatic" | "blocks.function.tonicization" | "blocks.function.passing" | "theory.marks.characteristic" | "theory.marks.different" | "theory.marks.chordTones", string>;
537
547
  };
538
548
  export type Language = keyof typeof TABLES;
539
549
  export declare const LANGUAGES_OF_TEXTS: readonly Language[];
package/dist/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export { attachCopy } from './playback/copy-image.js';
16
16
  export { toSvgString, toPng, type ExportTheme, type SvgExportOptions, type PngExportOptions } from './export/image.js';
17
17
  export { followNotes, noteTargets, PLAYING_CLASS, START_WAIT, type Follower } from './playback/follow.js';
18
18
  export { transition, smoothProgression, type TransitionStep, type TransitionOptions, type ProgressionStep, type ProgressionOptions } from './chord/transitions.js';
19
+ export { simplifyChord, easierChord, capoChoices, bestCapo, type EasierOptions, type EasierChord, type CapoOptions, type CapoShape, type CapoChoice } from './chord/simplify.js';
19
20
  export { fingeringInWords, type GuitarFingering, type PianoFingering } from './chord/fingering-words.js';
20
21
  export { triadVoicings, keyTriads, parseKey, inversionName, type Triad, type TriadOptions, type KeyTriad } from './chord/triads.js';
21
22
  export { renderKeyboard, parseKeyRange, keyRangeOf, type KeyboardOptions } from './keyboard/keyboard.js';
@@ -31,7 +32,7 @@ export { descriptionOf } from './render/dom.js';
31
32
  export { attachPick, type Pick, type PickAt, type PickLayer, type PickOptions, type PickResult } from './render/pick.js';
32
33
  export { parseTuning } from './fretboard/tuning.js';
33
34
  export { parseChordPro, parseLyrics, type Song, type Section, type Line, type Segment, type ChordDefinition } from './chords/chordpro.js';
34
- export { renderChart, chartChords, type ChartChords, type ChartOptions } from './chords/chart.js';
35
+ export { renderChart, chartChords, easierChart, type ChartChords, type ChartOptions, type EasierChart } from './chords/chart.js';
35
36
  export { chordsUsed } from './chords/chart-diagrams.js';
36
37
  export { parseDefinition } from './chords/defines.js';
37
38
  export { parseChord, type ParsedChord } from './theory/chord-symbol.js';