@tspro/web-music-score 4.0.1 → 4.1.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.
@@ -1,5 +1,5 @@
1
1
  import { N as Note, A as Accidental } from './note-eA2xPPiG.mjs';
2
- import { R as RhythmProps, N as NoteLength, h as NoteLengthStr, j as TupletRatio, c as Tempo, K as KeySignature, a as TimeSignature, T as TimeSignatureString } from './tempo-CtUhvJbr.mjs';
2
+ import { R as RhythmProps, N as NoteLength, i as NoteLengthStr, k as TupletRatio, d as Tempo, K as KeySignature, b as TimeSignature } from './tempo-S85Q7uJA.mjs';
3
3
  import { Vec2 } from '@tspro/ts-utils-lib';
4
4
 
5
5
  /**
@@ -20,31 +20,31 @@ declare class DivRect {
20
20
  * Create rectangle with left, right, top, bottom.
21
21
  * Properties centerX and centerY will be centered in the middle.
22
22
  *
23
- * @param left -
24
- * @param right -
25
- * @param top -
26
- * @param bottom -
23
+ * @param left - Left coordinate.
24
+ * @param right - Right coordinate.
25
+ * @param top - Top coordinate.
26
+ * @param bottom - Bottom coordinate.
27
27
  */
28
28
  constructor(left: number, right: number, top: number, bottom: number);
29
29
  /**
30
30
  * Create rectangle with full arguments.
31
31
  *
32
- * @param left -
33
- * @param centerX -
34
- * @param right -
35
- * @param top -
36
- * @param centerY -
37
- * @param bottom -
32
+ * @param left - Left coordinate.
33
+ * @param centerX - Center x-coordinate.
34
+ * @param right - Right coordinate.
35
+ * @param top - Top coordinate.
36
+ * @param centerY - Center y-coordinate.
37
+ * @param bottom - Bottom coordinate.
38
38
  */
39
39
  constructor(left: number, centerX: number, right: number, top: number, centerY: number, bottom: number);
40
40
  /**
41
41
  * Create rect from basic left, top, width and height arguments.
42
42
  *
43
- * @param left -
44
- * @param top -
45
- * @param width -
46
- * @param height -
47
- * @returns
43
+ * @param left - Left coordinate.
44
+ * @param top - Top coordinate.
45
+ * @param width - With.
46
+ * @param height - Height.
47
+ * @returns - DivRect.
48
48
  */
49
49
  static create(left: number, top: number, width: number, height: number): DivRect;
50
50
  /**
@@ -52,9 +52,9 @@ declare class DivRect {
52
52
  *
53
53
  * @param centerX - Center x-coordinate.
54
54
  * @param centerY - Center y-coordinate.
55
- * @param width -
56
- * @param height -
57
- * @returns
55
+ * @param width - Width.
56
+ * @param height - Height.
57
+ * @returns - DivRect.
58
58
  */
59
59
  static createCentered(centerX: number, centerY: number, width: number, height: number): DivRect;
60
60
  /**
@@ -64,136 +64,142 @@ declare class DivRect {
64
64
  * @param rightw - Right section width.
65
65
  * @param toph - Top section height.
66
66
  * @param bottomh - Bottomsection height.
67
- * @returns
67
+ * @returns - DivRect.
68
68
  */
69
69
  static createSections(leftw: number, rightw: number, toph: number, bottomh: number): DivRect;
70
70
  /**
71
- * Width.
71
+ * Width getter.
72
72
  */
73
73
  get width(): number;
74
74
  /**
75
- * Height.
75
+ * Height getter.
76
76
  */
77
77
  get height(): number;
78
78
  /**
79
- * Left section width.
79
+ * Left section width getter.
80
80
  */
81
81
  get leftw(): number;
82
82
  /**
83
- * Right section width.
83
+ * Right section width getter.
84
84
  */
85
85
  get rightw(): number;
86
86
  /**
87
- * Top section height.
87
+ * Top section height getter.
88
88
  */
89
89
  get toph(): number;
90
90
  /**
91
- * Bottom section height.
91
+ * Bottom section height getter.
92
92
  */
93
93
  get bottomh(): number;
