@r_masseater/song-format 0.1.0 → 0.2.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.
Files changed (54) hide show
  1. package/README.md +33 -1
  2. package/dist/analysis.d.mts +95 -0
  3. package/dist/analysis.mjs +328 -0
  4. package/dist/analysis.mjs.map +1 -0
  5. package/dist/convert-als.d.mts +18 -0
  6. package/dist/convert-als.mjs +504 -0
  7. package/dist/convert-als.mjs.map +1 -0
  8. package/dist/convert-midi.d.mts +2 -75
  9. package/dist/convert-midi.mjs +5 -650
  10. package/dist/convert-midi.mjs.map +1 -1
  11. package/dist/fumx-language-server.mjs +1 -1
  12. package/dist/fumx-language-server.mjs.map +1 -1
  13. package/dist/fumx-module-CmHFC-eI.mjs +12513 -0
  14. package/dist/fumx-module-CmHFC-eI.mjs.map +1 -0
  15. package/dist/fumx-module-DJQrnEVm.mjs +2660 -0
  16. package/dist/fumx-module-DJQrnEVm.mjs.map +1 -0
  17. package/dist/grammar-86_uhiTo.mjs +9836 -0
  18. package/dist/grammar-86_uhiTo.mjs.map +1 -0
  19. package/dist/index-Cup9xTad.d.mts +105 -0
  20. package/dist/index-DPt8MZ6e.d.mts +796 -0
  21. package/dist/index-JXjnMHXw.d.mts +1350 -0
  22. package/dist/index.d.mts +9 -0
  23. package/dist/index.mjs +4 -0
  24. package/dist/language.d.mts +13 -0
  25. package/dist/language.mjs +3 -0
  26. package/dist/mapper.mjs +1 -1
  27. package/dist/midi-to-fumx.mjs +140 -45
  28. package/dist/midi-to-fumx.mjs.map +1 -1
  29. package/dist/read-song-CNrfcHrY.mjs +123 -0
  30. package/dist/read-song-CNrfcHrY.mjs.map +1 -0
  31. package/dist/read-song-CSIhaAEB.mjs +122 -0
  32. package/dist/read-song-CSIhaAEB.mjs.map +1 -0
  33. package/dist/run-main-Bf32CgzU.mjs +26 -0
  34. package/dist/run-main-Bf32CgzU.mjs.map +1 -0
  35. package/dist/song-3Zm9g84K.d.mts +1478 -0
  36. package/dist/song-CYFBSTbH.mjs +387 -0
  37. package/dist/song-CYFBSTbH.mjs.map +1 -0
  38. package/dist/song-report.mjs +327 -4
  39. package/dist/song-report.mjs.map +1 -1
  40. package/dist/ticks-CXehHP2w.mjs +27 -0
  41. package/dist/ticks-CXehHP2w.mjs.map +1 -0
  42. package/dist/transform-DQm5wTlA.mjs +489 -0
  43. package/dist/transform-DQm5wTlA.mjs.map +1 -0
  44. package/dist/vite.mjs +4 -3
  45. package/dist/vite.mjs.map +1 -1
  46. package/dist/write-CS-ZjoQB.mjs +746 -0
  47. package/dist/write-CS-ZjoQB.mjs.map +1 -0
  48. package/package.json +50 -8
  49. package/skills/read-fumx/SKILL.md +86 -0
  50. package/skills/use-fumx-tools/SKILL.md +1 -1
  51. package/dist/app-CdpGdiWq.mjs +0 -190
  52. package/dist/app-CdpGdiWq.mjs.map +0 -1
  53. package/dist/transform-C24h3upp.mjs +0 -108
  54. package/dist/transform-C24h3upp.mjs.map +0 -1
