@sudobility/music_types 0.13.8 → 0.13.10
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/dist/domain/notation/notation-icon-art.d.ts +82 -0
- package/dist/domain/notation/notation-icon-art.d.ts.map +1 -0
- package/dist/domain/notation/notation-icon-art.js +1049 -0
- package/dist/domain/notation/notation-icon-art.js.map +1 -0
- package/dist/domain/score/transport-state.d.ts +15 -0
- package/dist/domain/score/transport-state.d.ts.map +1 -0
- package/dist/domain/score/transport-state.js +14 -0
- package/dist/domain/score/transport-state.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/model/score.d.ts +14 -0
- package/dist/model/score.d.ts.map +1 -1
- package/dist/model/score.js +21 -0
- package/dist/model/score.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1049 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The notation glyphs, as data.
|
|
3
|
+
*
|
|
4
|
+
* **Generated — do not edit by hand.** The source of truth is
|
|
5
|
+
* `music_app/src/components/icons/notation-icons.tsx`, rendered and serialized
|
|
6
|
+
* by `music_app/scripts/generate-notation-icon-art.mjs`. Re-run that after
|
|
7
|
+
* changing an icon.
|
|
8
|
+
*
|
|
9
|
+
* Here rather than in an app because two of them draw these: the web toolbar
|
|
10
|
+
* and the React Native one. A second copy would drift from the first the moment
|
|
11
|
+
* either was tuned, and the drift would be invisible — a glyph a pixel off is
|
|
12
|
+
* not something a test notices or a reader can name.
|
|
13
|
+
*
|
|
14
|
+
* Data rather than components for the same reason `icon-art.ts` next door is:
|
|
15
|
+
* this package must work on the backend and add no dependencies, so it cannot
|
|
16
|
+
* hold JSX. Each app replays the shapes with its own primitives — `<path>` on
|
|
17
|
+
* the web, `react-native-svg`'s `Path` on native.
|
|
18
|
+
*/
|
|
19
|
+
/** Every glyph is authored in a 24×24 box. */
|
|
20
|
+
export const NOTATION_ICON_VIEWBOX = 24;
|
|
21
|
+
/**
|
|
22
|
+
* The closed vocabulary, as an array with the type read off it.
|
|
23
|
+
*
|
|
24
|
+
* A union has no runtime form, so anything that must *validate* a name would
|
|
25
|
+
* otherwise write the list out again.
|
|
26
|
+
*/
|
|
27
|
+
export const NOTATION_ICON_NAMES = [
|
|
28
|
+
"AddMeasureIcon",
|
|
29
|
+
"ArpeggioIcon",
|
|
30
|
+
"ArticulationIcon",
|
|
31
|
+
"BeamBreakIcon",
|
|
32
|
+
"BeamNoneIcon",
|
|
33
|
+
"ChordIcon",
|
|
34
|
+
"ContinuousLayoutIcon",
|
|
35
|
+
"CrescendoIcon",
|
|
36
|
+
"DeleteMeasureIcon",
|
|
37
|
+
"DiminuendoIcon",
|
|
38
|
+
"DottedIcon",
|
|
39
|
+
"DoubleFlatIcon",
|
|
40
|
+
"DoubleSharpIcon",
|
|
41
|
+
"EighthNoteIcon",
|
|
42
|
+
"FermataIcon",
|
|
43
|
+
"FlatIcon",
|
|
44
|
+
"GoToStartIcon",
|
|
45
|
+
"HalfNoteIcon",
|
|
46
|
+
"InsertModeIcon",
|
|
47
|
+
"InsertNoteIcon",
|
|
48
|
+
"InsertRestIcon",
|
|
49
|
+
"MetronomeIcon",
|
|
50
|
+
"NaturalIcon",
|
|
51
|
+
"NextMeasureIcon",
|
|
52
|
+
"OrnamentIcon",
|
|
53
|
+
"PageLayoutIcon",
|
|
54
|
+
"PreviousMeasureIcon",
|
|
55
|
+
"QuantizeIcon",
|
|
56
|
+
"QuarterNoteIcon",
|
|
57
|
+
"ReplaceModeIcon",
|
|
58
|
+
"SelectAllIcon",
|
|
59
|
+
"SharpIcon",
|
|
60
|
+
"SixteenthNoteIcon",
|
|
61
|
+
"SlurIcon",
|
|
62
|
+
"SoloIcon",
|
|
63
|
+
"SunMoonIcon",
|
|
64
|
+
"ThirtySecondNoteIcon",
|
|
65
|
+
"TieIcon",
|
|
66
|
+
"TripletIcon",
|
|
67
|
+
"WholeNoteIcon",
|
|
68
|
+
];
|
|
69
|
+
/**
|
|
70
|
+
* A record, never a parallel array: adding a name above fails to compile until
|
|
71
|
+
* its shapes are supplied here, where an array would silently offer the old set.
|
|
72
|
+
*/
|
|
73
|
+
export const NOTATION_ICONS = {
|
|
74
|
+
AddMeasureIcon: [
|
|
75
|
+
{
|
|
76
|
+
kind: "rect",
|
|
77
|
+
x: 3,
|
|
78
|
+
y: 7,
|
|
79
|
+
width: 1.4,
|
|
80
|
+
height: 10,
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
kind: "rect",
|
|
84
|
+
x: 14,
|
|
85
|
+
y: 7,
|
|
86
|
+
width: 1.4,
|
|
87
|
+
height: 10,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
kind: "rect",
|
|
91
|
+
x: 3,
|
|
92
|
+
y: 11.3,
|
|
93
|
+
width: 12.4,
|
|
94
|
+
height: 1.2,
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
kind: "rect",
|
|
98
|
+
x: 16.4,
|
|
99
|
+
y: 3.2,
|
|
100
|
+
width: 6.4,
|
|
101
|
+
height: 1.9,
|
|
102
|
+
rx: 0.6,
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
kind: "rect",
|
|
106
|
+
x: 18.65,
|
|
107
|
+
y: 0.95,
|
|
108
|
+
width: 1.9,
|
|
109
|
+
height: 6.4,
|
|
110
|
+
rx: 0.6,
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
ArpeggioIcon: [
|
|
114
|
+
{
|
|
115
|
+
kind: "path",
|
|
116
|
+
d: "M7 20c-2-2 2-4 0-6s2-4 0-6",
|
|
117
|
+
stroke: "currentColor",
|
|
118
|
+
strokeWidth: 1.6,
|
|
119
|
+
strokeLinecap: "round",
|
|
120
|
+
strokeLinejoin: "round",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
kind: "circle",
|
|
124
|
+
cx: 15,
|
|
125
|
+
cy: 7,
|
|
126
|
+
r: 2.1,
|
|
127
|
+
fill: "currentColor",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
kind: "circle",
|
|
131
|
+
cx: 15,
|
|
132
|
+
cy: 13,
|
|
133
|
+
r: 2.1,
|
|
134
|
+
fill: "currentColor",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
kind: "circle",
|
|
138
|
+
cx: 15,
|
|
139
|
+
cy: 19,
|
|
140
|
+
r: 2.1,
|
|
141
|
+
fill: "currentColor",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
ArticulationIcon: [
|
|
145
|
+
{
|
|
146
|
+
kind: "ellipse",
|
|
147
|
+
cx: 12,
|
|
148
|
+
cy: 17.2,
|
|
149
|
+
rx: 3.6,
|
|
150
|
+
ry: 2.55,
|
|
151
|
+
transform: "rotate(-20 12 17.2)",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
kind: "path",
|
|
155
|
+
d: "M5.4 6 L18.6 9.6 L18.6 11.8 L5.4 8.2 Z",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
kind: "path",
|
|
159
|
+
d: "M18.6 9.6 L5.4 13.2 L5.4 11 L18.6 7.4 Z",
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
BeamBreakIcon: [
|
|
163
|
+
{
|
|
164
|
+
kind: "path",
|
|
165
|
+
d: "M4 18V7M9 18V7M15 18V7M20 18V7",
|
|
166
|
+
stroke: "currentColor",
|
|
167
|
+
strokeWidth: 1.6,
|
|
168
|
+
strokeLinecap: "round",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
kind: "path",
|
|
172
|
+
d: "M4 7h5",
|
|
173
|
+
stroke: "currentColor",
|
|
174
|
+
strokeWidth: 2.6,
|
|
175
|
+
strokeLinecap: "round",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
kind: "path",
|
|
179
|
+
d: "M15 7h5",
|
|
180
|
+
stroke: "currentColor",
|
|
181
|
+
strokeWidth: 2.6,
|
|
182
|
+
strokeLinecap: "round",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
kind: "path",
|
|
186
|
+
d: "M12 4v5",
|
|
187
|
+
stroke: "currentColor",
|
|
188
|
+
strokeWidth: 1.4,
|
|
189
|
+
strokeLinecap: "round",
|
|
190
|
+
strokeDasharray: "1.5 1.8",
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
BeamNoneIcon: [
|
|
194
|
+
{
|
|
195
|
+
kind: "path",
|
|
196
|
+
d: "M7 19V6M17 19V6",
|
|
197
|
+
stroke: "currentColor",
|
|
198
|
+
strokeWidth: 1.6,
|
|
199
|
+
strokeLinecap: "round",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
kind: "path",
|
|
203
|
+
d: "M7 6c3 1 4 3 3 5M17 6c3 1 4 3 3 5",
|
|
204
|
+
stroke: "currentColor",
|
|
205
|
+
strokeWidth: 1.6,
|
|
206
|
+
strokeLinecap: "round",
|
|
207
|
+
strokeLinejoin: "round",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
kind: "circle",
|
|
211
|
+
cx: 5,
|
|
212
|
+
cy: 19,
|
|
213
|
+
r: 1.9,
|
|
214
|
+
fill: "currentColor",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
kind: "circle",
|
|
218
|
+
cx: 15,
|
|
219
|
+
cy: 19,
|
|
220
|
+
r: 1.9,
|
|
221
|
+
fill: "currentColor",
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
ChordIcon: [
|
|
225
|
+
{
|
|
226
|
+
kind: "ellipse",
|
|
227
|
+
cx: 8.6,
|
|
228
|
+
cy: 17.4,
|
|
229
|
+
rx: 3.4,
|
|
230
|
+
ry: 2.4,
|
|
231
|
+
transform: "rotate(-20 8.6 17.4)",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
kind: "ellipse",
|
|
235
|
+
cx: 8.6,
|
|
236
|
+
cy: 14,
|
|
237
|
+
rx: 3.4,
|
|
238
|
+
ry: 2.4,
|
|
239
|
+
transform: "rotate(-20 8.6 13.999999999999998)",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
kind: "ellipse",
|
|
243
|
+
cx: 8.6,
|
|
244
|
+
cy: 10.6,
|
|
245
|
+
rx: 3.4,
|
|
246
|
+
ry: 2.4,
|
|
247
|
+
transform: "rotate(-20 8.6 10.599999999999998)",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
kind: "rect",
|
|
251
|
+
x: 10.75,
|
|
252
|
+
y: 3,
|
|
253
|
+
width: 1.25,
|
|
254
|
+
height: 7.6,
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
ContinuousLayoutIcon: [
|
|
258
|
+
{
|
|
259
|
+
kind: "rect",
|
|
260
|
+
x: 2.4,
|
|
261
|
+
y: 11.2,
|
|
262
|
+
width: 19.2,
|
|
263
|
+
height: 1.7,
|
|
264
|
+
rx: 0.6,
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
kind: "path",
|
|
268
|
+
d: "M6.6 6.6 L2 12 L6.6 17.4 Z",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
kind: "path",
|
|
272
|
+
d: "M17.4 6.6 L22 12 L17.4 17.4 Z",
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
CrescendoIcon: [
|
|
276
|
+
{
|
|
277
|
+
kind: "path",
|
|
278
|
+
d: "M4 12L20 6M4 12l16 6",
|
|
279
|
+
stroke: "currentColor",
|
|
280
|
+
strokeWidth: 1.6,
|
|
281
|
+
strokeLinecap: "round",
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
DeleteMeasureIcon: [
|
|
285
|
+
{
|
|
286
|
+
kind: "rect",
|
|
287
|
+
x: 3,
|
|
288
|
+
y: 7,
|
|
289
|
+
width: 1.4,
|
|
290
|
+
height: 10,
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
kind: "rect",
|
|
294
|
+
x: 14,
|
|
295
|
+
y: 7,
|
|
296
|
+
width: 1.4,
|
|
297
|
+
height: 10,
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
kind: "rect",
|
|
301
|
+
x: 3,
|
|
302
|
+
y: 11.3,
|
|
303
|
+
width: 12.4,
|
|
304
|
+
height: 1.2,
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
kind: "path",
|
|
308
|
+
d: "M15 19 L22 12",
|
|
309
|
+
fill: "none",
|
|
310
|
+
stroke: "currentColor",
|
|
311
|
+
strokeWidth: 1.8,
|
|
312
|
+
strokeLinecap: "round",
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
DiminuendoIcon: [
|
|
316
|
+
{
|
|
317
|
+
kind: "path",
|
|
318
|
+
d: "M20 12L4 6M20 12L4 18",
|
|
319
|
+
stroke: "currentColor",
|
|
320
|
+
strokeWidth: 1.6,
|
|
321
|
+
strokeLinecap: "round",
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
DottedIcon: [
|
|
325
|
+
{
|
|
326
|
+
kind: "ellipse",
|
|
327
|
+
cx: 9,
|
|
328
|
+
cy: 17.4,
|
|
329
|
+
rx: 3.4,
|
|
330
|
+
ry: 2.4,
|
|
331
|
+
transform: "rotate(-20 9 17.4)",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
kind: "rect",
|
|
335
|
+
x: 11.4,
|
|
336
|
+
y: 4,
|
|
337
|
+
width: 1.25,
|
|
338
|
+
height: 13.4,
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
kind: "circle",
|
|
342
|
+
cx: 16.6,
|
|
343
|
+
cy: 17.4,
|
|
344
|
+
r: 1.7,
|
|
345
|
+
},
|
|
346
|
+
],
|
|
347
|
+
DoubleFlatIcon: [
|
|
348
|
+
{
|
|
349
|
+
kind: "rect",
|
|
350
|
+
x: 3.9,
|
|
351
|
+
y: 3.6,
|
|
352
|
+
width: 1.25,
|
|
353
|
+
height: 16,
|
|
354
|
+
rx: 0.4,
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
kind: "path",
|
|
358
|
+
d: "M5.15 11.6\n C8.387 10.2 9.791 13.4 7.529 16.1\n C6.671 17.1 5.735 18.1 5.15 18.8\n Z",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
kind: "rect",
|
|
362
|
+
x: 11.6,
|
|
363
|
+
y: 3.6,
|
|
364
|
+
width: 1.25,
|
|
365
|
+
height: 16,
|
|
366
|
+
rx: 0.4,
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
kind: "path",
|
|
370
|
+
d: "M12.85 11.6\n C16.087 10.2 17.491 13.4 15.229 16.1\n C14.370999999999999 17.1 13.434999999999999 18.1 12.85 18.8\n Z",
|
|
371
|
+
},
|
|
372
|
+
],
|
|
373
|
+
DoubleSharpIcon: [
|
|
374
|
+
{
|
|
375
|
+
kind: "path",
|
|
376
|
+
d: "M4.8 4.8 L12 9.6 L19.2 4.8 L14.4 12 L19.2 19.2 L12 14.4 L4.8 19.2 L9.6 12 Z",
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
EighthNoteIcon: [
|
|
380
|
+
{
|
|
381
|
+
kind: "ellipse",
|
|
382
|
+
cx: 8.6,
|
|
383
|
+
cy: 17.4,
|
|
384
|
+
rx: 3.6,
|
|
385
|
+
ry: 2.55,
|
|
386
|
+
transform: "rotate(-20 8.6 17.4)",
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
kind: "rect",
|
|
390
|
+
x: 10.75,
|
|
391
|
+
y: 3,
|
|
392
|
+
width: 1.25,
|
|
393
|
+
height: 14.4,
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
kind: "path",
|
|
397
|
+
d: "M12 3\n C16.2 4.5 17.7 6.6 16.6 8.4\n C17.1 6.9 15.2 5.3 12 5.7\n Z",
|
|
398
|
+
},
|
|
399
|
+
],
|
|
400
|
+
FermataIcon: [
|
|
401
|
+
{
|
|
402
|
+
kind: "path",
|
|
403
|
+
d: "M4 12c2.5-6 13.5-6 16 0",
|
|
404
|
+
stroke: "currentColor",
|
|
405
|
+
strokeWidth: 1.6,
|
|
406
|
+
strokeLinecap: "round",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
kind: "circle",
|
|
410
|
+
cx: 12,
|
|
411
|
+
cy: 8.5,
|
|
412
|
+
r: 1.5,
|
|
413
|
+
fill: "currentColor",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
kind: "circle",
|
|
417
|
+
cx: 12,
|
|
418
|
+
cy: 17.5,
|
|
419
|
+
r: 2.6,
|
|
420
|
+
fill: "currentColor",
|
|
421
|
+
},
|
|
422
|
+
],
|
|
423
|
+
FlatIcon: [
|
|
424
|
+
{
|
|
425
|
+
kind: "rect",
|
|
426
|
+
x: 9,
|
|
427
|
+
y: 3.6,
|
|
428
|
+
width: 1.25,
|
|
429
|
+
height: 16,
|
|
430
|
+
rx: 0.4,
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
kind: "path",
|
|
434
|
+
d: "M10.25 11.6\n C14.4 10.2 16.2 13.4 13.3 16.1\n C12.2 17.1 11 18.1 10.25 18.8\n Z",
|
|
435
|
+
},
|
|
436
|
+
],
|
|
437
|
+
GoToStartIcon: [
|
|
438
|
+
{
|
|
439
|
+
kind: "rect",
|
|
440
|
+
x: 3.4,
|
|
441
|
+
y: 5.4,
|
|
442
|
+
width: 2.2,
|
|
443
|
+
height: 13.2,
|
|
444
|
+
rx: 0.6,
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
kind: "path",
|
|
448
|
+
d: "M13.4 5.4 L6.8 12 L13.4 18.6 Z",
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
kind: "path",
|
|
452
|
+
d: "M20.5 5.4 L13.9 12 L20.5 18.6 Z",
|
|
453
|
+
},
|
|
454
|
+
],
|
|
455
|
+
HalfNoteIcon: [
|
|
456
|
+
{
|
|
457
|
+
kind: "path",
|
|
458
|
+
fillRule: "evenodd",
|
|
459
|
+
d: "M5.22 18.63A3.6 2.55 -20 1 0 11.98 16.17A3.6 2.55 -20 1 0 5.22 18.63ZM6.25 18.26A2.5 1 -20 1 0 10.95 16.54A2.5 1 -20 1 0 6.25 18.26Z",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
kind: "rect",
|
|
463
|
+
x: 10.75,
|
|
464
|
+
y: 3,
|
|
465
|
+
width: 1.25,
|
|
466
|
+
height: 14.4,
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
InsertModeIcon: [
|
|
470
|
+
{
|
|
471
|
+
kind: "ellipse",
|
|
472
|
+
cx: 4.6,
|
|
473
|
+
cy: 17.4,
|
|
474
|
+
rx: 2.6,
|
|
475
|
+
ry: 1.9,
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
kind: "ellipse",
|
|
479
|
+
cx: 19.4,
|
|
480
|
+
cy: 17.4,
|
|
481
|
+
rx: 2.6,
|
|
482
|
+
ry: 1.9,
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
kind: "path",
|
|
486
|
+
d: "M12 19 L12 6 M8.6 9.4 L12 6 L15.4 9.4",
|
|
487
|
+
fill: "none",
|
|
488
|
+
stroke: "currentColor",
|
|
489
|
+
strokeWidth: 1.6,
|
|
490
|
+
strokeLinecap: "round",
|
|
491
|
+
strokeLinejoin: "round",
|
|
492
|
+
},
|
|
493
|
+
],
|
|
494
|
+
InsertNoteIcon: [
|
|
495
|
+
{
|
|
496
|
+
kind: "group",
|
|
497
|
+
transform: "translate(-0.6 2) scale(0.86)",
|
|
498
|
+
shapes: [
|
|
499
|
+
{
|
|
500
|
+
kind: "ellipse",
|
|
501
|
+
cx: 8.6,
|
|
502
|
+
cy: 17.4,
|
|
503
|
+
rx: 3.6,
|
|
504
|
+
ry: 2.55,
|
|
505
|
+
transform: "rotate(-20 8.6 17.4)",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
kind: "rect",
|
|
509
|
+
x: 10.75,
|
|
510
|
+
y: 3,
|
|
511
|
+
width: 1.25,
|
|
512
|
+
height: 14.4,
|
|
513
|
+
},
|
|
514
|
+
],
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
kind: "rect",
|
|
518
|
+
x: 16.4,
|
|
519
|
+
y: 3.2,
|
|
520
|
+
width: 6.4,
|
|
521
|
+
height: 1.9,
|
|
522
|
+
rx: 0.6,
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
kind: "rect",
|
|
526
|
+
x: 18.65,
|
|
527
|
+
y: 0.95,
|
|
528
|
+
width: 1.9,
|
|
529
|
+
height: 6.4,
|
|
530
|
+
rx: 0.6,
|
|
531
|
+
},
|
|
532
|
+
],
|
|
533
|
+
InsertRestIcon: [
|
|
534
|
+
{
|
|
535
|
+
kind: "group",
|
|
536
|
+
transform: "translate(-1.2 1.4) scale(0.88)",
|
|
537
|
+
shapes: [
|
|
538
|
+
{
|
|
539
|
+
kind: "path",
|
|
540
|
+
fill: "none",
|
|
541
|
+
stroke: "currentColor",
|
|
542
|
+
strokeWidth: 2.3,
|
|
543
|
+
strokeLinecap: "round",
|
|
544
|
+
strokeLinejoin: "round",
|
|
545
|
+
d: "M8.6 5.6 L14.4 11.2 L9.4 14.2 L13.6 18.2",
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
kind: "path",
|
|
549
|
+
d: "M13.9 17.7 C10.6 16.1 8.8 17.7 9.8 20.4 C7.4 18.2 7.6 14.4 11.6 15.3 Z",
|
|
550
|
+
},
|
|
551
|
+
],
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
kind: "rect",
|
|
555
|
+
x: 16.4,
|
|
556
|
+
y: 3.2,
|
|
557
|
+
width: 6.4,
|
|
558
|
+
height: 1.9,
|
|
559
|
+
rx: 0.6,
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
kind: "rect",
|
|
563
|
+
x: 18.65,
|
|
564
|
+
y: 0.95,
|
|
565
|
+
width: 1.9,
|
|
566
|
+
height: 6.4,
|
|
567
|
+
rx: 0.6,
|
|
568
|
+
},
|
|
569
|
+
],
|
|
570
|
+
MetronomeIcon: [
|
|
571
|
+
{
|
|
572
|
+
kind: "path",
|
|
573
|
+
d: "M9.2 3.4 L14.8 3.4 L18.6 20.6 L5.4 20.6 Z",
|
|
574
|
+
fill: "none",
|
|
575
|
+
stroke: "currentColor",
|
|
576
|
+
strokeWidth: 1.8,
|
|
577
|
+
strokeLinejoin: "round",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
kind: "rect",
|
|
581
|
+
x: 6.6,
|
|
582
|
+
y: 16.4,
|
|
583
|
+
width: 10.8,
|
|
584
|
+
height: 1.6,
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
kind: "path",
|
|
588
|
+
d: "M15.8 6.6 L10.6 17 L9.1 16.3 L14.3 5.9 Z",
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
kind: "rect",
|
|
592
|
+
x: 11.9,
|
|
593
|
+
y: 9.6,
|
|
594
|
+
width: 3.4,
|
|
595
|
+
height: 2.4,
|
|
596
|
+
rx: 0.5,
|
|
597
|
+
transform: "rotate(-24 13.6 10.8)",
|
|
598
|
+
},
|
|
599
|
+
],
|
|
600
|
+
NaturalIcon: [
|
|
601
|
+
{
|
|
602
|
+
kind: "rect",
|
|
603
|
+
x: 8.2,
|
|
604
|
+
y: 3,
|
|
605
|
+
width: 1.2,
|
|
606
|
+
height: 13.8,
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
kind: "rect",
|
|
610
|
+
x: 14.6,
|
|
611
|
+
y: 7.2,
|
|
612
|
+
width: 1.2,
|
|
613
|
+
height: 13.8,
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
kind: "path",
|
|
617
|
+
d: "M8.2 9.9 L15.8 8.5 L15.8 10.4 L8.2 11.8 Z",
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
kind: "path",
|
|
621
|
+
d: "M8.2 14.5 L15.8 13.1 L15.8 15 L8.2 16.4 Z",
|
|
622
|
+
},
|
|
623
|
+
],
|
|
624
|
+
NextMeasureIcon: [
|
|
625
|
+
{
|
|
626
|
+
kind: "path",
|
|
627
|
+
d: "M5.6 5.4 L15.4 12 L5.6 18.6 Z",
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
kind: "rect",
|
|
631
|
+
x: 17.2,
|
|
632
|
+
y: 5.4,
|
|
633
|
+
width: 2.2,
|
|
634
|
+
height: 13.2,
|
|
635
|
+
rx: 0.6,
|
|
636
|
+
},
|
|
637
|
+
],
|
|
638
|
+
OrnamentIcon: [
|
|
639
|
+
{
|
|
640
|
+
kind: "path",
|
|
641
|
+
d: "M4 15c1.6-4 3.4-4 5 0s3.4 4 5 0 3.4-4 5 0",
|
|
642
|
+
stroke: "currentColor",
|
|
643
|
+
strokeWidth: 1.6,
|
|
644
|
+
strokeLinecap: "round",
|
|
645
|
+
strokeLinejoin: "round",
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
kind: "path",
|
|
649
|
+
d: "M5 9h5M7.5 9V6",
|
|
650
|
+
stroke: "currentColor",
|
|
651
|
+
strokeWidth: 1.6,
|
|
652
|
+
strokeLinecap: "round",
|
|
653
|
+
},
|
|
654
|
+
],
|
|
655
|
+
PageLayoutIcon: [
|
|
656
|
+
{
|
|
657
|
+
kind: "rect",
|
|
658
|
+
x: 4,
|
|
659
|
+
y: 3,
|
|
660
|
+
width: 16,
|
|
661
|
+
height: 18,
|
|
662
|
+
rx: 1.8,
|
|
663
|
+
fill: "none",
|
|
664
|
+
stroke: "currentColor",
|
|
665
|
+
strokeWidth: 1.8,
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
kind: "rect",
|
|
669
|
+
x: 7,
|
|
670
|
+
y: 7.4,
|
|
671
|
+
width: 10,
|
|
672
|
+
height: 1.6,
|
|
673
|
+
rx: 0.6,
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
kind: "rect",
|
|
677
|
+
x: 7,
|
|
678
|
+
y: 11.2,
|
|
679
|
+
width: 10,
|
|
680
|
+
height: 1.6,
|
|
681
|
+
rx: 0.6,
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
kind: "rect",
|
|
685
|
+
x: 7,
|
|
686
|
+
y: 15,
|
|
687
|
+
width: 6.4,
|
|
688
|
+
height: 1.6,
|
|
689
|
+
rx: 0.6,
|
|
690
|
+
},
|
|
691
|
+
],
|
|
692
|
+
PreviousMeasureIcon: [
|
|
693
|
+
{
|
|
694
|
+
kind: "rect",
|
|
695
|
+
x: 4.6,
|
|
696
|
+
y: 5.4,
|
|
697
|
+
width: 2.2,
|
|
698
|
+
height: 13.2,
|
|
699
|
+
rx: 0.6,
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
kind: "path",
|
|
703
|
+
d: "M18.4 5.4 L8.6 12 L18.4 18.6 Z",
|
|
704
|
+
},
|
|
705
|
+
],
|
|
706
|
+
QuantizeIcon: [
|
|
707
|
+
{
|
|
708
|
+
kind: "rect",
|
|
709
|
+
x: 4.2,
|
|
710
|
+
y: 3,
|
|
711
|
+
width: 1.1,
|
|
712
|
+
height: 18,
|
|
713
|
+
rx: 0.4,
|
|
714
|
+
opacity: 0.45,
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
kind: "rect",
|
|
718
|
+
x: 11.45,
|
|
719
|
+
y: 3,
|
|
720
|
+
width: 1.1,
|
|
721
|
+
height: 18,
|
|
722
|
+
rx: 0.4,
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
kind: "rect",
|
|
726
|
+
x: 18.7,
|
|
727
|
+
y: 3,
|
|
728
|
+
width: 1.1,
|
|
729
|
+
height: 18,
|
|
730
|
+
rx: 0.4,
|
|
731
|
+
opacity: 0.45,
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
kind: "ellipse",
|
|
735
|
+
cx: 12,
|
|
736
|
+
cy: 12,
|
|
737
|
+
rx: 3.4,
|
|
738
|
+
ry: 2.4,
|
|
739
|
+
transform: "rotate(-20 12 12)",
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
kind: "path",
|
|
743
|
+
d: "M7.4 12 L10.1 9.9 L10.1 14.1 Z",
|
|
744
|
+
},
|
|
745
|
+
],
|
|
746
|
+
QuarterNoteIcon: [
|
|
747
|
+
{
|
|
748
|
+
kind: "ellipse",
|
|
749
|
+
cx: 8.6,
|
|
750
|
+
cy: 17.4,
|
|
751
|
+
rx: 3.6,
|
|
752
|
+
ry: 2.55,
|
|
753
|
+
transform: "rotate(-20 8.6 17.4)",
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
kind: "rect",
|
|
757
|
+
x: 10.75,
|
|
758
|
+
y: 3,
|
|
759
|
+
width: 1.25,
|
|
760
|
+
height: 14.4,
|
|
761
|
+
},
|
|
762
|
+
],
|
|
763
|
+
ReplaceModeIcon: [
|
|
764
|
+
{
|
|
765
|
+
kind: "ellipse",
|
|
766
|
+
cx: 12,
|
|
767
|
+
cy: 17.4,
|
|
768
|
+
rx: 3.4,
|
|
769
|
+
ry: 2.4,
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
kind: "path",
|
|
773
|
+
d: "M12 12.4 L12 4.5 M8.6 7.9 L12 4.5 L15.4 7.9",
|
|
774
|
+
fill: "none",
|
|
775
|
+
stroke: "currentColor",
|
|
776
|
+
strokeWidth: 1.6,
|
|
777
|
+
strokeLinecap: "round",
|
|
778
|
+
strokeLinejoin: "round",
|
|
779
|
+
},
|
|
780
|
+
],
|
|
781
|
+
SelectAllIcon: [
|
|
782
|
+
{
|
|
783
|
+
kind: "rect",
|
|
784
|
+
x: 3,
|
|
785
|
+
y: 5,
|
|
786
|
+
width: 18,
|
|
787
|
+
height: 14,
|
|
788
|
+
rx: 1.6,
|
|
789
|
+
fill: "none",
|
|
790
|
+
stroke: "currentColor",
|
|
791
|
+
strokeWidth: 1.8,
|
|
792
|
+
strokeDasharray: "3.4 2.6",
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
kind: "ellipse",
|
|
796
|
+
cx: 9,
|
|
797
|
+
cy: 14.2,
|
|
798
|
+
rx: 2.2,
|
|
799
|
+
ry: 1.6,
|
|
800
|
+
transform: "rotate(-20 9 14.2)",
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
kind: "rect",
|
|
804
|
+
x: 10.8,
|
|
805
|
+
y: 8.4,
|
|
806
|
+
width: 0.9,
|
|
807
|
+
height: 5.8,
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
kind: "ellipse",
|
|
811
|
+
cx: 15.4,
|
|
812
|
+
cy: 14.2,
|
|
813
|
+
rx: 2.2,
|
|
814
|
+
ry: 1.6,
|
|
815
|
+
transform: "rotate(-20 15.4 14.2)",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
kind: "rect",
|
|
819
|
+
x: 17.2,
|
|
820
|
+
y: 8.4,
|
|
821
|
+
width: 0.9,
|
|
822
|
+
height: 5.8,
|
|
823
|
+
},
|
|
824
|
+
],
|
|
825
|
+
SharpIcon: [
|
|
826
|
+
{
|
|
827
|
+
kind: "rect",
|
|
828
|
+
x: 9,
|
|
829
|
+
y: 4.2,
|
|
830
|
+
width: 1.3,
|
|
831
|
+
height: 15.6,
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
kind: "rect",
|
|
835
|
+
x: 13.7,
|
|
836
|
+
y: 4.2,
|
|
837
|
+
width: 1.3,
|
|
838
|
+
height: 15.6,
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
kind: "path",
|
|
842
|
+
d: "M6.8 10.6 L17.2 8.9 L17.2 11.3 L6.8 13 Z",
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
kind: "path",
|
|
846
|
+
d: "M6.8 15 L17.2 13.3 L17.2 15.7 L6.8 17.4 Z",
|
|
847
|
+
},
|
|
848
|
+
],
|
|
849
|
+
SixteenthNoteIcon: [
|
|
850
|
+
{
|
|
851
|
+
kind: "ellipse",
|
|
852
|
+
cx: 8.6,
|
|
853
|
+
cy: 17.4,
|
|
854
|
+
rx: 3.6,
|
|
855
|
+
ry: 2.55,
|
|
856
|
+
transform: "rotate(-20 8.6 17.4)",
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
kind: "rect",
|
|
860
|
+
x: 10.75,
|
|
861
|
+
y: 3,
|
|
862
|
+
width: 1.25,
|
|
863
|
+
height: 14.4,
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
kind: "path",
|
|
867
|
+
d: "M12 3\n C16.2 4.5 17.7 6.6 16.6 8.4\n C17.1 6.9 15.2 5.3 12 5.7\n Z",
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
kind: "path",
|
|
871
|
+
d: "M12 6\n C16.2 7.5 17.7 9.6 16.6 11.4\n C17.1 9.9 15.2 8.3 12 8.7\n Z",
|
|
872
|
+
},
|
|
873
|
+
],
|
|
874
|
+
SlurIcon: [
|
|
875
|
+
{
|
|
876
|
+
kind: "path",
|
|
877
|
+
d: "M6 15c2.5-5 9.5-5 12 0",
|
|
878
|
+
stroke: "currentColor",
|
|
879
|
+
strokeWidth: 1.6,
|
|
880
|
+
strokeLinecap: "round",
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
kind: "circle",
|
|
884
|
+
cx: 6,
|
|
885
|
+
cy: 17.5,
|
|
886
|
+
r: 2.2,
|
|
887
|
+
fill: "currentColor",
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
kind: "circle",
|
|
891
|
+
cx: 18,
|
|
892
|
+
cy: 17.5,
|
|
893
|
+
r: 2.2,
|
|
894
|
+
fill: "currentColor",
|
|
895
|
+
},
|
|
896
|
+
],
|
|
897
|
+
SoloIcon: [
|
|
898
|
+
{
|
|
899
|
+
kind: "path",
|
|
900
|
+
d: "M4.4 15.4 V12.6 a7.6 7.6 0 0 1 15.2 0 V15.4",
|
|
901
|
+
fill: "none",
|
|
902
|
+
stroke: "currentColor",
|
|
903
|
+
strokeWidth: 2,
|
|
904
|
+
strokeLinecap: "round",
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
kind: "rect",
|
|
908
|
+
x: 2.8,
|
|
909
|
+
y: 13.6,
|
|
910
|
+
width: 4.4,
|
|
911
|
+
height: 7,
|
|
912
|
+
rx: 2.2,
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
kind: "rect",
|
|
916
|
+
x: 16.8,
|
|
917
|
+
y: 13.6,
|
|
918
|
+
width: 4.4,
|
|
919
|
+
height: 7,
|
|
920
|
+
rx: 2.2,
|
|
921
|
+
},
|
|
922
|
+
],
|
|
923
|
+
SunMoonIcon: [
|
|
924
|
+
{
|
|
925
|
+
kind: "path",
|
|
926
|
+
d: "M12 3.6 a8.4 8.4 0 0 0 0 16.8 Z",
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
kind: "path",
|
|
930
|
+
d: "M12 3.6 a8.4 8.4 0 0 1 0 16.8",
|
|
931
|
+
fill: "none",
|
|
932
|
+
stroke: "currentColor",
|
|
933
|
+
strokeWidth: 1.8,
|
|
934
|
+
strokeLinecap: "round",
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
kind: "group",
|
|
938
|
+
stroke: "currentColor",
|
|
939
|
+
strokeWidth: 1.7,
|
|
940
|
+
strokeLinecap: "round",
|
|
941
|
+
shapes: [
|
|
942
|
+
{
|
|
943
|
+
kind: "path",
|
|
944
|
+
d: "M12 1.4 V0.2 M12 23.8 V22.6 M4.1 4.1 L3.2 3.2 M4.1 19.9 L3.2 20.8 M1.4 12 H0.2",
|
|
945
|
+
},
|
|
946
|
+
],
|
|
947
|
+
},
|
|
948
|
+
],
|
|
949
|
+
ThirtySecondNoteIcon: [
|
|
950
|
+
{
|
|
951
|
+
kind: "ellipse",
|
|
952
|
+
cx: 8.6,
|
|
953
|
+
cy: 17.4,
|
|
954
|
+
rx: 3.6,
|
|
955
|
+
ry: 2.55,
|
|
956
|
+
transform: "rotate(-20 8.6 17.4)",
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
kind: "rect",
|
|
960
|
+
x: 10.75,
|
|
961
|
+
y: 3,
|
|
962
|
+
width: 1.25,
|
|
963
|
+
height: 14.4,
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
kind: "path",
|
|
967
|
+
d: "M12 3\n C16.2 4.5 17.7 6.6 16.6 8.4\n C17.1 6.9 15.2 5.3 12 5.7\n Z",
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
kind: "path",
|
|
971
|
+
d: "M12 6\n C16.2 7.5 17.7 9.6 16.6 11.4\n C17.1 9.9 15.2 8.3 12 8.7\n Z",
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
kind: "path",
|
|
975
|
+
d: "M12 9\n C16.2 10.5 17.7 12.6 16.6 14.4\n C17.1 12.9 15.2 11.3 12 11.7\n Z",
|
|
976
|
+
},
|
|
977
|
+
],
|
|
978
|
+
TieIcon: [
|
|
979
|
+
{
|
|
980
|
+
kind: "ellipse",
|
|
981
|
+
cx: 6.4,
|
|
982
|
+
cy: 16.4,
|
|
983
|
+
rx: 2.9,
|
|
984
|
+
ry: 2.1,
|
|
985
|
+
transform: "rotate(-20 6.4 16.4)",
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
kind: "ellipse",
|
|
989
|
+
cx: 17.6,
|
|
990
|
+
cy: 16.4,
|
|
991
|
+
rx: 2.9,
|
|
992
|
+
ry: 2.1,
|
|
993
|
+
transform: "rotate(-20 17.6 16.4)",
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
kind: "path",
|
|
997
|
+
d: "M5.2 12.2 C8.2 4.9 15.8 4.9 18.8 12.2 C15.8 7.6 8.2 7.6 5.2 12.2 Z",
|
|
998
|
+
},
|
|
999
|
+
],
|
|
1000
|
+
TripletIcon: [
|
|
1001
|
+
{
|
|
1002
|
+
kind: "text",
|
|
1003
|
+
x: 12,
|
|
1004
|
+
y: 9,
|
|
1005
|
+
textAnchor: "middle",
|
|
1006
|
+
fontSize: 9,
|
|
1007
|
+
fontStyle: "italic",
|
|
1008
|
+
fill: "currentColor",
|
|
1009
|
+
stroke: "none",
|
|
1010
|
+
content: "3",
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
kind: "ellipse",
|
|
1014
|
+
cx: 5.5,
|
|
1015
|
+
cy: 19,
|
|
1016
|
+
rx: 2.3,
|
|
1017
|
+
ry: 1.7,
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
kind: "ellipse",
|
|
1021
|
+
cx: 12,
|
|
1022
|
+
cy: 19,
|
|
1023
|
+
rx: 2.3,
|
|
1024
|
+
ry: 1.7,
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
kind: "ellipse",
|
|
1028
|
+
cx: 18.5,
|
|
1029
|
+
cy: 19,
|
|
1030
|
+
rx: 2.3,
|
|
1031
|
+
ry: 1.7,
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
kind: "rect",
|
|
1035
|
+
x: 4.5,
|
|
1036
|
+
y: 12.5,
|
|
1037
|
+
width: 15,
|
|
1038
|
+
height: 1.4,
|
|
1039
|
+
},
|
|
1040
|
+
],
|
|
1041
|
+
WholeNoteIcon: [
|
|
1042
|
+
{
|
|
1043
|
+
kind: "path",
|
|
1044
|
+
fillRule: "evenodd",
|
|
1045
|
+
d: "M7.1 17.4A4.5 2.8 0 1 0 16.1 17.4A4.5 2.8 0 1 0 7.1 17.4ZM9.31 18.83A2.7 1.25 -32 1 0 13.89 15.97A2.7 1.25 -32 1 0 9.31 18.83Z",
|
|
1046
|
+
},
|
|
1047
|
+
],
|
|
1048
|
+
};
|
|
1049
|
+
//# sourceMappingURL=notation-icon-art.js.map
|