94
94
  /**
95
95
  * Does this Rect contain given (x, y)-point?
96
96
  *
97
- * @param x -
98
- * @param y -
99
- * @returns
97
+ * @param x - X-coordinate.
98
+ * @param y - Y-coordinate.
99
+ * @returns - True/false.
100
100
  */
101
101
  contains(x: number, y: number): boolean;
102
102
  /**
103
103
  * Do a and b rects overlap?
104
104
  *
105
- * @param a -
106
- * @param b -
107
- * @returns
105
+ * @param a - DivRect a.
106
+ * @param b - DivRect b.
107
+ * @returns - True/false.
108
108
  */
109
109
  static overlap(a: DivRect, b: DivRect): boolean;
110
110
  /**
111
111
  * Do horizontal measures of a and b rects overlap?
112
112
  *
113
- * @param a -
114
- * @param b -
115
- * @returns
113
+ * @param a - DivRect a.
114
+ * @param b - DivRect b.
115
+ * @returns - True/false.
116
116
  */
117
117
  static overlapX(a: DivRect, b: DivRect): boolean;
118
118
  /**
119
119
  * Check if this Rect equals with given Rect.
120
- * @param b -
121
- * @returns
120
+ * @param a - DivRect a.
121
+ * @param b - DivRect b.
122
+ * @returns - True/false.
122
123
  */
123
124
  static equals(a: DivRect | null | undefined, b: DivRect | null | undefined): boolean;
124
125
  /**
125
- * Check if frame (ignoring centerX/Y) of this Rect equals with given Rect, ignoring centerX and centerY.
126
+ * Check if frame of this Rect equals with given Rect, ignoring center x- and center y-coordinates.
126
127
  *
127
- * @param b -
128
- * @returns
128
+ * @param a - DivRect a.
129
+ * @param b - DivRect b.
130
+ * @returns - True/false.
129
131
  */
130
132
  static equalsFrame(a: DivRect | null | undefined, b: DivRect | null | undefined): boolean;
131
133
  /**
132
134
  * Created duplicate of this Rect.
133
135
  *
134
- * @returns
136
+ * @returns - Duplicate.
135
137
  */
136
138
  copy(): DivRect;
137
139
  /**
138
140
  * Move this rect by (dx, dy). Modifies this Rect.
139
141
  *
140
- * @param dx -
141
- * @param dy -
142
- * @returns
142
+ * @param dx - Offset amount in x-direction.
143
+ * @param dy - Offset amount in y-direction.
144
+ * @returns - This DivRect instance.
143
145
  */
144
146
  offsetInPlace(dx: number, dy: number): DivRect;
145
147
  /**
146
148
  * Move this rect by (dx, dy). Immutable, returns modified copy.
147
149
  *
148
- * @param dx -
149
- * @param dy -
150
- * @returns
150
+ * @param dx - Offset amount in x-direction.
151
+ * @param dy - Offset amount in y-direction.
152
+ * @returns - DivRect copy with applied offset.
151
153
  */
152
154
  offsetCopy(dx: number, dy: number): DivRect;
153
155
  /**
154
156
  * Expand this Rect by given Rect. Modifies this Rect.
155
157
  *
156
- * @param rect -
157
- * @returns
158
+ * @param rect - DivRect to expand this instance with.
159
+ * @returns - This DivRect instance.
158
160
  */
159
161
  expandInPlace(rect: DivRect): DivRect;
160
162
  /**
161
163
  * Expand this Rect by given Rect. Immutable, returns modified copy.
162
164
  *
163
- * @param rect -
164
- * @returns
165
+ * @param rect - DivRect to expand this instance with.
166
+ * @returns - Expanded copy of this DivRect.
165
167
  */
166
168
  expandCopy(rect: DivRect): DivRect;
167
169
  /**
168
170
  * Clip this Rect by given Rect. Mmodifies this Rect.
169
171
  *
170
- * @param clipRect -
171
- * @returns
172
+ * @param clipRect - DivRect to clip this instance with.
173
+ * @returns - This DivRect instance.
172
174
  */
173
175
  clipInPlace(clipRect: DivRect): DivRect;
174
176
  /**
175
177
  * Clip this Rect by given Rect. Immutable, return modified copy.
176
178
  *
177
- * @param clipRect -
178
- * @returns
179
+ * @param clipRect - DivRecto to clip this instance with.
180
+ * @returns - Clipped DivRect copy.
179
181
  */