@@ -0,0 +1,796 @@
1
+ import "./song-3Zm9g84K.mjs";
2
+ import { Schema } from "effect";
3
+ declare const LyricSchema: Schema.Union<readonly [Schema.Struct<{
4
+ readonly kind: Schema.Literal<"syllable">;
5
+ } & {
6
+ readonly text: Schema.String;
7
+ }>, Schema.Struct<{
8
+ readonly kind: Schema.Literal<"melisma">;
9
+ }>]>;
10
+ type Lyric = typeof LyricSchema.Type;
11
+ declare const NoteSchema: Schema.Struct<{
12
+ readonly track: Schema.String;
13
+ readonly line: Schema.Int;
14
+ readonly sourceLine: Schema.Int;
15
+ readonly sourceColumn: Schema.Int;
16
+ readonly bar: Schema.Int;
17
+ readonly offset: Schema.Int;
18
+ readonly start: Schema.Int;
19
+ readonly length: Schema.Int;
20
+ readonly nudgeMilliseconds: Schema.Finite;
21
+ readonly nudgeSeconds: Schema.Finite;
22
+ readonly midi: Schema.Int;
23
+ readonly cents: Schema.Finite;
24
+ readonly spelling: Schema.String;
25
+ readonly velocity: Schema.Finite;
26
+ readonly releaseVelocity: Schema.OptionFromNullOr<Schema.Finite>;
27
+ readonly gate: Schema.Finite;
28
+ readonly articulation: Schema.OptionFromNullOr<Schema.Literals<readonly ["staccato", "legato", "accent"]>>;
29
+ readonly lyric: Schema.OptionFromNullOr<Schema.Union<readonly [Schema.Struct<{
30
+ readonly kind: Schema.Literal<"syllable">;
31
+ } & {
32
+ readonly text: Schema.String;
33
+ }>, Schema.Struct<{
34
+ readonly kind: Schema.Literal<"melisma">;
35
+ }>]>>;
36
+ readonly bend: Schema.$Array<Schema.Struct<{
37
+ readonly milliseconds: Schema.Finite;
38
+ readonly seconds: Schema.Finite;
39
+ readonly semitones: Schema.Finite;
40
+ }>>;
41
+ readonly params: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
42
+ readonly kind: Schema.Literal<"semi">;
43
+ } & {
44
+ readonly semitones: Schema.Finite;
45
+ }>, Schema.Struct<{
46
+ readonly kind: Schema.Literal<"amp">;
47
+ } & {
48
+ readonly ratio: Schema.Finite;
49
+ }>, Schema.Struct<{
50
+ readonly kind: Schema.Literal<"rate">;
51
+ } & {
52
+ readonly ratio: Schema.Finite;
53
+ }>, Schema.Struct<{
54
+ readonly kind: Schema.Literal<"length">;
55
+ } & {
56
+ milliseconds: Schema.Finite;
57
+ seconds: Schema.Finite;
58
+ }>, Schema.Struct<{
59
+ readonly kind: Schema.Literal<"attack">;
60
+ } & {
61
+ milliseconds: Schema.Finite;
62
+ seconds: Schema.Finite;
63
+ }>, Schema.Struct<{
64
+ readonly kind: Schema.Literal<"release">;
65
+ } & {
66
+ milliseconds: Schema.Finite;
67
+ seconds: Schema.Finite;
68
+ }>, Schema.Struct<{
69
+ readonly kind: Schema.Literal<"decay">;
70
+ } & {
71
+ milliseconds: Schema.Finite;
72
+ seconds: Schema.Finite;
73
+ }>, Schema.Struct<{
74
+ readonly kind: Schema.Literal<"offset">;
75
+ } & {
76
+ milliseconds: Schema.Finite;
77
+ seconds: Schema.Finite;
78
+ }>, Schema.Struct<{
79
+ readonly kind: Schema.Literal<"highpass">;
80
+ } & {
81
+ readonly hertz: Schema.Finite;
82
+ readonly resonance: Schema.OptionFromNullOr<Schema.Finite>;
83
+ }>, Schema.Struct<{
84
+ readonly kind: Schema.Literal<"lowpass">;
85
+ } & {
86
+ readonly hertz: Schema.Finite;
87
+ readonly targetHertz: Schema.OptionFromNullOr<Schema.Finite>;
88
+ readonly resonance: Schema.OptionFromNullOr<Schema.Finite>;
89
+ }>, Schema.Struct<{
90
+ readonly kind: Schema.Literal<"gain">;
91
+ } & {
92
+ readonly decibels: Schema.Finite;
93
+ }>, Schema.Struct<{
94
+ readonly kind: Schema.Literal<"pan">;
95
+ } & {
96
+ readonly amount: Schema.Finite;
97
+ }>, Schema.Struct<{
98
+ readonly kind: Schema.Literal<"drive">;
99
+ } & {
100
+ readonly amount: Schema.Finite;
101
+ }>, Schema.Struct<{
102
+ readonly kind: Schema.Literal<"send">;
103
+ } & {
104
+ readonly bus: Schema.String;
105
+ readonly amount: Schema.Finite;
106
+ }>, Schema.Struct<{
107
+ readonly kind: Schema.Literal<"reverse">;
108
+ } & {
109
+ readonly fromSeconds: Schema.OptionFromNullOr<Schema.Finite>;
110
+ }>]>>;
111
+ readonly args: Schema.$Array<Schema.Struct<{
112
+ readonly name: Schema.String;
113
+ readonly value: Schema.Union<readonly [Schema.Struct<{
114
+ readonly kind: Schema.Literal<"number">;
115
+ } & {
116
+ readonly value: Schema.Finite;
117
+ }>, Schema.Struct<{
118
+ readonly kind: Schema.Literal<"decibels">;
119
+ } & {
120
+ readonly value: Schema.Finite;
121
+ }>, Schema.Struct<{
122
+ readonly kind: Schema.Literal<"share">;
123
+ } & {
124
+ readonly value: Schema.Finite;
125
+ }>, Schema.Struct<{
126
+ readonly kind: Schema.Literal<"hertz">;
127
+ } & {
128
+ readonly value: Schema.Finite;
129
+ }>, Schema.Struct<{
130
+ readonly kind: Schema.Literal<"milliseconds">;
131
+ } & {
132
+ readonly value: Schema.Finite;
133
+ }>, Schema.Struct<{
134
+ readonly kind: Schema.Literal<"semitones">;
135
+ } & {
136
+ readonly value: Schema.Finite;
137
+ }>, Schema.Struct<{
138
+ readonly kind: Schema.Literal<"ticks">;
139
+ } & {
140
+ readonly value: Schema.Int;
141
+ }>, Schema.Struct<{
142
+ readonly kind: Schema.Literal<"pitch">;
143
+ } & {
144
+ readonly midi: Schema.Int;
145
+ readonly cents: Schema.Finite;
146
+ }>, Schema.Struct<{
147
+ readonly kind: Schema.Literal<"text">;
148
+ } & {
149
+ readonly value: Schema.String;
150
+ }>, Schema.Struct<{
151
+ readonly kind: Schema.Literal<"flag">;
152
+ } & {
153
+ readonly value: Schema.Boolean;
154
+ }>]>;
155
+ }>>;
156
+ }>;
157
+ type Note = typeof NoteSchema.Type;
158
+ declare const HitSchema: Schema.Struct<{
159
+ readonly track: Schema.String;
160
+ readonly line: Schema.Int;
161
+ readonly sourceLine: Schema.Int;
162
+ readonly sourceColumn: Schema.Int;
163
+ readonly bar: Schema.Int;
164
+ readonly offset: Schema.Int;
165
+ readonly start: Schema.Int;
166
+ readonly length: Schema.Int;
167
+ readonly nudgeMilliseconds: Schema.Finite;
168
+ readonly nudgeSeconds: Schema.Finite;
169
+ readonly voice: Schema.String;
170
+ readonly velocity: Schema.Finite;
171
+ readonly releaseVelocity: Schema.OptionFromNullOr<Schema.Finite>;
172
+ readonly bend: Schema.$Array<Schema.Struct<{
173
+ readonly milliseconds: Schema.Finite;
174
+ readonly seconds: Schema.Finite;
175
+ readonly semitones: Schema.Finite;
176
+ }>>;
177
+ readonly params: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
178
+ readonly kind: Schema.Literal<"semi">;
179
+ } & {
180
+ readonly semitones: Schema.Finite;
181
+ }>, Schema.Struct<{
182
+ readonly kind: Schema.Literal<"amp">;
183
+ } & {
184
+ readonly ratio: Schema.Finite;
185
+ }>, Schema.Struct<{
186
+ readonly kind: Schema.Literal<"rate">;
187
+ } & {
188
+ readonly ratio: Schema.Finite;
189
+ }>, Schema.Struct<{
190
+ readonly kind: Schema.Literal<"length">;
191
+ } & {
192
+ milliseconds: Schema.Finite;
193
+ seconds: Schema.Finite;
194
+ }>, Schema.Struct<{
195
+ readonly kind: Schema.Literal<"attack">;
196
+ } & {
197
+ milliseconds: Schema.Finite;
198
+ seconds: Schema.Finite;
199
+ }>, Schema.Struct<{
200
+ readonly kind: Schema.Literal<"release">;
201
+ } & {
202
+ milliseconds: Schema.Finite;
203
+ seconds: Schema.Finite;
204
+ }>, Schema.Struct<{
205
+ readonly kind: Schema.Literal<"decay">;
206
+ } & {
207
+ milliseconds: Schema.Finite;
208
+ seconds: Schema.Finite;
209
+ }>, Schema.Struct<{
210
+ readonly kind: Schema.Literal<"offset">;
211
+ } & {
212
+ milliseconds: Schema.Finite;
213
+ seconds: Schema.Finite;
214
+ }>, Schema.Struct<{
215
+ readonly kind: Schema.Literal<"highpass">;
216
+ } & {
217
+ readonly hertz: Schema.Finite;
218
+ readonly resonance: Schema.OptionFromNullOr<Schema.Finite>;
219
+ }>, Schema.Struct<{
220
+ readonly kind: Schema.Literal<"lowpass">;
221
+ } & {
222
+ readonly hertz: Schema.Finite;
223
+ readonly targetHertz: Schema.OptionFromNullOr<Schema.Finite>;
224
+ readonly resonance: Schema.OptionFromNullOr<Schema.Finite>;
225
+ }>, Schema.Struct<{
226
+ readonly kind: Schema.Literal<"gain">;
227
+ } & {
228
+ readonly decibels: Schema.Finite;
229
+ }>, Schema.Struct<{
230
+ readonly kind: Schema.Literal<"pan">;
231
+ } & {
232
+ readonly amount: Schema.Finite;
233
+ }>, Schema.Struct<{
234
+ readonly kind: Schema.Literal<"drive">;
235
+ } & {
236
+ readonly amount: Schema.Finite;
237
+ }>, Schema.Struct<{
238
+ readonly kind: Schema.Literal<"send">;
239
+ } & {
240
+ readonly bus: Schema.String;
241
+ readonly amount: Schema.Finite;
242
+ }>, Schema.Struct<{
243
+ readonly kind: Schema.Literal<"reverse">;
244
+ } & {
245
+ readonly fromSeconds: Schema.OptionFromNullOr<Schema.Finite>;
246
+ }>]>>;
247
+ readonly args: Schema.$Array<Schema.Struct<{
248
+ readonly name: Schema.String;
249
+ readonly value: Schema.Union<readonly [Schema.Struct<{
250
+ readonly kind: Schema.Literal<"number">;
251
+ } & {
252
+ readonly value: Schema.Finite;
253
+ }>, Schema.Struct<{
254
+ readonly kind: Schema.Literal<"decibels">;
255
+ } & {
256
+ readonly value: Schema.Finite;
257
+ }>, Schema.Struct<{
258
+ readonly kind: Schema.Literal<"share">;
259
+ } & {
260
+ readonly value: Schema.Finite;
261
+ }>, Schema.Struct<{
262
+ readonly kind: Schema.Literal<"hertz">;
263
+ } & {
264
+ readonly value: Schema.Finite;
265
+ }>, Schema.Struct<{
266
+ readonly kind: Schema.Literal<"milliseconds">;
267
+ } & {
268
+ readonly value: Schema.Finite;
269
+ }>, Schema.Struct<{
270
+ readonly kind: Schema.Literal<"semitones">;
271
+ } & {
272
+ readonly value: Schema.Finite;
273
+ }>, Schema.Struct<{
274
+ readonly kind: Schema.Literal<"ticks">;
275
+ } & {
276
+ readonly value: Schema.Int;
277
+ }>, Schema.Struct<{
278
+ readonly kind: Schema.Literal<"pitch">;
279
+ } & {
280
+ readonly midi: Schema.Int;
281
+ readonly cents: Schema.Finite;
282
+ }>, Schema.Struct<{
283
+ readonly kind: Schema.Literal<"text">;
284
+ } & {
285
+ readonly value: Schema.String;
286
+ }>, Schema.Struct<{
287
+ readonly kind: Schema.Literal<"flag">;
288
+ } & {
289
+ readonly value: Schema.Boolean;
290
+ }>]>;
291
+ }>>;
292
+ }>;
293
+ type Hit = typeof HitSchema.Type;
294
+ declare const SliceSchema: Schema.Struct<{
295
+ readonly track: Schema.String;
296
+ readonly line: Schema.Int;
297
+ readonly sourceLine: Schema.Int;
298
+ readonly sourceColumn: Schema.Int;
299
+ readonly bar: Schema.Int;
300
+ readonly offset: Schema.Int;
301
+ readonly start: Schema.Int;
302
+ readonly length: Schema.Int;
303
+ readonly nudgeMilliseconds: Schema.Finite;
304
+ readonly nudgeSeconds: Schema.Finite;
305
+ readonly sample: Schema.String;
306
+ readonly index: Schema.Int;
307
+ readonly velocity: Schema.Finite;
308
+ readonly params: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
309
+ readonly kind: Schema.Literal<"semi">;
310
+ } & {
311
+ readonly semitones: Schema.Finite;
312
+ }>, Schema.Struct<{
313
+ readonly kind: Schema.Literal<"amp">;
314
+ } & {
315
+ readonly ratio: Schema.Finite;
316
+ }>, Schema.Struct<{
317
+ readonly kind: Schema.Literal<"rate">;
318
+ } & {
319
+ readonly ratio: Schema.Finite;
320
+ }>, Schema.Struct<{
321
+ readonly kind: Schema.Literal<"length">;
322
+ } & {
323
+ milliseconds: Schema.Finite;
324
+ seconds: Schema.Finite;
325
+ }>, Schema.Struct<{
326
+ readonly kind: Schema.Literal<"attack">;
327
+ } & {
328
+ milliseconds: Schema.Finite;
329
+ seconds: Schema.Finite;
330
+ }>, Schema.Struct<{
331
+ readonly kind: Schema.Literal<"release">;
332
+ } & {
333
+ milliseconds: Schema.Finite;
334
+ seconds: Schema.Finite;
335
+ }>, Schema.Struct<{
336
+ readonly kind: Schema.Literal<"decay">;
337
+ } & {
338
+ milliseconds: Schema.Finite;
339
+ seconds: Schema.Finite;
340
+ }>, Schema.Struct<{
341
+ readonly kind: Schema.Literal<"offset">;
342
+ } & {
343
+ milliseconds: Schema.Finite;
344
+ seconds: Schema.Finite;
345
+ }>, Schema.Struct<{
346
+ readonly kind: Schema.Literal<"highpass">;
347
+ } & {
348
+ readonly hertz: Schema.Finite;
349
+ readonly resonance: Schema.OptionFromNullOr<Schema.Finite>;
350
+ }>, Schema.Struct<{
351
+ readonly kind: Schema.Literal<"lowpass">;
352
+ } & {
353
+ readonly hertz: Schema.Finite;
354
+ readonly targetHertz: Schema.OptionFromNullOr<Schema.Finite>;
355
+ readonly resonance: Schema.OptionFromNullOr<Schema.Finite>;
356
+ }>, Schema.Struct<{
357
+ readonly kind: Schema.Literal<"gain">;
358
+ } & {
359
+ readonly decibels: Schema.Finite;
360
+ }>, Schema.Struct<{
361
+ readonly kind: Schema.Literal<"pan">;
362
+ } & {
363
+ readonly amount: Schema.Finite;
364
+ }>, Schema.Struct<{
365
+ readonly kind: Schema.Literal<"drive">;
366
+ } & {
367
+ readonly amount: Schema.Finite;
368
+ }>, Schema.Struct<{
369
+ readonly kind: Schema.Literal<"send">;
370
+ } & {
371
+ readonly bus: Schema.String;
372
+ readonly amount: Schema.Finite;
373
+ }>, Schema.Struct<{
374
+ readonly kind: Schema.Literal<"reverse">;
375
+ } & {
376
+ readonly fromSeconds: Schema.OptionFromNullOr<Schema.Finite>;
377
+ }>]>>;
378
+ }>;
379
+ type Slice = typeof SliceSchema.Type;
380
+ declare const EditSchema: Schema.Struct<{
381
+ readonly track: Schema.String;
382
+ readonly line: Schema.Int;
383
+ readonly sourceLine: Schema.Int;
384
+ readonly sourceColumn: Schema.Int;
385
+ readonly bar: Schema.Int;
386
+ readonly offset: Schema.Int;
387
+ readonly start: Schema.Int;
388
+ readonly length: Schema.Int;
389
+ readonly nudgeMilliseconds: Schema.Finite;
390
+ readonly nudgeSeconds: Schema.Finite;
391
+ readonly edit: Schema.Literals<readonly ["mute", "stutter", "tapestop", "reverse-slice"]>;
392
+ readonly every: Schema.OptionFromNullOr<Schema.Struct<{
393
+ readonly ticks: Schema.Int;
394
+ readonly count: Schema.OptionFromNullOr<Schema.Int>;
395
+ }>>;
396
+ readonly fadeMilliseconds: Schema.OptionFromNullOr<Schema.Finite>;
397
+ }>;
398
+ type Edit = typeof EditSchema.Type;
399
+ declare const PluginValueSchema: Schema.Union<readonly [Schema.Struct<{
400
+ readonly kind: Schema.Literal<"number">;
401
+ } & {
402
+ readonly value: Schema.Finite;
403
+ }>, Schema.Struct<{
404
+ readonly kind: Schema.Literal<"decibels">;
405
+ } & {
406
+ readonly value: Schema.Finite;
407
+ }>, Schema.Struct<{
408
+ readonly kind: Schema.Literal<"share">;
409
+ } & {
410
+ readonly value: Schema.Finite;
411
+ }>, Schema.Struct<{
412
+ readonly kind: Schema.Literal<"hertz">;
413
+ } & {
414
+ readonly value: Schema.Finite;
415
+ }>, Schema.Struct<{
416
+ readonly kind: Schema.Literal<"milliseconds">;
417
+ } & {
418
+ readonly value: Schema.Finite;
419
+ }>, Schema.Struct<{
420
+ readonly kind: Schema.Literal<"semitones">;
421
+ } & {
422
+ readonly value: Schema.Finite;
423
+ }>, Schema.Struct<{
424
+ readonly kind: Schema.Literal<"ticks">;
425
+ } & {
426
+ readonly value: Schema.Int;
427
+ }>, Schema.Struct<{
428
+ readonly kind: Schema.Literal<"pitch">;
429
+ } & {
430
+ readonly midi: Schema.Int;
431
+ readonly cents: Schema.Finite;
432
+ }>, Schema.Struct<{
433
+ readonly kind: Schema.Literal<"text">;
434
+ } & {
435
+ readonly value: Schema.String;
436
+ }>, Schema.Struct<{
437
+ readonly kind: Schema.Literal<"flag">;
438
+ } & {
439
+ readonly value: Schema.Boolean;
440
+ }>]>;
441
+ type PluginValue = typeof PluginValueSchema.Type;
442
+ declare const PluginSchema: Schema.Struct<{
443
+ readonly name: Schema.String;
444
+ readonly module: Schema.String;
445
+ readonly params: Schema.$Array<Schema.Struct<{
446
+ readonly name: Schema.String;
447
+ readonly type: Schema.Literals<readonly ["number", "pitch", "duration", "decibels", "percent", "hertz", "time", "semitones", "string", "bool"]>;
448
+ readonly default: Schema.OptionFromNullOr<Schema.Union<readonly [Schema.Struct<{
449
+ readonly kind: Schema.Literal<"number">;
450
+ } & {
451
+ readonly value: Schema.Finite;
452
+ }>, Schema.Struct<{
453
+ readonly kind: Schema.Literal<"decibels">;
454
+ } & {
455
+ readonly value: Schema.Finite;
456
+ }>, Schema.Struct<{
457
+ readonly kind: Schema.Literal<"share">;
458
+ } & {
459
+ readonly value: Schema.Finite;
460
+ }>, Schema.Struct<{
461
+ readonly kind: Schema.Literal<"hertz">;
462
+ } & {
463
+ readonly value: Schema.Finite;
464
+ }>, Schema.Struct<{
465
+ readonly kind: Schema.Literal<"milliseconds">;
466
+ } & {
467
+ readonly value: Schema.Finite;
468
+ }>, Schema.Struct<{
469
+ readonly kind: Schema.Literal<"semitones">;
470
+ } & {
471
+ readonly value: Schema.Finite;
472
+ }>, Schema.Struct<{
473
+ readonly kind: Schema.Literal<"ticks">;
474
+ } & {
475
+ readonly value: Schema.Int;
476
+ }>, Schema.Struct<{
477
+ readonly kind: Schema.Literal<"pitch">;
478
+ } & {
479
+ readonly midi: Schema.Int;
480
+ readonly cents: Schema.Finite;
481
+ }>, Schema.Struct<{
482
+ readonly kind: Schema.Literal<"text">;
483
+ } & {
484
+ readonly value: Schema.String;
485
+ }>, Schema.Struct<{
486
+ readonly kind: Schema.Literal<"flag">;
487
+ } & {
488
+ readonly value: Schema.Boolean;
489
+ }>]>>;
490
+ }>>;
491
+ }>;
492
+ type Plugin = typeof PluginSchema.Type;
493
+ declare const PluginArgumentSchema: Schema.Struct<{
494
+ readonly name: Schema.String;
495
+ readonly value: Schema.Union<readonly [Schema.Struct<{
496
+ readonly kind: Schema.Literal<"number">;
497
+ } & {
498
+ readonly value: Schema.Finite;
499
+ }>, Schema.Struct<{
500
+ readonly kind: Schema.Literal<"decibels">;
501
+ } & {
502
+ readonly value: Schema.Finite;
503
+ }>, Schema.Struct<{
504
+ readonly kind: Schema.Literal<"share">;
505
+ } & {
506
+ readonly value: Schema.Finite;
507
+ }>, Schema.Struct<{
508
+ readonly kind: Schema.Literal<"hertz">;
509
+ } & {
510
+ readonly value: Schema.Finite;
511
+ }>, Schema.Struct<{
512
+ readonly kind: Schema.Literal<"milliseconds">;
513
+ } & {
514
+ readonly value: Schema.Finite;
515
+ }>, Schema.Struct<{
516
+ readonly kind: Schema.Literal<"semitones">;
517
+ } & {
518
+ readonly value: Schema.Finite;
519
+ }>, Schema.Struct<{
520
+ readonly kind: Schema.Literal<"ticks">;
521
+ } & {
522
+ readonly value: Schema.Int;
523
+ }>, Schema.Struct<{
524
+ readonly kind: Schema.Literal<"pitch">;
525
+ } & {
526
+ readonly midi: Schema.Int;
527
+ readonly cents: Schema.Finite;
528
+ }>, Schema.Struct<{
529
+ readonly kind: Schema.Literal<"text">;
530
+ } & {
531
+ readonly value: Schema.String;
532
+ }>, Schema.Struct<{
533
+ readonly kind: Schema.Literal<"flag">;
534
+ } & {
535
+ readonly value: Schema.Boolean;
536
+ }>]>;
537
+ }>;
538
+ type PluginArgument = typeof PluginArgumentSchema.Type;
539
+ declare const PluginUseSchema: Schema.Struct<{
540
+ readonly kind: Schema.Literal<"plugin">;
541
+ } & {
542
+ readonly plugin: Schema.String;
543
+ readonly module: Schema.String;
544
+ readonly arguments: Schema.$Array<Schema.Struct<{
545
+ readonly name: Schema.String;
546
+ readonly value: Schema.Union<readonly [Schema.Struct<{
547
+ readonly kind: Schema.Literal<"number">;
548
+ } & {
549
+ readonly value: Schema.Finite;
550
+ }>, Schema.Struct<{
551
+ readonly kind: Schema.Literal<"decibels">;
552
+ } & {
553
+ readonly value: Schema.Finite;
554
+ }>, Schema.Struct<{
555
+ readonly kind: Schema.Literal<"share">;
556
+ } & {
557
+ readonly value: Schema.Finite;
558
+ }>, Schema.Struct<{
559
+ readonly kind: Schema.Literal<"hertz">;
560
+ } & {
561
+ readonly value: Schema.Finite;
562
+ }>, Schema.Struct<{
563
+ readonly kind: Schema.Literal<"milliseconds">;
564
+ } & {
565
+ readonly value: Schema.Finite;
566
+ }>, Schema.Struct<{
567
+ readonly kind: Schema.Literal<"semitones">;
568
+ } & {
569
+ readonly value: Schema.Finite;
570
+ }>, Schema.Struct<{
571
+ readonly kind: Schema.Literal<"ticks">;
572
+ } & {
573
+ readonly value: Schema.Int;
574
+ }>, Schema.Struct<{
575
+ readonly kind: Schema.Literal<"pitch">;
576
+ } & {
577
+ readonly midi: Schema.Int;
578
+ readonly cents: Schema.Finite;
579
+ }>, Schema.Struct<{
580
+ readonly kind: Schema.Literal<"text">;
581
+ } & {
582
+ readonly value: Schema.String;
583
+ }>, Schema.Struct<{
584
+ readonly kind: Schema.Literal<"flag">;
585
+ } & {
586
+ readonly value: Schema.Boolean;
587
+ }>]>;
588
+ }>>;
589
+ }>;
590
+ type PluginUse = typeof PluginUseSchema.Type;
591
+ declare const PlayParamSchema: Schema.Union<readonly [Schema.Struct<{
592
+ readonly kind: Schema.Literal<"semi">;
593
+ } & {
594
+ readonly semitones: Schema.Finite;
595
+ }>, Schema.Struct<{
596
+ readonly kind: Schema.Literal<"amp">;
597
+ } & {
598
+ readonly ratio: Schema.Finite;
599
+ }>, Schema.Struct<{
600
+ readonly kind: Schema.Literal<"rate">;
601
+ } & {
602
+ readonly ratio: Schema.Finite;
603
+ }>, Schema.Struct<{
604
+ readonly kind: Schema.Literal<"length">;
605
+ } & {
606
+ milliseconds: Schema.Finite;
607
+ seconds: Schema.Finite;
608
+ }>, Schema.Struct<{
609
+ readonly kind: Schema.Literal<"attack">;
610
+ } & {
611
+ milliseconds: Schema.Finite;
612
+ seconds: Schema.Finite;
613
+ }>, Schema.Struct<{
614
+ readonly kind: Schema.Literal<"release">;
615
+ } & {
616
+ milliseconds: Schema.Finite;
617
+ seconds: Schema.Finite;
618
+ }>, Schema.Struct<{
619
+ readonly kind: Schema.Literal<"decay">;
620
+ } & {
621
+ milliseconds: Schema.Finite;
622
+ seconds: Schema.Finite;
623
+ }>, Schema.Struct<{
624
+ readonly kind: Schema.Literal<"offset">;
625
+ } & {
626
+ milliseconds: Schema.Finite;
627
+ seconds: Schema.Finite;
628
+ }>, Schema.Struct<{
629
+ readonly kind: Schema.Literal<"highpass">;
630
+ } & {
631
+ readonly hertz: Schema.Finite;
632
+ readonly resonance: Schema.OptionFromNullOr<Schema.Finite>;
633
+ }>, Schema.Struct<{
634
+ readonly kind: Schema.Literal<"lowpass">;
635
+ } & {
636
+ readonly hertz: Schema.Finite;
637
+ readonly targetHertz: Schema.OptionFromNullOr<Schema.Finite>;
638
+ readonly resonance: Schema.OptionFromNullOr<Schema.Finite>;
639
+ }>, Schema.Struct<{
640
+ readonly kind: Schema.Literal<"gain">;
641
+ } & {
642
+ readonly decibels: Schema.Finite;
643
+ }>, Schema.Struct<{
644
+ readonly kind: Schema.Literal<"pan">;
645
+ } & {
646
+ readonly amount: Schema.Finite;
647
+ }>, Schema.Struct<{
648
+ readonly kind: Schema.Literal<"drive">;
649
+ } & {
650
+ readonly amount: Schema.Finite;
651
+ }>, Schema.Struct<{
652
+ readonly kind: Schema.Literal<"send">;
653
+ } & {
654
+ readonly bus: Schema.String;
655
+ readonly amount: Schema.Finite;
656
+ }>, Schema.Struct<{
657
+ readonly kind: Schema.Literal<"reverse">;
658
+ } & {
659
+ readonly fromSeconds: Schema.OptionFromNullOr<Schema.Finite>;
660
+ }>]>;
661
+ type PlayParam = typeof PlayParamSchema.Type;
662
+ declare const EffectSchema: Schema.Union<readonly [Schema.Struct<{
663
+ readonly kind: Schema.Literal<"highpass">;
664
+ } & {
665
+ readonly hertz: Schema.Finite;
666
+ readonly resonance: Schema.OptionFromNullOr<Schema.Finite>;
667
+ }>, Schema.Struct<{
668
+ readonly kind: Schema.Literal<"lowpass">;
669
+ } & {
670
+ readonly hertz: Schema.Finite;
671
+ readonly targetHertz: Schema.OptionFromNullOr<Schema.Finite>;
672
+ readonly resonance: Schema.OptionFromNullOr<Schema.Finite>;
673
+ }>, Schema.Struct<{
674
+ readonly kind: Schema.Literal<"gain">;
675
+ } & {
676
+ readonly decibels: Schema.Finite;
677
+ }>, Schema.Struct<{
678
+ readonly kind: Schema.Literal<"drive">;
679
+ } & {
680
+ readonly amount: Schema.Finite;
681
+ }>, Schema.Struct<{
682
+ readonly kind: Schema.Literal<"reverb">;
683
+ } & {
684
+ readonly left: Schema.String;
685
+ readonly right: Schema.OptionFromNullOr<Schema.String>;
686
+ readonly predelayMilliseconds: Schema.OptionFromNullOr<Schema.Finite>;
687
+ readonly mix: Schema.OptionFromNullOr<Schema.Finite>;
688
+ }>, Schema.Struct<{
689
+ readonly kind: Schema.Literal<"delay">;
690
+ } & {
691
+ readonly time: Schema.Union<readonly [Schema.Struct<{
692
+ readonly kind: Schema.Literal<"ticks">;
693
+ } & {
694
+ readonly ticks: Schema.Int;
695
+ }>, Schema.Struct<{
696
+ readonly kind: Schema.Literal<"milliseconds">;
697
+ } & {
698
+ readonly milliseconds: Schema.Finite;
699
+ }>]>;
700
+ readonly feedback: Schema.Finite;
701
+ readonly lowpassHertz: Schema.OptionFromNullOr<Schema.Finite>;
702
+ readonly highpassHertz: Schema.OptionFromNullOr<Schema.Finite>;
703
+ readonly pingpong: Schema.OptionFromNullOr<Schema.Finite>;
704
+ }>, Schema.Struct<{
705
+ readonly kind: Schema.Literal<"comp">;
706
+ } & {
707
+ readonly thresholdDecibels: Schema.Finite;
708
+ readonly ratio: Schema.Finite;
709
+ readonly attackMilliseconds: Schema.OptionFromNullOr<Schema.Finite>;
710
+ readonly releaseMilliseconds: Schema.OptionFromNullOr<Schema.Finite>;
711
+ readonly makeupDecibels: Schema.OptionFromNullOr<Schema.Finite>;
712
+ }>, Schema.Struct<{
713
+ readonly kind: Schema.Literal<"chorus">;
714
+ } & {
715
+ readonly depthMilliseconds: Schema.Finite;
716
+ readonly rateHertz: Schema.Finite;
717
+ readonly mix: Schema.Finite;
718
+ readonly baseMilliseconds: Schema.OptionFromNullOr<Schema.Finite>;
719
+ }>, Schema.Struct<{
720
+ readonly kind: Schema.Literal<"width">;
721
+ } & {
722
+ readonly amount: Schema.Finite;
723
+ readonly monoBelowHertz: Schema.OptionFromNullOr<Schema.Finite>;
724
+ }>, Schema.Struct<{
725
+ readonly kind: Schema.Literal<"limit">;
726
+ } & {
727
+ readonly ceilingDecibels: Schema.Finite;
728
+ readonly lookaheadMilliseconds: Schema.OptionFromNullOr<Schema.Finite>;
729
+ readonly releaseMilliseconds: Schema.OptionFromNullOr<Schema.Finite>;
730
+ }>, Schema.Struct<{
731
+ readonly kind: Schema.Literal<"phaser">;
732
+ } & {
733
+ readonly rateHertz: Schema.Finite;
734
+ readonly lowHertz: Schema.Finite;
735
+ readonly highHertz: Schema.Finite;
736
+ readonly feedback: Schema.OptionFromNullOr<Schema.Finite>;
737
+ readonly mix: Schema.OptionFromNullOr<Schema.Finite>;
738
+ }>, Schema.Struct<{
739
+ readonly kind: Schema.Literal<"tremolo">;
740
+ } & {
741
+ readonly rateHertz: Schema.Finite;
742
+ readonly depth: Schema.Finite;
743
+ }>, Schema.Struct<{
744
+ readonly kind: Schema.Literal<"plugin">;
745
+ } & {
746
+ readonly plugin: Schema.String;
747
+ readonly module: Schema.String;
748
+ readonly arguments: Schema.$Array<Schema.Struct<{
749
+ readonly name: Schema.String;
750
+ readonly value: Schema.Union<readonly [Schema.Struct<{
751
+ readonly kind: Schema.Literal<"number">;
752
+ } & {
753
+ readonly value: Schema.Finite;
754
+ }>, Schema.Struct<{
755
+ readonly kind: Schema.Literal<"decibels">;
756
+ } & {
757
+ readonly value: Schema.Finite;
758
+ }>, Schema.Struct<{
759
+ readonly kind: Schema.Literal<"share">;
760
+ } & {
761
+ readonly value: Schema.Finite;
762
+ }>, Schema.Struct<{
763
+ readonly kind: Schema.Literal<"hertz">;
764
+ } & {
765
+ readonly value: Schema.Finite;
766
+ }>, Schema.Struct<{
767
+ readonly kind: Schema.Literal<"milliseconds">;
768
+ } & {
769
+ readonly value: Schema.Finite;
770
+ }>, Schema.Struct<{
771
+ readonly kind: Schema.Literal<"semitones">;
772
+ } & {
773
+ readonly value: Schema.Finite;
774
+ }>, Schema.Struct<{
775
+ readonly kind: Schema.Literal<"ticks">;
776
+ } & {
777
+ readonly value: Schema.Int;
778
+ }>, Schema.Struct<{
779
+ readonly kind: Schema.Literal<"pitch">;
780
+ } & {
781
+ readonly midi: Schema.Int;
782
+ readonly cents: Schema.Finite;
783
+ }>, Schema.Struct<{
784
+ readonly kind: Schema.Literal<"text">;
785
+ } & {
786
+ readonly value: Schema.String;
787
+ }>, Schema.Struct<{
788
+ readonly kind: Schema.Literal<"flag">;
789
+ } & {
790
+ readonly value: Schema.Boolean;
791
+ }>]>;
792
+ }>>;
793
+ }>]>;
794
+ type Effect$1 = typeof EffectSchema.Type;
795
+ export { PluginUse as a, Hit as c, Slice as d, PluginArgument as i, Lyric as l, PlayParam as n, PluginValue as o, Plugin as r, Edit as s, Effect$1 as t, Note as u };
796
+ //# sourceMappingURL=index-DPt8MZ6e.d.mts.map