@dsebastien/music-notation 0.22.1 → 0.23.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 +1 -1
- package/dist/blocks/renderers.d.ts +8 -1
- package/dist/chord/generate.d.ts +2 -0
- package/dist/chord/words.d.ts +4 -0
- package/dist/export/image.d.ts +2 -0
- package/dist/fretboard/exercise.d.ts +0 -16
- package/dist/fretboard/positions.d.ts +0 -17
- package/dist/i18n/en/diagrams.d.ts +139 -0
- package/dist/i18n/en/index.d.ts +532 -0
- package/dist/i18n/en/parse.d.ts +249 -0
- package/dist/i18n/en/play.d.ts +82 -0
- package/dist/i18n/en/timed.d.ts +75 -0
- package/dist/i18n/fr/diagrams.d.ts +139 -0
- package/dist/i18n/fr/index.d.ts +7 -0
- package/dist/i18n/fr/parse.d.ts +249 -0
- package/dist/i18n/fr/play.d.ts +82 -0
- package/dist/i18n/fr/timed.d.ts +72 -0
- package/dist/i18n/index.d.ts +3 -0
- package/dist/i18n/language.d.ts +543 -0
- package/dist/i18n/messages.d.ts +11 -0
- package/dist/i18n/page.d.ts +7 -0
- package/dist/i18n/translate.d.ts +21 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2107 -525
- package/dist/index.js.map +66 -52
- package/dist/keyboard/scale-fingering.d.ts +1 -1
- package/dist/music-notation.css +21 -0
- package/dist/music-notation.publish.min.js +58 -37
- package/dist/music-notation.tab.min.js +28 -7
- package/dist/picking/pattern.d.ts +0 -7
- package/dist/playback/bar-parts.d.ts +4 -0
- package/dist/playback/controls.d.ts +23 -2
- package/dist/playback/copy-image.d.ts +6 -5
- package/dist/playback/engine.d.ts +34 -0
- package/dist/publish/auto.d.ts +2 -0
- package/dist/publish/index.js +2080 -527
- package/dist/publish/index.js.map +66 -52
- package/dist/tab/auto.d.ts +2 -0
- package/dist/tab/follow-scroll.d.ts +65 -0
- package/dist/tab/index.d.ts +54 -2
- package/dist/tab/index.js +1586 -76
- package/dist/tab/index.js.map +24 -9
- package/dist/tab/note-names.d.ts +50 -0
- package/dist/voicings/index.js +1323 -79
- package/dist/voicings/index.js.map +23 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -191,7 +191,7 @@ Add this to your site's `publish.js`. It loads the bundle only on pages that hav
|
|
|
191
191
|
|
|
192
192
|
```js
|
|
193
193
|
;(() => {
|
|
194
|
-
const VERSION = '0.22.
|
|
194
|
+
const VERSION = '0.22.1'
|
|
195
195
|
const CDN = `https://cdn.jsdelivr.net/npm/@dsebastien/music-notation@${VERSION}/dist`
|
|
196
196
|
const selector = (languages) => languages.map((l) => `pre > code.language-${l}`).join(', ')
|
|
197
197
|
const BLOCKS = selector([
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { PickOptions } from '../render/pick.js';
|
|
6
6
|
import type { Naming } from '../theory/naming.js';
|
|
7
|
+
import type { Language } from '../i18n/language.js';
|
|
7
8
|
import type { RootMark } from '../render/root-mark.js';
|
|
8
9
|
import type { VoicingLookup } from '../voicings/index.js';
|
|
9
10
|
import type { PlayOptions } from '../playback/controls.js';
|
|
@@ -63,6 +64,12 @@ export interface RenderOptions extends LayoutDefaults {
|
|
|
63
64
|
* A block's `naming:` line wins. Input reads all three.
|
|
64
65
|
*/
|
|
65
66
|
naming?: Naming;
|
|
67
|
+
/**
|
|
68
|
+
* The language of the texts the block shows and announces (#136): `'en'` (default) or `'fr'`;
|
|
69
|
+
* `'fr-BE'` and the like read as French, anything else as English. Read when the block is drawn.
|
|
70
|
+
* It never changes the block's syntax, nor the note names (`naming`).
|
|
71
|
+
*/
|
|
72
|
+
language?: Language | (string & {});
|
|
66
73
|
/**
|
|
67
74
|
* How diagrams mark their root (#14): `color` (default) or `shape` (also a square, so the root
|
|
68
75
|
* doesn't rest on color alone). A block's `root-mark:` line wins.
|
|
@@ -77,7 +84,7 @@ export type DiagramLanguage = 'chord' | 'keyboard' | 'fretboard';
|
|
|
77
84
|
/** Keys a row's shared settings may hold, per language (plus `columns`, for the row itself). */
|
|
78
85
|
export declare const SHARED_KEYS: Record<DiagramLanguage, readonly string[]>;
|
|
79
86
|
/** root: in a chord block (or a row it expands into): it only applies to note lists. */
|
|
80
|
-
export declare const
|
|
87
|
+
export declare const rootForListsOnly: () => string;
|
|
81
88
|
/** Diagram languages and their renderers. */
|
|
82
89
|
export declare const DIAGRAMS: Record<DiagramLanguage, DiagramRenderer>;
|
|
83
90
|
/** Block languages (code fence names) and their renderers. */
|
package/dist/chord/generate.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ type CagedLetter = 'C' | 'A' | 'G' | 'E' | 'D';
|
|
|
14
14
|
* up the neck, else the strings it sounds ("Strings 3-6").
|
|
15
15
|
*/
|
|
16
16
|
export type VoicingShape = 'Open' | `${CagedLetter} shape` | 'Power chord' | 'Triad' | 'Shell' | `${CagedLetter} shape (strings ${string})` | `Drop ${2 | 3} (strings ${string})` | 'Hendrix chord' | 'Open bass' | 'Open strings' | `Strings ${string}`;
|
|
17
|
+
/** A shape's name as the diagram's title shows it (the shape itself stays the English token). */
|
|
18
|
+
export declare function shapeLabel(shape: VoicingShape): string;
|
|
17
19
|
export interface GeneratedVoicing extends FrettedVoicing {
|
|
18
20
|
fingers: (string | null)[];
|
|
19
21
|
baseFret: number;
|
package/dist/export/image.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export interface SvgExportOptions {
|
|
|
7
7
|
background?: string;
|
|
8
8
|
/** Room around what is drawn, in CSS pixels; 8 by default. */
|
|
9
9
|
padding?: number;
|
|
10
|
+
/** The language of the image's title (#136): `en` or `fr`; by default the one in progress. */
|
|
11
|
+
language?: string;
|
|
10
12
|
}
|
|
11
13
|
export interface PngExportOptions extends Omit<SvgExportOptions, 'background'> {
|
|
12
14
|
/** Pixels per CSS pixel, 2 by default (lowered so no side passes 16384 px). */
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Scale positions and arpeggios as tab exercises (#47): the notes of one position, in playing
|
|
3
|
-
* order, as alphaTex for a `tab` block, so the run plays in time with alphaTab's count-in,
|
|
4
|
-
* metronome and speed control.
|
|
5
|
-
*
|
|
6
|
-
* - The notes are the position's dots (`scalePosition`), each pitch once, string by string.
|
|
7
|
-
* - `up` plays them from the lowest to the highest, `down` from the highest to the lowest.
|
|
8
|
-
* - `both` (up and down) plays them in the order a diagram plays a scale (#61): from the lowest
|
|
9
|
-
* root up to the highest note, down to the lowest note, back up to that root; the top and the
|
|
10
|
-
* bottom note once each. With the root lowest, that is up and back down.
|
|
11
|
-
* - Rhythms in 4/4 (the metronome clicks quarters): 8ths (8 notes a bar), triplets (3 eighths a
|
|
12
|
-
* beat, 12 a bar, as tuplets), 16ths (16 a bar). The last bar ends with rests.
|
|
13
|
-
* - With a capo (#76), the position is found from the capo as if it were the nut (the scale as it
|
|
14
|
-
* sounds), its frets are counted from the capo, and `\capo` tells alphaTab, which adds the capo
|
|
15
|
-
* to every string: the tab shows the frets a player reads and sounds the scale.
|
|
16
|
-
*/
|
|
17
1
|
import { type NoteSet } from '../theory/note-set.js';
|
|
18
2
|
import { type Cell, type Numbering, type PositionSystem } from './positions.js';
|
|
19
3
|
export type ExerciseDirection = 'up' | 'down' | 'both';
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Scale positions on a neck: the notes to play in one place, string by string.
|
|
3
|
-
*
|
|
4
|
-
* - Boxes: 2 notes per string, starting from the n-th scale note on the low string (5-note scales:
|
|
5
|
-
* the five pentatonic boxes).
|
|
6
|
-
* - CAGED (7-note scales): the scale's pentatonic box n, plus the other scale notes, each on the
|
|
7
|
-
* string that keeps the hand in place. Box 1 starts on the root, the E shape; going up the neck
|
|
8
|
-
* come the D, C, A and G shapes.
|
|
9
|
-
* - 3NPS: 3 notes per string, starting from the n-th scale degree.
|
|
10
|
-
* Scales with no pentatonic inside (locrian, harmonic minor…) use 3NPS for their CAGED positions.
|
|
11
|
-
* Major pentatonic positions can be numbered from the relative minor (`numbering: minor`), as many
|
|
12
|
-
* courses do: position 1 is then the relative minor's box 1.
|
|
13
|
-
*
|
|
14
|
-
* Arpeggios (a chord's notes): CAGED positions are the chord tones of the CAGED position of the
|
|
15
|
-
* root's major scale (natural minor for chords with a minor third), chord tones outside that scale
|
|
16
|
-
* added on the string that keeps the hand in place.
|
|
17
|
-
*/
|
|
18
1
|
import { type NoteSet } from '../theory/note-set.js';
|
|
19
2
|
export type PositionSystem = 'box' | 'caged' | '3nps';
|
|
20
3
|
/** One played note: string (lowest first) and fret. */
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/** English texts: render, fretboard, keyboard and circle. Keys `diagrams.<dir>.<name>`; placeholders `{name}`. */
|
|
2
|
+
export declare const enDiagrams: {
|
|
3
|
+
readonly 'render.layout.orientation': "Unknown orientation \"{text}\": use vertical or horizontal";
|
|
4
|
+
readonly 'render.layout.hand': "Unknown hand \"{text}\": use left or right";
|
|
5
|
+
readonly 'render.rootMark.invalid': "root-mark: write color or shape, got \"{text}\"";
|
|
6
|
+
readonly 'render.rootListsOnly': "root only applies to lists of notes on fretboards and keyboards (notes: C E G with root: C): a chord has its own root";
|
|
7
|
+
readonly 'render.unknownChord': "Didn't recognize \"{written}\": try {suggestions}";
|
|
8
|
+
readonly 'render.tuning': "Unknown tuning \"{text}\"";
|
|
9
|
+
readonly 'render.yesNo': "{key} must be yes or no, got \"{text}\"";
|
|
10
|
+
readonly 'render.hand.left': "left hand";
|
|
11
|
+
readonly 'render.hand.right': "right hand";
|
|
12
|
+
readonly 'render.positions.exerciseOne': "exercise plays one position: write position: 1 (not positions:)";
|
|
13
|
+
readonly 'render.positions.needsSet': "positions needs a scale or a chord: e.g. A minor pentatonic or arpeggio: Am7";
|
|
14
|
+
readonly 'render.positions.arpeggioCaged': "Arpeggios use CAGED shapes, not 3nps: leave shape out";
|
|
15
|
+
readonly 'render.positions.range': "positions: use all, or numbers from 1 to {count} for {title}";
|
|
16
|
+
readonly 'render.positions.fromMinor': " (from {root}m)";
|
|
17
|
+
readonly 'render.positions.arpeggioTitle': "{title} arpeggio";
|
|
18
|
+
readonly 'render.positions.shapeTitle': "{name}, {shape} shape";
|
|
19
|
+
readonly 'render.positions.npsTitle': "{name}, 3nps {n}{from}";
|
|
20
|
+
readonly 'render.positions.boxTitle': "{name}, box {n}{from}";
|
|
21
|
+
readonly 'render.fingering.handTitle': "{title}, {hand}";
|
|
22
|
+
readonly 'render.voicings.notBoth': "Use triads or voicings, not both";
|
|
23
|
+
readonly 'render.voicings.fretted': "voicings are for guitar and other fretted instruments";
|
|
24
|
+
readonly 'render.voicings.noFrets': "voicings finds the frets itself: remove \"{value}\"";
|
|
25
|
+
readonly 'render.voicings.needsChord': "voicings needs a chord: e.g. A Major";
|
|
26
|
+
readonly 'render.voicings.instrument': "Unknown instrument \"{instrument}\": use guitar, or give a tuning";
|
|
27
|
+
readonly 'render.voicings.maxStrings': "voicings works on up to {max} strings";
|
|
28
|
+
readonly 'render.voicings.count': "voicings: use all, or a number from 1 to {max}";
|
|
29
|
+
readonly 'render.voicings.area': "area: use open, or frets like 5-9 (up to 24), got \"{area}\"";
|
|
30
|
+
readonly 'render.voicings.rootString': "root-string: use a string number from 1 (the highest) to {count}";
|
|
31
|
+
readonly 'render.voicings.inversion': "inversion: use 0 (root), 1, 2, 3 or any, got \"{inversion}\"";
|
|
32
|
+
readonly 'render.voicings.manyStringsAny': "On {count} strings, inversion: any needs six strings or fewer: add e.g. strings: 1-6";
|
|
33
|
+
readonly 'render.voicings.wideArea': "a wide area";
|
|
34
|
+
readonly 'render.voicings.oneWidening': "On {count} strings, use one of {list} at a time";
|
|
35
|
+
readonly 'render.noVoicing.gaps': "strings {strings} aren't next to each other: add gaps: yes";
|
|
36
|
+
readonly 'render.noVoicing.rootString': "root-string {string} isn't among strings {strings}";
|
|
37
|
+
readonly 'render.noVoicing.inversion': "{symbol} has {notes} notes: inversion goes up to {max}";
|
|
38
|
+
readonly 'render.noVoicing.bass': "No voicing of {chord} has its bass on string {string}: try another root-string";
|
|
39
|
+
readonly 'render.noVoicing.none': "No playable voicing of {chord} fits: widen the area, allow open strings or add stretch: yes";
|
|
40
|
+
readonly 'render.triads.noFrets': "triads finds the frets itself: remove \"{value}\"";
|
|
41
|
+
readonly 'render.triads.fretted': "triads are for guitar and other fretted instruments: give a tuning";
|
|
42
|
+
readonly 'render.triads.strings': "triads: give three strings next to each other, e.g. 1-3 or 2-4";
|
|
43
|
+
readonly 'render.triads.inversion': "inversion: use 0 (root position), 1, 2 or any, got \"{inversion}\"";
|
|
44
|
+
readonly 'render.triads.keyInversion': "With a key, pick one inversion: 0, 1 or 2";
|
|
45
|
+
readonly 'render.triads.key': "Unknown key \"{text}\": use e.g. key: G major or key: E minor";
|
|
46
|
+
readonly 'render.triads.needsChord': "triads needs a chord (e.g. G) or a key (key: G major)";
|
|
47
|
+
readonly 'render.triads.notTriad': "{symbol} isn't a triad (three notes): try voicings: all";
|
|
48
|
+
readonly 'render.triads.none': "No triad fits on these strings: try another string set";
|
|
49
|
+
readonly 'render.transitions.needsFrom': "Add the chord you hold: from: C (with its frets: from: C x32010)";
|
|
50
|
+
readonly 'render.transitions.fretted': "Transitions are for guitar and other fretted instruments: give a tuning";
|
|
51
|
+
readonly 'render.transitions.notBoth': "Use from and to, or progression, not both";
|
|
52
|
+
readonly 'render.transitions.refused': "\"{key}\" can't be used with {with}";
|
|
53
|
+
readonly 'render.transitions.maxStrings': "Transitions work on up to {max} strings";
|
|
54
|
+
readonly 'render.transitions.twoChords': "progression: give two chords or more, e.g. G D Em C";
|
|
55
|
+
readonly 'render.transitions.maxChords': "progression: at most {max} chords";
|
|
56
|
+
readonly 'render.transitions.noVoicings': "No playable voicings for this progression";
|
|
57
|
+
readonly 'render.transitions.needsTo': "Add the next chord: to: D";
|
|
58
|
+
readonly 'render.transitions.noHeld': "No playable voicing of {chord}: add its frets";
|
|
59
|
+
readonly 'render.transitions.stringCount': "\"{frets}\" has {have} strings, the tuning {count}";
|
|
60
|
+
readonly 'render.transitions.count': "count: use a number from 1 to {max}";
|
|
61
|
+
readonly 'render.transitions.noTarget': "No playable voicing of {chord}";
|
|
62
|
+
readonly 'render.modes.none': "\"{value}\" has no modes: use e.g. modes: C major";
|
|
63
|
+
readonly 'render.modes.refused': "\"{key}\" can't be used with modes: only {allowed}";
|
|
64
|
+
readonly 'render.row.notShared': "\"{key}\" can't be shared: move it to a diagram. Shared settings: {allowed}";
|
|
65
|
+
readonly 'render.row.columns': "columns must be a whole number from 1 to 12, got \"{text}\"";
|
|
66
|
+
readonly 'render.row.needsDiagram': "Add a diagram after the shared settings: a \"---\" line, then the diagram";
|
|
67
|
+
readonly 'render.row.max': "At most {max} diagrams per block, found {found}";
|
|
68
|
+
readonly 'render.row.columnsShared': "\"columns\" goes in the shared settings, before the first \"---\"";
|
|
69
|
+
readonly 'render.row.ownRow': "\"{key}\" draws its own row: use it in a block of its own";
|
|
70
|
+
readonly 'render.row.exercise': "exercise draws a tab under one diagram: use it in a block of its own";
|
|
71
|
+
readonly 'render.row.diagram': "diagram {n}: {message}";
|
|
72
|
+
readonly 'render.row.sharedHint': " (shared settings before the first \"---\" may only hold: {allowed})";
|
|
73
|
+
readonly 'fretboard.capo': "Capo {fret}";
|
|
74
|
+
readonly 'fretboard.title': "Fretboard: {title}";
|
|
75
|
+
readonly 'fretboard.note.open': "{note} open";
|
|
76
|
+
readonly 'fretboard.note.fret': "{note} at fret {fret}";
|
|
77
|
+
readonly 'fretboard.note.root': " (root)";
|
|
78
|
+
readonly 'fretboard.string': "String {n} ({name}): {notes}.";
|
|
79
|
+
readonly 'fretboard.pick.open': "String {string}, open";
|
|
80
|
+
readonly 'fretboard.pick.fret': "String {string}, fret {fret}";
|
|
81
|
+
readonly 'fretboard.exercise.direction': "exercise: use up, down or up-down, got \"{text}\"";
|
|
82
|
+
readonly 'fretboard.exercise.rhythm': "rhythm: use 8ths, triplets or 16ths, got \"{text}\"";
|
|
83
|
+
readonly 'fretboard.exercise.scale': "Unknown scale \"{text}\"";
|
|
84
|
+
readonly 'fretboard.exercise.chord': "Unknown chord \"{text}\"";
|
|
85
|
+
readonly 'fretboard.exercise.needsSet': "An exercise needs a scale or an arpeggio: e.g. scale: A minor or arpeggio: Am7";
|
|
86
|
+
readonly 'fretboard.exercise.arpeggioCaged': "Arpeggios use CAGED shapes: position 1 to 5, or shape: E, D, C, A or G (not 3nps)";
|
|
87
|
+
readonly 'fretboard.exercise.positions': "{title} has {count} {system} positions: use position 1 to {count}";
|
|
88
|
+
readonly 'fretboard.exercise.tuning': "Unknown tuning \"{text}\"";
|
|
89
|
+
readonly 'fretboard.exercise.capo': "capo: use a fret from 1 to 12 (0 for none), got {text}";
|
|
90
|
+
readonly 'fretboard.positions.numbering': "numbering: use minor (positions from the relative minor), got \"{text}\"";
|
|
91
|
+
readonly 'fretboard.positions.numberingPentatonic': "numbering: minor is for major pentatonic positions (e.g. A major pentatonic), not {title}";
|
|
92
|
+
readonly 'fretboard.positions.numberingCaged': "numbering: minor numbers boxes and 3nps positions, not CAGED shapes";
|
|
93
|
+
readonly 'fretboard.positions.position': "position must be a whole number from 1, got \"{text}\"";
|
|
94
|
+
readonly 'fretboard.positions.shape': "Unknown shape \"{text}\": use C, A, G, E, D or 3nps";
|
|
95
|
+
readonly 'keyboard.fingering.finger': "fingering: fingers go from 1 (thumb) to 5 (little finger), got \"{text}\"";
|
|
96
|
+
readonly 'keyboard.fingering.autoNeedsScale': "fingering: auto goes with a major or minor scale (scale: G major): write one finger per note, e.g. fingering: 1 2 3 4 5";
|
|
97
|
+
readonly 'keyboard.fingering.autoUnknown': "fingering: auto knows the major, natural minor, harmonic minor and melodic minor scales: write the fingers for {scale}, root to root, e.g. fingering: 1 2 3 1 2 3 4 5";
|
|
98
|
+
readonly 'keyboard.piano.shell': "Shell voicings need a third and a seventh or sixth (C7, Cmaj7, Cm7, C6): {symbol} has none";
|
|
99
|
+
readonly 'keyboard.piano.rootless': "Rootless voicings are for major, minor, dominant (sus4 too) and half-diminished seventh or sixth chords and major or minor triads (Cmaj7, Cm7, C7, C7sus4, Cm7b5, C6, C, Cm): not {symbol}";
|
|
100
|
+
readonly 'keyboard.piano.octave': "octave: use a number from 0 to 8, got \"{text}\"";
|
|
101
|
+
readonly 'keyboard.piano.inversion': "inversion: use 0 (root position), 1, 2 or 3, got \"{text}\"";
|
|
102
|
+
readonly 'keyboard.piano.slashInversion': "{symbol} already says its bass: leave inversion out";
|
|
103
|
+
readonly 'keyboard.piano.inversionStyle': "inversion goes with close or open voicings, not {style}";
|
|
104
|
+
readonly 'keyboard.piano.inversionMax': "{symbol} has {notes} notes: inversion goes up to {max}";
|
|
105
|
+
readonly 'keyboard.piano.open': "Open voicings need three notes or more: {symbol} has {notes}";
|
|
106
|
+
readonly 'keyboard.piano.offKeys': "octave {octave} puts {symbol} off the piano's keys: try octave 3 or 4";
|
|
107
|
+
readonly 'keyboard.piano.inversionWord': "inversion: use root, first, second, third (or 0 to 3), got \"{text}\"";
|
|
108
|
+
readonly 'keyboard.piano.octaveMiddle': "octave: use a number from 0 to 8 (4 is middle C's), got \"{text}\"";
|
|
109
|
+
readonly 'keyboard.piano.voicing': "voicing: use close, open, shell, shell R-7, rootless A or rootless B, got \"{text}\"";
|
|
110
|
+
readonly 'keyboard.piano.key': "Unknown key \"{text}\": use e.g. key: C minor or key: Eb";
|
|
111
|
+
readonly 'keyboard.piano.resolvesTo': "resolves-to: write a chord, e.g. resolves-to: Cm, got \"{text}\"";
|
|
112
|
+
readonly 'keyboard.piano.hands': "hands: use left+right, left or right, got \"{text}\"";
|
|
113
|
+
readonly 'keyboard.title': "Keyboard: {title}";
|
|
114
|
+
readonly 'keyboard.hand': "{hand}: {keys}";
|
|
115
|
+
readonly 'keyboard.handMark.left': "LH";
|
|
116
|
+
readonly 'keyboard.handMark.right': "RH";
|
|
117
|
+
readonly 'keyboard.whiteKey': "White key {n}";
|
|
118
|
+
readonly 'keyboard.blackKey': "Black key {n}";
|
|
119
|
+
readonly 'keyboard.lit.root': "root";
|
|
120
|
+
readonly 'keyboard.lit.finger': "finger {finger}";
|
|
121
|
+
readonly 'keyboard.lit.keys': "Keys: {keys}.";
|
|
122
|
+
readonly 'circle.label': "Circle of fifths, {key}: {signature}{accidentals}; chords: {chords}";
|
|
123
|
+
readonly 'circle.or': "or";
|
|
124
|
+
readonly 'circle.mode.major': "major";
|
|
125
|
+
readonly 'circle.mode.minor': "minor";
|
|
126
|
+
readonly 'circle.mode.ionian': "ionian";
|
|
127
|
+
readonly 'circle.mode.dorian': "dorian";
|
|
128
|
+
readonly 'circle.mode.phrygian': "phrygian";
|
|
129
|
+
readonly 'circle.mode.lydian': "lydian";
|
|
130
|
+
readonly 'circle.mode.mixolydian': "mixolydian";
|
|
131
|
+
readonly 'circle.mode.aeolian': "aeolian";
|
|
132
|
+
readonly 'circle.mode.locrian': "locrian";
|
|
133
|
+
readonly 'circle.key': "Unknown key \"{text}\": use e.g. key: G, key: Em or key: D dorian";
|
|
134
|
+
readonly 'circle.mode': "Unknown mode \"{text}\": use major, minor, dorian, phrygian, lydian, mixolydian or locrian";
|
|
135
|
+
readonly 'circle.modeTwice': "key: {key} already says {mode}: leave out mode or write the key's note alone";
|
|
136
|
+
readonly 'circle.chords': "chords: use triads or sevenths, got \"{text}\"";
|
|
137
|
+
readonly 'circle.dominant': "dominant: use major (V, from the harmonic minor) or minor (v), got \"{text}\"";
|
|
138
|
+
readonly 'keyboard.piano.unknownChord': "Unknown chord \"{symbol}\"";
|
|
139
|
+
};
|