180
182
  clipCopy(clipRect: DivRect): DivRect;
181
183
  /**
182
184
  * Scale Rect. Anchor pos is (centerX, centerY). Modifies this Rect.
183
185
  *
184
- * @param scaleX -
185
- * @param scaleY -
186
- * @returns Copy of scaled Rect.
186
+ * @param scaleX - Scale x-amount.
187
+ * @param scaleY - Scale y-amount. If undefined then scale x-amount is used.
188
+ * @returns This DivRect instance.
187
189
  */
188
190
  scaleInPlace(scaleX: number, scaleY?: number): DivRect;
189
191
  /**
190
192
  * Scale Rect. Anchor pos is (centerX, centerY). Immutable, returns modified copy.
191
193
  *
192
- * @param scaleX -
193
- * @param scaleY -
194
- * @returns Copy of scaled Rect.
194
+ * @param scaleX - Scale x-amount.
195
+ * @param scaleY - Scale y-amount. If undefined then scale x-amount is used.
196
+ * @returns Scaled copy of this DivRect.
195
197
  */
196
198
  scaleCopy(scaleX: number, scaleY?: number): DivRect;
199
+ /**
200
+ * Get this DivRect instance.
201
+ * @returns - This DivRect instance.
202
+ */
197
203
  getRect(): DivRect;
198
204
  }
199
205
 
@@ -1054,7 +1060,7 @@ declare class ObjMeasure extends MusicObject {
1054
1060
  setKeySignature(...args: unknown[]): void;
1055
1061
  updateKeySignature(): void;
1056
1062
  getTimeSignature(): TimeSignature;
1057
- setTimeSignature(timeSignature: TimeSignature | TimeSignatureString): void;
1063
+ setTimeSignature(timeSignature: TimeSignature): void;
1058
1064
  updateTimeSignature(): void;
1059
1065
  getTempo(): Tempo;
1060
1066
  setTempo(beatsPerMinute: number, beatLength?: NoteLength | NoteLengthStr, dotted?: boolean | number): void;
@@ -1,5 +1,5 @@
1
1
  import { N as Note, A as Accidental } from './note-eA2xPPiG.js';
2
- import { R as RhythmProps, N as NoteLength, h as NoteLengthStr, j as TupletRatio, c as Tempo, K as KeySignature, a as TimeSignature, T as TimeSignatureString } from './tempo-Dt8aHpol.js';
2
+ import { R as RhythmProps, N as NoteLength, i as NoteLengthStr, k as TupletRatio, d as Tempo, K as KeySignature, b as TimeSignature } from './tempo-Bp1UzsrZ.js';
3
3
  import { Vec2 } from '@tspro/ts-utils-lib';
4
4
 
5
5
  /**
@@ -20,31 +20,31 @@ declare class DivRect {
20
20
  * Create rectangle with left, right, top, bottom.
21
21
  * Properties centerX and centerY will be centered in the middle.
22
22
  *
23
- * @param left -
24
- * @param right -
25
- * @param top -
26
- * @param bottom -
23
+ * @param left - Left coordinate.
24
+ * @param right - Right coordinate.
25
+ * @param top - Top coordinate.
26
+ * @param bottom - Bottom coordinate.
27
27
  */
28
28
  constructor(left: number, right: number, top: number, bottom: number);
29
29
  /**
30
30
  * Create rectangle with full arguments.
31
31
  *
32
- * @param left -
33
- * @param centerX -
34
- * @param right -
35
- * @param top -
36
- * @param centerY -
37
- * @param bottom -
32
+ * @param left - Left coordinate.
33
+ * @param centerX - Center x-coordinate.
34
+ * @param right - Right coordinate.
35
+ * @param top - Top coordinate.
36
+ * @param centerY - Center y-coordinate.
37
+ * @param bottom - Bottom coordinate.
38
38
  */
39
39
  constructor(left: number, centerX: number, right: number, top: number, centerY: number, bottom: number);
40
40
  /**
41
41
  * Create rect from basic left, top, width and height arguments.
42
42
  *
43
- * @param left -
44
- * @param top -
45
- * @param width -
46
- * @param height -
47
- * @returns
43
+ * @param left - Left coordinate.
44
+ * @param top - Top coordinate.
45
+ * @param width - With.
46
+ * @param height - Height.
47
+ * @returns - DivRect.
48
48
  */
49
49
  static create(left: number, top: number, width: number, height: number): DivRect;
50
50
  /**
@@ -52,9 +52,9 @@ declare class DivRect {
52
52
  *
53
53
  * @param centerX - Center x-coordinate.
54
54
  * @param centerY - Center y-coordinate.
55
- * @param width -
56
- * @param height -
57
- * @returns
55
+ * @param width - Width.
56
+ * @param height - Height.
57
+ * @returns - DivRect.
58
58
  */
59
59
  static createCentered(centerX: number, centerY: number, width: number, height: number): DivRect;
60
60
  /**
@@ -64,136 +64,142 @@ declare class DivRect {
64
64
  * @param rightw - Right section width.
65
65
  * @param toph - Top section height.
66
66
  * @param bottomh - Bottomsection height.
67
- * @returns
67
+ * @returns - DivRect.
68
68
  */
69
69
  static createSections(leftw: number, rightw: number, toph: number, bottomh: number): DivRect;
70
70
  /**
71
- * Width.
71
+ * Width getter.
72
72
  */
73
73
  get width(): number;
74
74
  /**
75
- * Height.
75
+ * Height getter.
76
76
  */
77
77
  get height(): number;
78
78
  /**
79
- * Left section width.
79
+ * Left section width getter.
80
80
  */
81
81
  get leftw(): number;
82
82
  /**
83
- * Right section width.
83
+ * Right section width getter.
84
84
  */
85
85
  get rightw(): number;
86
86
  /**
87
- * Top section height.
87
+ * Top section height getter.
88
88
  */
89
89
  get toph(): number;
90
90
  /**
91
- * Bottom section height.
91
+ * Bottom section height getter.
92
92
  */
93
93
  get bottomh(): number;
94
94
  /**
95
95
  * Does this Rect contain given (x, y)-point?
96
96
  *
97
- * @param x -
98
- * @param y -
99
- * @returns
97
+ * @param x - X-coordinate.
98
+ * @param y - Y-coordinate.
99
+ * @returns - True/false.
100
100
  */
101
101
  contains(x: number, y: number): boolean;
102
102
  /**
103
103
  * Do a and b rects overlap?
104
104
  *
105
- * @param a -
106
- * @param b -
107
- * @returns
105
+ * @param a - DivRect a.
106
+ * @param b - DivRect b.
107
+ * @returns - True/false.
108
108
  */
109
109
  static overlap(a: DivRect, b: DivRect): boolean;
110
110
  /**
111
111
  * Do horizontal measures of a and b rects overlap?
112
112
  *
113
- * @param a -
114
- * @param b -
115
- * @returns
113
+ * @param a - DivRect a.
114
+ * @param b - DivRect b.
115
+ * @returns - True/false.
116
116
  */
117
117
  static overlapX(a: DivRect, b: DivRect): boolean;
118
118
  /**
119
119
  * Check if this Rect equals with given Rect.
120
- * @param b -
121
- * @returns
120
+ * @param a - DivRect a.
121
+ * @param b - DivRect b.
122
+ * @returns - True/false.
122
123
  */
123
124
  static equals(a: DivRect | null | undefined, b: DivRect | null | undefined): boolean;
124
125
  /**
125
- * Check if frame (ignoring centerX/Y) of this Rect equals with given Rect, ignoring centerX and centerY.
126
+ * Check if frame of this Rect equals with given Rect, ignoring center x- and center y-coordinates.
126
127
  *
127
- * @param b -
128
- * @returns
128
+ * @param a - DivRect a.
129
+ * @param b - DivRect b.
130
+ * @returns - True/false.
129
131
  */
130
132
  static equalsFrame(a: DivRect | null | undefined, b: DivRect | null | undefined): boolean;
131
133
  /**
132
134
  * Created duplicate of this Rect.
133
135
  *
134
- * @returns
136
+ * @returns - Duplicate.
135
137
  */
136
138
  copy(): DivRect;
137
139
  /**
138
140
  * Move this rect by (dx, dy). Modifies this Rect.
139
141
  *
140
- * @param dx -
141
- * @param dy -
142
- * @returns
142
+ * @param dx - Offset amount in x-direction.
143
+ * @param dy - Offset amount in y-direction.
144
+ * @returns - This DivRect instance.
143
145
  */
144
146
  offsetInPlace(dx: number, dy: number): DivRect;
145
147
  /**
146
148
  * Move this rect by (dx, dy). Immutable, returns modified copy.
147
149
  *
148
- * @param dx -
149
- * @param dy -
150
- * @returns
150
+ * @param dx - Offset amount in x-direction.
151
+ * @param dy - Offset amount in y-direction.
152
+ * @returns - DivRect copy with applied offset.
151
153
  */
152
154
  offsetCopy(dx: number, dy: number): DivRect;
153
155
  /**
154
156
  * Expand this Rect by given Rect. Modifies this Rect.
155
157
  *
156
- * @param rect -
157
- * @returns
158
+ * @param rect - DivRect to expand this instance with.
159
+ * @returns - This DivRect instance.
158
160
  */
159
161
  expandInPlace(rect: DivRect): DivRect;
160
162
  /**
161
163
  * Expand this Rect by given Rect. Immutable, returns modified copy.
162
164
  *
163
- * @param rect -
164
- * @returns
165
+ * @param rect - DivRect to expand this instance with.
166
+ * @returns - Expanded copy of this DivRect.
165
167
  */
166
168
  expandCopy(rect: DivRect): DivRect;
167
169
  /**
168
170
  * Clip this Rect by given Rect. Mmodifies this Rect.
169
171
  *
170
- * @param clipRect -
171
- * @returns
172
+ * @param clipRect - DivRect to clip this instance with.
173
+ * @returns - This DivRect instance.
172
174
  */
173
175
  clipInPlace(clipRect: DivRect): DivRect;
174
176
  /**
175
177
  * Clip this Rect by given Rect. Immutable, return modified copy.
176
178
  *
177
- * @param clipRect -
178
- * @returns
179
+ * @param clipRect - DivRecto to clip this instance with.
180
+ * @returns - Clipped DivRect copy.
179
181
  */
180
182
  clipCopy(clipRect: DivRect): DivRect;
181
183
  /**
182
184
  * Scale Rect. Anchor pos is (centerX, centerY). Modifies this Rect.
183
185
  *
184
- * @param scaleX -
185
- * @param scaleY -
186
- * @returns Copy of scaled Rect.
186
+ * @param scaleX - Scale x-amount.
187
+ * @param scaleY - Scale y-amount. If undefined then scale x-amount is used.
188
+ * @returns This DivRect instance.
187
189
  */
188
190
  scaleInPlace(scaleX: number, scaleY?: number): DivRect;
189
191
  /**
190
192
  * Scale Rect. Anchor pos is (centerX, centerY). Immutable, returns modified copy.
191
193
  *
192
- * @param scaleX -
193
- * @param scaleY -
194
- * @returns Copy of scaled Rect.
194
+ * @param scaleX - Scale x-amount.
195
+ * @param scaleY - Scale y-amount. If undefined then scale x-amount is used.
196
+ * @returns Scaled copy of this DivRect.
195
197
  */
196
198
  scaleCopy(scaleX: number, scaleY?: number): DivRect;
199
+ /**
200
+ * Get this DivRect instance.
201
+ * @returns - This DivRect instance.
202
+ */
197
203
  getRect(): DivRect;
198
204
  }
199
205
 
@@ -1054,7 +1060,7 @@ declare class ObjMeasure extends MusicObject {
1054
1060
  setKeySignature(...args: unknown[]): void;
1055
1061
  updateKeySignature(): void;
1056
1062
  getTimeSignature(): TimeSignature;
1057
- setTimeSignature(timeSignature: TimeSignature | TimeSignatureString): void;
1063
+ setTimeSignature(timeSignature: TimeSignature): void;
1058
1064
  updateTimeSignature(): void;
1059
1065
  getTempo(): Tempo;
1060
1066
  setTempo(beatsPerMinute: number, beatLength?: NoteLength | NoteLengthStr, dotted?: boolean | number): void;
@@ -1,6 +1,6 @@
1
- import { M as MDocument } from '../music-objects-DJQ4d2OA.mjs';
1
+ import { M as MDocument } from '../music-objects-DIaqNPjs.mjs';
2
2
  import '../note-eA2xPPiG.mjs';
3
- import '../tempo-CtUhvJbr.mjs';
3
+ import '../tempo-S85Q7uJA.mjs';
4
4
  import '@tspro/ts-utils-lib';
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { M as MDocument } from '../music-objects-Dc3kR-XF.js';
1
+ import { M as MDocument } from '../music-objects-xJJNlFwK.js';
2
2
  import '../note-eA2xPPiG.js';
3
- import '../tempo-Dt8aHpol.js';
3
+ import '../tempo-Bp1UzsrZ.js';
4
4
  import '@tspro/ts-utils-lib';
5
5
 
6
6
  /**
@@ -1,4 +1,4 @@
1
- /* WebMusicScore v4.0.1 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
1
+ /* WebMusicScore v4.1.0 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -30,7 +30,7 @@ module.exports = __toCommonJS(pieces_exports);
30
30
  // src/pieces/frere-jacques.ts
31
31
  var import_score = require("@tspro/web-music-score/score");
32
32
  function createFrereJacques() {
33
- return new import_score.DocumentBuilder().setHeader("Frere Jacques").setScoreConfiguration([
33
+ return new import_score.DocumentBuilder().setHeader("Fr\xE8re Jacques", "Traditional").setScoreConfiguration([
34
34
  { type: "staff", clef: "G", voiceIds: [0] },
35
35
  { type: "staff", clef: "F", voiceIds: [1] }
36
36
  ]).setMeasuresPerRow(2).addMeasure().setKeySignature("D Major").setTimeSignature("4/4").addNote(0, "D4", "4n", { stem: "up" }).addNote(0, "E4", "4n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addRest(1, "1n", { staffPos: "F3" }).addMeasure().addNote(0, "D4", "4n").addNote(0, "E4", "4n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addRest(1, "1n", { staffPos: "F3" }).addMeasure().addNavigation("startRepeat").addNote(0, "F#4", "4n").addNote(0, "G4", "4n").addNote(0, "A4", "2n").addNote(1, "D3", "4n", { stem: "down" }).addNote(1, "E3", "4n").addNote(1, "F#3", "4n").addNote(1, "D3", "4n").addMeasure().addNote(0, "F#4", "4n").addNote(0, "G4", "4n").addNote(0, "A4", "2n").addNote(1, "D3", "4n").addNote(1, "E3", "4n").addNote(1, "F#3", "4n").addNote(1, "D3", "4n").addMeasure().addNote(0, "A4", "8n").addNote(0, "B4", "8n").addNote(0, "A4", "8n").addNote(0, "G4", "8n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(1, "F#3", "4n").addNote(1, "G3", "4n").addNote(1, "A3", "2n").addMeasure().addNote(0, "A4", "8n").addNote(0, "B4", "8n").addNote(0, "A4", "8n").addNote(0, "G4", "8n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(1, "F#3", "4n").addNote(1, "G3", "4n").addNote(1, "A3", "2n").addMeasure().addNote(0, "D4", "4n").addChord(0, ["C#4", "A4"], "4n").addNote(0, "D4", "4n").addRest(0, "4n").addNote(1, "A3", "8n").addNote(1, "B3", "8n").addNote(1, "A3", "8n").addNote(1, "G3", "8n").addNote(1, "F#3", "4n").addNote(1, "D3", "4n").addMeasure().addNote(0, "D4", "4n").addChord(0, ["C#4", "A4"], "4n").addNote(0, "D4", "4n").addRest(0, "4n").addNote(1, "A3", "8n").addNote(1, "B3", "8n").addNote(1, "A3", "8n").addNote(1, "G3", "8n").addNote(1, "F#3", "4n").addNote(1, "D3", "4n").addMeasure().setMeasuresPerRow(4).addNavigation("ending", 1).addNote(0, "D4", "4n").addNote(0, "E4", "4n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(1, "D3", "4n").addChord(1, ["C#3", "A3"], "4n").addNote(1, "D3", "4n").addRest(1, "4n").addMeasure().addNavigation("endRepeat").addNote(0, "D4", "4n").addNote(0, "E4", "4n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(1, "D3", "4n").addChord(1, ["C#3", "A3"], "4n").addNote(1, "D3", "4n").addRest(1, "4n").addMeasure().addNavigation("ending", 2).addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(1, "A3", "4n").addNote(1, "F#3", "4n").addNote(1, "A3", "4n").addNote(1, "F#3", "4n").addMeasure().addNote(0, "A3", "4n").addNote(0, "C#4", "8n").addNote(0, "C#4", "8n").addNote(0, "D4", "2n").addNote(1, "D3", "4n").addNote(1, "E3", "4n").addNote(1, "F#3", "2n").getDocument();
@@ -1,10 +1,10 @@
1
- /* WebMusicScore v4.0.1 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
2
- import "../chunk-YFPLOHP2.mjs";
1
+ /* WebMusicScore v4.1.0 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
2
+ import "../chunk-MHNTJ6FU.mjs";
3
3
 
4
4
  // src/pieces/frere-jacques.ts
5
5
  import { DocumentBuilder } from "@tspro/web-music-score/score";
6
6
  function createFrereJacques() {
7
- return new DocumentBuilder().setHeader("Frere Jacques").setScoreConfiguration([
7
+ return new DocumentBuilder().setHeader("Fr\xE8re Jacques", "Traditional").setScoreConfiguration([
8
8
  { type: "staff", clef: "G", voiceIds: [0] },
9
9
  { type: "staff", clef: "F", voiceIds: [1] }
10
10
  ]).setMeasuresPerRow(2).addMeasure().setKeySignature("D Major").setTimeSignature("4/4").addNote(0, "D4", "4n", { stem: "up" }).addNote(0, "E4", "4n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addRest(1, "1n", { staffPos: "F3" }).addMeasure().addNote(0, "D4", "4n").addNote(0, "E4", "4n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addRest(1, "1n", { staffPos: "F3" }).addMeasure().addNavigation("startRepeat").addNote(0, "F#4", "4n").addNote(0, "G4", "4n").addNote(0, "A4", "2n").addNote(1, "D3", "4n", { stem: "down" }).addNote(1, "E3", "4n").addNote(1, "F#3", "4n").addNote(1, "D3", "4n").addMeasure().addNote(0, "F#4", "4n").addNote(0, "G4", "4n").addNote(0, "A4", "2n").addNote(1, "D3", "4n").addNote(1, "E3", "4n").addNote(1, "F#3", "4n").addNote(1, "D3", "4n").addMeasure().addNote(0, "A4", "8n").addNote(0, "B4", "8n").addNote(0, "A4", "8n").addNote(0, "G4", "8n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(1, "F#3", "4n").addNote(1, "G3", "4n").addNote(1, "A3", "2n").addMeasure().addNote(0, "A4", "8n").addNote(0, "B4", "8n").addNote(0, "A4", "8n").addNote(0, "G4", "8n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(1, "F#3", "4n").addNote(1, "G3", "4n").addNote(1, "A3", "2n").addMeasure().addNote(0, "D4", "4n").addChord(0, ["C#4", "A4"], "4n").addNote(0, "D4", "4n").addRest(0, "4n").addNote(1, "A3", "8n").addNote(1, "B3", "8n").addNote(1, "A3", "8n").addNote(1, "G3", "8n").addNote(1, "F#3", "4n").addNote(1, "D3", "4n").addMeasure().addNote(0, "D4", "4n").addChord(0, ["C#4", "A4"], "4n").addNote(0, "D4", "4n").addRest(0, "4n").addNote(1, "A3", "8n").addNote(1, "B3", "8n").addNote(1, "A3", "8n").addNote(1, "G3", "8n").addNote(1, "F#3", "4n").addNote(1, "D3", "4n").addMeasure().setMeasuresPerRow(4).addNavigation("ending", 1).addNote(0, "D4", "4n").addNote(0, "E4", "4n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(1, "D3", "4n").addChord(1, ["C#3", "A3"], "4n").addNote(1, "D3", "4n").addRest(1, "4n").addMeasure().addNavigation("endRepeat").addNote(0, "D4", "4n").addNote(0, "E4", "4n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(1, "D3", "4n").addChord(1, ["C#3", "A3"], "4n").addNote(1, "D3", "4n").addRest(1, "4n").addMeasure().addNavigation("ending", 2).addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(0, "F#4", "4n").addNote(0, "D4", "4n").addNote(1, "A3", "4n").addNote(1, "F#3", "4n").addNote(1, "A3", "4n").addNote(1, "F#3", "4n").addMeasure().addNote(0, "A3", "4n").addNote(0, "C#4", "8n").addNote(0, "C#4", "8n").addNote(0, "D4", "2n").addNote(1, "D3", "4n").addNote(1, "E3", "4n").addNote(1, "F#3", "2n").getDocument();
@@ -1,10 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { c as Scale, S as ScaleType } from '../scale-BbDJTbrG.mjs';
3
+ import { c as Scale, S as ScaleType } from '../scale-bnD0WnMV.mjs';
4
4
  import { b as PitchNotation, G as GuitarNoteLabel, N as Note } from '../note-eA2xPPiG.mjs';
5
5
  import { H as Handedness } from '../guitar-DdexKdN6.mjs';
6
- import { D as DivRect, M as MDocument, l as ScoreEventListener, n as MRenderer, o as MPlaybackButtons } from '../music-objects-DJQ4d2OA.mjs';
7
- import '../tempo-CtUhvJbr.mjs';
6
+ import { D as DivRect, M as MDocument, l as ScoreEventListener, n as MRenderer, o as MPlaybackButtons } from '../music-objects-DIaqNPjs.mjs';
7
+ import '../tempo-S85Q7uJA.mjs';
8
8
  import '@tspro/ts-utils-lib';
9
9
 
10
10
  interface CircleOfFifthsProps {
@@ -1,10 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { c as Scale, S as ScaleType } from '../scale-B2Icbetz.js';
3
+ import { c as Scale, S as ScaleType } from '../scale-DQNA-YLD.js';
4
4
  import { b as PitchNotation, G as GuitarNoteLabel, N as Note } from '../note-eA2xPPiG.js';
5
5
  import { H as Handedness } from '../guitar-CaZJDA05.js';
6
- import { D as DivRect, M as MDocument, l as ScoreEventListener, n as MRenderer, o as MPlaybackButtons } from '../music-objects-Dc3kR-XF.js';
7
- import '../tempo-Dt8aHpol.js';
6
+ import { D as DivRect, M as MDocument, l as ScoreEventListener, n as MRenderer, o as MPlaybackButtons } from '../music-objects-xJJNlFwK.js';
7
+ import '../tempo-Bp1UzsrZ.js';
8
8
  import '@tspro/ts-utils-lib';
9
9
 
10
10
  interface CircleOfFifthsProps {
@@ -1,4 +1,4 @@
1
- /* WebMusicScore v4.0.1 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
1
+ /* WebMusicScore v4.1.0 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
2
2
  "use strict";
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -1,7 +1,7 @@
1
- /* WebMusicScore v4.0.1 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
1
+ /* WebMusicScore v4.1.0 | (c) 2023 PahkaSoft | MIT License | Includes: Tone.js (MIT License) */
2
2
  import {
3
3
  __publicField
4
- } from "../chunk-YFPLOHP2.mjs";
4
+ } from "../chunk-MHNTJ6FU.mjs";
5
5
 
6
6
  // src/react-ui/circle-of-fifths.tsx
7
7
  import * as React from "react";
@@ -1,5 +1,5 @@
1
1
  import { N as Note, S as SymbolSet } from './note-eA2xPPiG.js';
2
- import { K as KeySignature } from './tempo-Dt8aHpol.js';
2
+ import { K as KeySignature } from './tempo-Bp1UzsrZ.js';
3
3
 
4
4
  /** Interval direction type. */
5
5
  type IntervalDirection = "Unison" | "Ascending" | "Descending";
@@ -1,5 +1,5 @@
1
1
  import { N as Note, S as SymbolSet } from './note-eA2xPPiG.mjs';
2
- import { K as KeySignature } from './tempo-CtUhvJbr.mjs';
2
+ import { K as KeySignature } from './tempo-S85Q7uJA.mjs';
3
3
 
4
4
  /** Interval direction type. */
5
5
  type IntervalDirection = "Unison" | "Ascending" | "Descending";