@r_masseater/song-format 0.0.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.
- package/LICENSE +87 -0
- package/README.md +92 -1
- package/dist/analysis.d.mts +95 -0
- package/dist/analysis.mjs +328 -0
- package/dist/analysis.mjs.map +1 -0
- package/dist/convert-als.d.mts +18 -0
- package/dist/convert-als.mjs +504 -0
- package/dist/convert-als.mjs.map +1 -0
- package/dist/convert-midi.d.mts +18 -0
- package/dist/convert-midi.mjs +273 -0
- package/dist/convert-midi.mjs.map +1 -0
- package/dist/fumx-language-server.mjs +23 -0
- package/dist/fumx-language-server.mjs.map +1 -0
- package/dist/fumx-module-CmHFC-eI.mjs +12513 -0
- package/dist/fumx-module-CmHFC-eI.mjs.map +1 -0
- package/dist/fumx-module-DJQrnEVm.mjs +2660 -0
- package/dist/fumx-module-DJQrnEVm.mjs.map +1 -0
- package/dist/grammar-86_uhiTo.mjs +9836 -0
- package/dist/grammar-86_uhiTo.mjs.map +1 -0
- package/dist/index-Cup9xTad.d.mts +105 -0
- package/dist/index-DPt8MZ6e.d.mts +796 -0
- package/dist/index-JXjnMHXw.d.mts +1350 -0
- package/dist/index.d.mts +9 -0
- package/dist/index.mjs +4 -0
- package/dist/language.d.mts +13 -0
- package/dist/language.mjs +3 -0
- package/dist/mapper.mjs +14 -0
- package/dist/mapper.mjs.map +1 -0
- package/dist/midi-to-fumx.mjs +1223 -0
- package/dist/midi-to-fumx.mjs.map +1 -0
- package/dist/read-song-CNrfcHrY.mjs +123 -0
- package/dist/read-song-CNrfcHrY.mjs.map +1 -0
- package/dist/read-song-CSIhaAEB.mjs +122 -0
- package/dist/read-song-CSIhaAEB.mjs.map +1 -0
- package/dist/run-main-Bf32CgzU.mjs +26 -0
- package/dist/run-main-Bf32CgzU.mjs.map +1 -0
- package/dist/song-3Zm9g84K.d.mts +1478 -0
- package/dist/song-CYFBSTbH.mjs +387 -0
- package/dist/song-CYFBSTbH.mjs.map +1 -0
- package/dist/song-report.mjs +351 -0
- package/dist/song-report.mjs.map +1 -0
- package/dist/ticks-CXehHP2w.mjs +27 -0
- package/dist/ticks-CXehHP2w.mjs.map +1 -0
- package/dist/transform-DQm5wTlA.mjs +489 -0
- package/dist/transform-DQm5wTlA.mjs.map +1 -0
- package/dist/vite.d.mts +3 -0
- package/dist/vite.mjs +128 -0
- package/dist/vite.mjs.map +1 -0
- package/dist/write-CS-ZjoQB.mjs +746 -0
- package/dist/write-CS-ZjoQB.mjs.map +1 -0
- package/package.json +127 -6
- package/skills/read-fumx/SKILL.md +86 -0
- package/skills/use-fumx-tools/SKILL.md +65 -0
|
@@ -0,0 +1,1350 @@
|
|
|
1
|
+
import "./index-DPt8MZ6e.mjs";
|
|
2
|
+
import { d as Song$1 } from "./song-3Zm9g84K.mjs";
|
|
3
|
+
import { Effect, Option, Predicate } from "effect";
|
|
4
|
+
import * as langium from "langium";
|
|
5
|
+
import { LangiumCoreServices, LangiumSharedCoreServices, Module, PartialLangiumCoreServices } from "langium";
|
|
6
|
+
declare const FumxTerminals: {
|
|
7
|
+
WS: RegExp;
|
|
8
|
+
ML_COMMENT: RegExp;
|
|
9
|
+
SL_COMMENT: RegExp;
|
|
10
|
+
PITCH: RegExp;
|
|
11
|
+
FRACTION: RegExp;
|
|
12
|
+
RATIO: RegExp;
|
|
13
|
+
BPM: RegExp;
|
|
14
|
+
BARS: RegExp;
|
|
15
|
+
MILLISECONDS: RegExp;
|
|
16
|
+
HERTZ: RegExp;
|
|
17
|
+
DECIBELS: RegExp;
|
|
18
|
+
PERCENT: RegExp;
|
|
19
|
+
SEMITONES: RegExp;
|
|
20
|
+
COUNT: RegExp;
|
|
21
|
+
NUMBER: RegExp;
|
|
22
|
+
STRING: RegExp;
|
|
23
|
+
ID: RegExp;
|
|
24
|
+
};
|
|
25
|
+
interface Amount extends langium.AstNode {
|
|
26
|
+
readonly $container: Automation;
|
|
27
|
+
readonly $type: 'Amount';
|
|
28
|
+
value: number | string;
|
|
29
|
+
}
|
|
30
|
+
declare const Amount: {
|
|
31
|
+
readonly $type: 'Amount';
|
|
32
|
+
readonly value: 'value';
|
|
33
|
+
};
|
|
34
|
+
interface Amp extends langium.AstNode {
|
|
35
|
+
readonly $container: KitVoice | Sounding;
|
|
36
|
+
readonly $type: 'Amp';
|
|
37
|
+
amount: number;
|
|
38
|
+
}
|
|
39
|
+
declare const Amp: {
|
|
40
|
+
readonly $type: 'Amp';
|
|
41
|
+
readonly amount: 'amount';
|
|
42
|
+
};
|
|
43
|
+
interface Articulation extends langium.AstNode {
|
|
44
|
+
readonly $container: Sounding;
|
|
45
|
+
readonly $type: 'Articulation';
|
|
46
|
+
kind: 'accent' | 'legato' | 'staccato';
|
|
47
|
+
}
|
|
48
|
+
declare const Articulation: {
|
|
49
|
+
readonly $type: 'Articulation';
|
|
50
|
+
readonly kind: 'kind';
|
|
51
|
+
};
|
|
52
|
+
interface Assign extends langium.AstNode {
|
|
53
|
+
readonly $container: Fn | For | If | Repeat | Song | While;
|
|
54
|
+
readonly $type: 'Assign';
|
|
55
|
+
target: langium.Reference<Binding>;
|
|
56
|
+
value: Expression;
|
|
57
|
+
}
|
|
58
|
+
declare const Assign: {
|
|
59
|
+
readonly $type: 'Assign';
|
|
60
|
+
readonly target: 'target';
|
|
61
|
+
readonly value: 'value';
|
|
62
|
+
};
|
|
63
|
+
interface Attack extends langium.AstNode {
|
|
64
|
+
readonly $container: KitVoice | Sounding;
|
|
65
|
+
readonly $type: 'Attack';
|
|
66
|
+
time: string;
|
|
67
|
+
}
|
|
68
|
+
declare const Attack: {
|
|
69
|
+
readonly $type: 'Attack';
|
|
70
|
+
readonly time: 'time';
|
|
71
|
+
};
|
|
72
|
+
type Attribute = Articulation | Bend | Every | Fade | GateLength | Lyric | Nudge | PlayParam | ReleaseVelocity | Tie | Velocity | With;
|
|
73
|
+
declare const Attribute: {
|
|
74
|
+
readonly $type: 'Attribute';
|
|
75
|
+
};
|
|
76
|
+
interface AudioSource extends langium.AstNode {
|
|
77
|
+
readonly $container: Track;
|
|
78
|
+
readonly $type: 'AudioSource';
|
|
79
|
+
audio: boolean;
|
|
80
|
+
}
|
|
81
|
+
declare const AudioSource: {
|
|
82
|
+
readonly $type: 'AudioSource';
|
|
83
|
+
readonly audio: 'audio';
|
|
84
|
+
};
|
|
85
|
+
interface Automation extends langium.AstNode {
|
|
86
|
+
readonly $container: Bar;
|
|
87
|
+
readonly $type: 'Automation';
|
|
88
|
+
curve?: 'exp' | 'linear';
|
|
89
|
+
field?: Name;
|
|
90
|
+
from: Amount;
|
|
91
|
+
parameter: Name;
|
|
92
|
+
span: string;
|
|
93
|
+
target: langium.Reference<Mixable>;
|
|
94
|
+
to: Amount;
|
|
95
|
+
}
|
|
96
|
+
declare const Automation: {
|
|
97
|
+
readonly $type: 'Automation';
|
|
98
|
+
readonly curve: 'curve';
|
|
99
|
+
readonly field: 'field';
|
|
100
|
+
readonly from: 'from';
|
|
101
|
+
readonly parameter: 'parameter';
|
|
102
|
+
readonly span: 'span';
|
|
103
|
+
readonly target: 'target';
|
|
104
|
+
readonly to: 'to';
|
|
105
|
+
};
|
|
106
|
+
interface Bar extends langium.AstNode {
|
|
107
|
+
readonly $container: Fn | For | If | Repeat | Song | While;
|
|
108
|
+
readonly $type: 'Bar';
|
|
109
|
+
lines: Array<Line>;
|
|
110
|
+
mark?: string;
|
|
111
|
+
meter?: Meter;
|
|
112
|
+
section?: Name;
|
|
113
|
+
tempo?: Tempo;
|
|
114
|
+
}
|
|
115
|
+
declare const Bar: {
|
|
116
|
+
readonly $type: 'Bar';
|
|
117
|
+
readonly lines: 'lines';
|
|
118
|
+
readonly mark: 'mark';
|
|
119
|
+
readonly meter: 'meter';
|
|
120
|
+
readonly section: 'section';
|
|
121
|
+
readonly tempo: 'tempo';
|
|
122
|
+
};
|
|
123
|
+
interface Bend extends langium.AstNode {
|
|
124
|
+
readonly $container: Sounding;
|
|
125
|
+
readonly $type: 'Bend';
|
|
126
|
+
points: Array<BendPoint>;
|
|
127
|
+
}
|
|
128
|
+
declare const Bend: {
|
|
129
|
+
readonly $type: 'Bend';
|
|
130
|
+
readonly points: 'points';
|
|
131
|
+
};
|
|
132
|
+
interface BendPoint extends langium.AstNode {
|
|
133
|
+
readonly $container: Bend;
|
|
134
|
+
readonly $type: 'BendPoint';
|
|
135
|
+
amount: string;
|
|
136
|
+
at: string;
|
|
137
|
+
}
|
|
138
|
+
declare const BendPoint: {
|
|
139
|
+
readonly $type: 'BendPoint';
|
|
140
|
+
readonly amount: 'amount';
|
|
141
|
+
readonly at: 'at';
|
|
142
|
+
};
|
|
143
|
+
interface Binary extends langium.AstNode {
|
|
144
|
+
readonly $container: Assign | Binary | Builtin | Call | CallStatement | Computed | Each | For | Group | If | Index | Let | ListLiteral | Repeat | Rest | Return | Sounding | Unary | Velocity | While;
|
|
145
|
+
readonly $type: 'Binary';
|
|
146
|
+
left: Expression;
|
|
147
|
+
operator: '!=' | '*' | '+' | '-' | '/' | '<' | '<=' | '==' | '>' | '>=' | 'and' | 'mod' | 'or';
|
|
148
|
+
right: Expression;
|
|
149
|
+
}
|
|
150
|
+
declare const Binary: {
|
|
151
|
+
readonly $type: 'Binary';
|
|
152
|
+
readonly left: 'left';
|
|
153
|
+
readonly operator: 'operator';
|
|
154
|
+
readonly right: 'right';
|
|
155
|
+
};
|
|
156
|
+
type Binding = Each | For | Let | Param;
|
|
157
|
+
declare const Binding: {
|
|
158
|
+
readonly $type: 'Binding';
|
|
159
|
+
};
|
|
160
|
+
interface Builtin extends langium.AstNode {
|
|
161
|
+
readonly $container: Assign | Binary | Builtin | Call | CallStatement | Computed | Each | For | Group | If | Index | Let | ListLiteral | Repeat | Rest | Return | Sounding | Unary | Velocity | While;
|
|
162
|
+
readonly $type: 'Builtin';
|
|
163
|
+
args: Array<Expression>;
|
|
164
|
+
name: 'floor' | 'len' | 'push' | 'random' | 'range';
|
|
165
|
+
}
|
|
166
|
+
declare const Builtin: {
|
|
167
|
+
readonly $type: 'Builtin';
|
|
168
|
+
readonly args: 'args';
|
|
169
|
+
readonly name: 'name';
|
|
170
|
+
};
|
|
171
|
+
interface Bus extends langium.AstNode {
|
|
172
|
+
readonly $container: Song;
|
|
173
|
+
readonly $type: 'Bus';
|
|
174
|
+
fx?: FxChain;
|
|
175
|
+
muted: boolean;
|
|
176
|
+
name: Name;
|
|
177
|
+
pan?: string;
|
|
178
|
+
sends: Array<Send>;
|
|
179
|
+
volume?: string;
|
|
180
|
+
}
|
|
181
|
+
declare const Bus: {
|
|
182
|
+
readonly $type: 'Bus';
|
|
183
|
+
readonly fx: 'fx';
|
|
184
|
+
readonly muted: 'muted';
|
|
185
|
+
readonly name: 'name';
|
|
186
|
+
readonly pan: 'pan';
|
|
187
|
+
readonly sends: 'sends';
|
|
188
|
+
readonly volume: 'volume';
|
|
189
|
+
};
|
|
190
|
+
interface Call extends langium.AstNode {
|
|
191
|
+
readonly $container: Assign | Binary | Builtin | Call | CallStatement | Computed | Each | For | Group | If | Index | Let | ListLiteral | Repeat | Rest | Return | Sounding | Unary | Velocity | While;
|
|
192
|
+
readonly $type: 'Call';
|
|
193
|
+
args: Array<Expression>;
|
|
194
|
+
callee: langium.Reference<Fn>;
|
|
195
|
+
}
|
|
196
|
+
declare const Call: {
|
|
197
|
+
readonly $type: 'Call';
|
|
198
|
+
readonly args: 'args';
|
|
199
|
+
readonly callee: 'callee';
|
|
200
|
+
};
|
|
201
|
+
interface CallStatement extends langium.AstNode {
|
|
202
|
+
readonly $container: Fn | For | If | Repeat | Song | While;
|
|
203
|
+
readonly $type: 'CallStatement';
|
|
204
|
+
args: Array<Expression>;
|
|
205
|
+
callee: langium.Reference<Fn>;
|
|
206
|
+
}
|
|
207
|
+
declare const CallStatement: {
|
|
208
|
+
readonly $type: 'CallStatement';
|
|
209
|
+
readonly args: 'args';
|
|
210
|
+
readonly callee: 'callee';
|
|
211
|
+
};
|
|
212
|
+
interface Chord extends langium.AstNode {
|
|
213
|
+
readonly $container: Sounding;
|
|
214
|
+
readonly $type: 'Chord';
|
|
215
|
+
notes: Array<Note>;
|
|
216
|
+
}
|
|
217
|
+
declare const Chord: {
|
|
218
|
+
readonly $type: 'Chord';
|
|
219
|
+
readonly notes: 'notes';
|
|
220
|
+
};
|
|
221
|
+
interface Chorus extends langium.AstNode {
|
|
222
|
+
readonly $container: FxChain;
|
|
223
|
+
readonly $type: 'Chorus';
|
|
224
|
+
base?: string;
|
|
225
|
+
depth: string;
|
|
226
|
+
mix: string;
|
|
227
|
+
rate: string;
|
|
228
|
+
}
|
|
229
|
+
declare const Chorus: {
|
|
230
|
+
readonly $type: 'Chorus';
|
|
231
|
+
readonly base: 'base';
|
|
232
|
+
readonly depth: 'depth';
|
|
233
|
+
readonly mix: 'mix';
|
|
234
|
+
readonly rate: 'rate';
|
|
235
|
+
};
|
|
236
|
+
interface Comp extends langium.AstNode {
|
|
237
|
+
readonly $container: FxChain;
|
|
238
|
+
readonly $type: 'Comp';
|
|
239
|
+
attack?: string;
|
|
240
|
+
makeup?: string;
|
|
241
|
+
ratio: string;
|
|
242
|
+
release?: string;
|
|
243
|
+
threshold: string;
|
|
244
|
+
}
|
|
245
|
+
declare const Comp: {
|
|
246
|
+
readonly $type: 'Comp';
|
|
247
|
+
readonly attack: 'attack';
|
|
248
|
+
readonly makeup: 'makeup';
|
|
249
|
+
readonly ratio: 'ratio';
|
|
250
|
+
readonly release: 'release';
|
|
251
|
+
readonly threshold: 'threshold';
|
|
252
|
+
};
|
|
253
|
+
interface Computed extends langium.AstNode {
|
|
254
|
+
readonly $container: Sounding;
|
|
255
|
+
readonly $type: 'Computed';
|
|
256
|
+
value: Expression;
|
|
257
|
+
}
|
|
258
|
+
declare const Computed: {
|
|
259
|
+
readonly $type: 'Computed';
|
|
260
|
+
readonly value: 'value';
|
|
261
|
+
};
|
|
262
|
+
interface Control extends langium.AstNode {
|
|
263
|
+
readonly $container: ControlLine;
|
|
264
|
+
readonly $type: 'Control';
|
|
265
|
+
kind: 'bend' | 'cc' | 'pressure' | 'program';
|
|
266
|
+
number?: number;
|
|
267
|
+
pitch?: string;
|
|
268
|
+
}
|
|
269
|
+
declare const Control: {
|
|
270
|
+
readonly $type: 'Control';
|
|
271
|
+
readonly kind: 'kind';
|
|
272
|
+
readonly number: 'number';
|
|
273
|
+
readonly pitch: 'pitch';
|
|
274
|
+
};
|
|
275
|
+
interface ControlHold extends langium.AstNode {
|
|
276
|
+
readonly $container: ControlLine;
|
|
277
|
+
readonly $type: 'ControlHold';
|
|
278
|
+
duration: string;
|
|
279
|
+
target?: ControlValue;
|
|
280
|
+
value: ControlValue;
|
|
281
|
+
}
|
|
282
|
+
declare const ControlHold: {
|
|
283
|
+
readonly $type: 'ControlHold';
|
|
284
|
+
readonly duration: 'duration';
|
|
285
|
+
readonly target: 'target';
|
|
286
|
+
readonly value: 'value';
|
|
287
|
+
};
|
|
288
|
+
interface ControlLine extends langium.AstNode {
|
|
289
|
+
readonly $container: Bar;
|
|
290
|
+
readonly $type: 'ControlLine';
|
|
291
|
+
control: Control;
|
|
292
|
+
steps: Array<ControlStep>;
|
|
293
|
+
track: langium.Reference<Track>;
|
|
294
|
+
}
|
|
295
|
+
declare const ControlLine: {
|
|
296
|
+
readonly $type: 'ControlLine';
|
|
297
|
+
readonly control: 'control';
|
|
298
|
+
readonly steps: 'steps';
|
|
299
|
+
readonly track: 'track';
|
|
300
|
+
};
|
|
301
|
+
type ControlStep = ControlHold | Rest;
|
|
302
|
+
declare const ControlStep: {
|
|
303
|
+
readonly $type: 'ControlStep';
|
|
304
|
+
};
|
|
305
|
+
interface ControlValue extends langium.AstNode {
|
|
306
|
+
readonly $container: ControlHold;
|
|
307
|
+
readonly $type: 'ControlValue';
|
|
308
|
+
number?: number;
|
|
309
|
+
semitones?: string;
|
|
310
|
+
}
|
|
311
|
+
declare const ControlValue: {
|
|
312
|
+
readonly $type: 'ControlValue';
|
|
313
|
+
readonly number: 'number';
|
|
314
|
+
readonly semitones: 'semitones';
|
|
315
|
+
};
|
|
316
|
+
interface Decay extends langium.AstNode {
|
|
317
|
+
readonly $container: KitVoice | Sounding;
|
|
318
|
+
readonly $type: 'Decay';
|
|
319
|
+
time: string;
|
|
320
|
+
}
|
|
321
|
+
declare const Decay: {
|
|
322
|
+
readonly $type: 'Decay';
|
|
323
|
+
readonly time: 'time';
|
|
324
|
+
};
|
|
325
|
+
type Declaration = Bus | Duck | Groove | Instrument | Kit | Master | Plugin | Sample | Track;
|
|
326
|
+
declare const Declaration: {
|
|
327
|
+
readonly $type: 'Declaration';
|
|
328
|
+
};
|
|
329
|
+
interface Delay extends langium.AstNode {
|
|
330
|
+
readonly $container: FxChain;
|
|
331
|
+
readonly $type: 'Delay';
|
|
332
|
+
beats?: string;
|
|
333
|
+
feedback: string;
|
|
334
|
+
highpass?: string;
|
|
335
|
+
lowpass?: string;
|
|
336
|
+
pingpong?: string;
|
|
337
|
+
time?: string;
|
|
338
|
+
}
|
|
339
|
+
declare const Delay: {
|
|
340
|
+
readonly $type: 'Delay';
|
|
341
|
+
readonly beats: 'beats';
|
|
342
|
+
readonly feedback: 'feedback';
|
|
343
|
+
readonly highpass: 'highpass';
|
|
344
|
+
readonly lowpass: 'lowpass';
|
|
345
|
+
readonly pingpong: 'pingpong';
|
|
346
|
+
readonly time: 'time';
|
|
347
|
+
};
|
|
348
|
+
interface Drive extends langium.AstNode {
|
|
349
|
+
readonly $container: FxChain | KitVoice | Sounding;
|
|
350
|
+
readonly $type: 'Drive';
|
|
351
|
+
amount: number;
|
|
352
|
+
}
|
|
353
|
+
declare const Drive: {
|
|
354
|
+
readonly $type: 'Drive';
|
|
355
|
+
readonly amount: 'amount';
|
|
356
|
+
};
|
|
357
|
+
interface Duck extends langium.AstNode {
|
|
358
|
+
readonly $container: Song;
|
|
359
|
+
readonly $type: 'Duck';
|
|
360
|
+
depths: Array<DuckDepth>;
|
|
361
|
+
hold: string;
|
|
362
|
+
release: string;
|
|
363
|
+
source: langium.Reference<Track>;
|
|
364
|
+
targets: Array<langium.Reference<Mixable>>;
|
|
365
|
+
}
|
|
366
|
+
declare const Duck: {
|
|
367
|
+
readonly $type: 'Duck';
|
|
368
|
+
readonly depths: 'depths';
|
|
369
|
+
readonly hold: 'hold';
|
|
370
|
+
readonly release: 'release';
|
|
371
|
+
readonly source: 'source';
|
|
372
|
+
readonly targets: 'targets';
|
|
373
|
+
};
|
|
374
|
+
interface DuckDepth extends langium.AstNode {
|
|
375
|
+
readonly $container: Duck;
|
|
376
|
+
readonly $type: 'DuckDepth';
|
|
377
|
+
amount: string;
|
|
378
|
+
target: langium.Reference<Mixable>;
|
|
379
|
+
}
|
|
380
|
+
declare const DuckDepth: {
|
|
381
|
+
readonly $type: 'DuckDepth';
|
|
382
|
+
readonly amount: 'amount';
|
|
383
|
+
readonly target: 'target';
|
|
384
|
+
};
|
|
385
|
+
interface Each extends langium.AstNode {
|
|
386
|
+
readonly $container: Each | Tuplet | VoiceLine;
|
|
387
|
+
readonly $type: 'Each';
|
|
388
|
+
events: Array<Event>;
|
|
389
|
+
items: Expression;
|
|
390
|
+
name: Name;
|
|
391
|
+
}
|
|
392
|
+
declare const Each: {
|
|
393
|
+
readonly $type: 'Each';
|
|
394
|
+
readonly events: 'events';
|
|
395
|
+
readonly items: 'items';
|
|
396
|
+
readonly name: 'name';
|
|
397
|
+
};
|
|
398
|
+
interface Edit extends langium.AstNode {
|
|
399
|
+
readonly $container: Sounding;
|
|
400
|
+
readonly $type: 'Edit';
|
|
401
|
+
kind: 'mute' | 'reverse-slice' | 'stutter' | 'tapestop';
|
|
402
|
+
}
|
|
403
|
+
declare const Edit: {
|
|
404
|
+
readonly $type: 'Edit';
|
|
405
|
+
readonly kind: 'kind';
|
|
406
|
+
};
|
|
407
|
+
type Effect$1 = Chorus | Comp | Delay | Drive | Gain | Highpass | Limit | Lowpass | Phaser | PluginEffect | Reverb | Tremolo | Width;
|
|
408
|
+
declare const Effect$1: {
|
|
409
|
+
readonly $type: 'Effect';
|
|
410
|
+
};
|
|
411
|
+
type Event = Each | Rest | Sounding | Tuplet;
|
|
412
|
+
declare const Event: {
|
|
413
|
+
readonly $type: 'Event';
|
|
414
|
+
};
|
|
415
|
+
interface Every extends langium.AstNode {
|
|
416
|
+
readonly $container: Sounding;
|
|
417
|
+
readonly $type: 'Every';
|
|
418
|
+
count?: string;
|
|
419
|
+
slice: string;
|
|
420
|
+
}
|
|
421
|
+
declare const Every: {
|
|
422
|
+
readonly $type: 'Every';
|
|
423
|
+
readonly count: 'count';
|
|
424
|
+
readonly slice: 'slice';
|
|
425
|
+
};
|
|
426
|
+
type Exportable = Bus | Fn | Instrument | Kit | Let | Plugin | Sample | Track;
|
|
427
|
+
declare const Exportable: {
|
|
428
|
+
readonly $type: 'Exportable';
|
|
429
|
+
};
|
|
430
|
+
type Expression = Binary | Builtin | Call | Group | Index | ListLiteral | Literal | Ref | Unary;
|
|
431
|
+
declare const Expression: {
|
|
432
|
+
readonly $type: 'Expression';
|
|
433
|
+
};
|
|
434
|
+
interface Fade extends langium.AstNode {
|
|
435
|
+
readonly $container: Sounding;
|
|
436
|
+
readonly $type: 'Fade';
|
|
437
|
+
time: string;
|
|
438
|
+
}
|
|
439
|
+
declare const Fade: {
|
|
440
|
+
readonly $type: 'Fade';
|
|
441
|
+
readonly time: 'time';
|
|
442
|
+
};
|
|
443
|
+
interface Fn extends langium.AstNode {
|
|
444
|
+
readonly $container: Fn | For | If | Repeat | Song | While;
|
|
445
|
+
readonly $type: 'Fn';
|
|
446
|
+
body: Array<Statement>;
|
|
447
|
+
name: Name;
|
|
448
|
+
params: Array<Param>;
|
|
449
|
+
returns?: TypeRef;
|
|
450
|
+
}
|
|
451
|
+
declare const Fn: {
|
|
452
|
+
readonly $type: 'Fn';
|
|
453
|
+
readonly body: 'body';
|
|
454
|
+
readonly name: 'name';
|
|
455
|
+
readonly params: 'params';
|
|
456
|
+
readonly returns: 'returns';
|
|
457
|
+
};
|
|
458
|
+
interface For extends langium.AstNode {
|
|
459
|
+
readonly $container: Fn | For | If | Repeat | Song | While;
|
|
460
|
+
readonly $type: 'For';
|
|
461
|
+
body: Array<Statement>;
|
|
462
|
+
items: Expression;
|
|
463
|
+
name: Name;
|
|
464
|
+
}
|
|
465
|
+
declare const For: {
|
|
466
|
+
readonly $type: 'For';
|
|
467
|
+
readonly body: 'body';
|
|
468
|
+
readonly items: 'items';
|
|
469
|
+
readonly name: 'name';
|
|
470
|
+
};
|
|
471
|
+
interface FxChain extends langium.AstNode {
|
|
472
|
+
readonly $container: Bus | Master | Track;
|
|
473
|
+
readonly $type: 'FxChain';
|
|
474
|
+
effects: Array<Effect$1>;
|
|
475
|
+
}
|
|
476
|
+
declare const FxChain: {
|
|
477
|
+
readonly $type: 'FxChain';
|
|
478
|
+
readonly effects: 'effects';
|
|
479
|
+
};
|
|
480
|
+
interface Gain extends langium.AstNode {
|
|
481
|
+
readonly $container: FxChain | KitVoice | Sounding;
|
|
482
|
+
readonly $type: 'Gain';
|
|
483
|
+
amount: string;
|
|
484
|
+
}
|
|
485
|
+
declare const Gain: {
|
|
486
|
+
readonly $type: 'Gain';
|
|
487
|
+
readonly amount: 'amount';
|
|
488
|
+
};
|
|
489
|
+
interface GateLength extends langium.AstNode {
|
|
490
|
+
readonly $container: Sounding;
|
|
491
|
+
readonly $type: 'GateLength';
|
|
492
|
+
amount: string;
|
|
493
|
+
}
|
|
494
|
+
declare const GateLength: {
|
|
495
|
+
readonly $type: 'GateLength';
|
|
496
|
+
readonly amount: 'amount';
|
|
497
|
+
};
|
|
498
|
+
interface Groove extends langium.AstNode {
|
|
499
|
+
readonly $container: Song;
|
|
500
|
+
readonly $type: 'Groove';
|
|
501
|
+
amount: string;
|
|
502
|
+
grid: string;
|
|
503
|
+
}
|
|
504
|
+
declare const Groove: {
|
|
505
|
+
readonly $type: 'Groove';
|
|
506
|
+
readonly amount: 'amount';
|
|
507
|
+
readonly grid: 'grid';
|
|
508
|
+
};
|
|
509
|
+
interface Group extends langium.AstNode {
|
|
510
|
+
readonly $container: Assign | Binary | Builtin | Call | CallStatement | Computed | Each | For | Group | If | Index | Let | ListLiteral | Repeat | Rest | Return | Sounding | Unary | Velocity | While;
|
|
511
|
+
readonly $type: 'Group';
|
|
512
|
+
inner: Expression;
|
|
513
|
+
}
|
|
514
|
+
declare const Group: {
|
|
515
|
+
readonly $type: 'Group';
|
|
516
|
+
readonly inner: 'inner';
|
|
517
|
+
};
|
|
518
|
+
type Head = Chord | Computed | Edit | Hit | Note | Slice;
|
|
519
|
+
declare const Head: {
|
|
520
|
+
readonly $type: 'Head';
|
|
521
|
+
};
|
|
522
|
+
interface Highpass extends langium.AstNode {
|
|
523
|
+
readonly $container: FxChain | KitVoice | Sounding;
|
|
524
|
+
readonly $type: 'Highpass';
|
|
525
|
+
frequency: string;
|
|
526
|
+
resonance?: number;
|
|
527
|
+
}
|
|
528
|
+
declare const Highpass: {
|
|
529
|
+
readonly $type: 'Highpass';
|
|
530
|
+
readonly frequency: 'frequency';
|
|
531
|
+
readonly resonance: 'resonance';
|
|
532
|
+
};
|
|
533
|
+
interface Hit extends langium.AstNode {
|
|
534
|
+
readonly $container: Sounding;
|
|
535
|
+
readonly $type: 'Hit';
|
|
536
|
+
voice: Name;
|
|
537
|
+
}
|
|
538
|
+
declare const Hit: {
|
|
539
|
+
readonly $type: 'Hit';
|
|
540
|
+
readonly voice: 'voice';
|
|
541
|
+
};
|
|
542
|
+
interface If extends langium.AstNode {
|
|
543
|
+
readonly $container: Fn | For | If | Repeat | Song | While;
|
|
544
|
+
readonly $type: 'If';
|
|
545
|
+
condition: Expression;
|
|
546
|
+
else: Array<Statement>;
|
|
547
|
+
otherwise?: If;
|
|
548
|
+
then: Array<Statement>;
|
|
549
|
+
}
|
|
550
|
+
declare const If: {
|
|
551
|
+
readonly $type: 'If';
|
|
552
|
+
readonly condition: 'condition';
|
|
553
|
+
readonly else: 'else';
|
|
554
|
+
readonly otherwise: 'otherwise';
|
|
555
|
+
readonly then: 'then';
|
|
556
|
+
};
|
|
557
|
+
interface Import extends langium.AstNode {
|
|
558
|
+
readonly $container: Song;
|
|
559
|
+
readonly $type: 'Import';
|
|
560
|
+
path: string;
|
|
561
|
+
symbols: Array<ImportedSymbol>;
|
|
562
|
+
}
|
|
563
|
+
declare const Import: {
|
|
564
|
+
readonly $type: 'Import';
|
|
565
|
+
readonly path: 'path';
|
|
566
|
+
readonly symbols: 'symbols';
|
|
567
|
+
};
|
|
568
|
+
interface ImportedSymbol extends langium.AstNode {
|
|
569
|
+
readonly $container: Import;
|
|
570
|
+
readonly $type: 'ImportedSymbol';
|
|
571
|
+
target: langium.Reference<Exportable>;
|
|
572
|
+
}
|
|
573
|
+
declare const ImportedSymbol: {
|
|
574
|
+
readonly $type: 'ImportedSymbol';
|
|
575
|
+
readonly target: 'target';
|
|
576
|
+
};
|
|
577
|
+
interface Index extends langium.AstNode {
|
|
578
|
+
readonly $container: Assign | Binary | Builtin | Call | CallStatement | Computed | Each | For | Group | If | Index | Let | ListLiteral | Repeat | Rest | Return | Sounding | Unary | Velocity | While;
|
|
579
|
+
readonly $type: 'Index';
|
|
580
|
+
index: Expression;
|
|
581
|
+
list: Expression;
|
|
582
|
+
}
|
|
583
|
+
declare const Index: {
|
|
584
|
+
readonly $type: 'Index';
|
|
585
|
+
readonly index: 'index';
|
|
586
|
+
readonly list: 'list';
|
|
587
|
+
};
|
|
588
|
+
interface Instrument extends langium.AstNode {
|
|
589
|
+
readonly $container: Song;
|
|
590
|
+
readonly $type: 'Instrument';
|
|
591
|
+
name: Name;
|
|
592
|
+
source: InstrumentSource;
|
|
593
|
+
}
|
|
594
|
+
declare const Instrument: {
|
|
595
|
+
readonly $type: 'Instrument';
|
|
596
|
+
readonly name: 'name';
|
|
597
|
+
readonly source: 'source';
|
|
598
|
+
};
|
|
599
|
+
interface InstrumentRef extends langium.AstNode {
|
|
600
|
+
readonly $container: Track;
|
|
601
|
+
readonly $type: 'InstrumentRef';
|
|
602
|
+
instrument: langium.Reference<Instrument>;
|
|
603
|
+
}
|
|
604
|
+
declare const InstrumentRef: {
|
|
605
|
+
readonly $type: 'InstrumentRef';
|
|
606
|
+
readonly instrument: 'instrument';
|
|
607
|
+
};
|
|
608
|
+
type InstrumentSource = MultiSample | PluginInstrument | SingleSample;
|
|
609
|
+
declare const InstrumentSource: {
|
|
610
|
+
readonly $type: 'InstrumentSource';
|
|
611
|
+
};
|
|
612
|
+
interface Kit extends langium.AstNode {
|
|
613
|
+
readonly $container: Song;
|
|
614
|
+
readonly $type: 'Kit';
|
|
615
|
+
name: Name;
|
|
616
|
+
voices: Array<KitVoice>;
|
|
617
|
+
}
|
|
618
|
+
declare const Kit: {
|
|
619
|
+
readonly $type: 'Kit';
|
|
620
|
+
readonly name: 'name';
|
|
621
|
+
readonly voices: 'voices';
|
|
622
|
+
};
|
|
623
|
+
interface KitSource extends langium.AstNode {
|
|
624
|
+
readonly $container: Track;
|
|
625
|
+
readonly $type: 'KitSource';
|
|
626
|
+
kit: langium.Reference<Kit>;
|
|
627
|
+
}
|
|
628
|
+
declare const KitSource: {
|
|
629
|
+
readonly $type: 'KitSource';
|
|
630
|
+
readonly kit: 'kit';
|
|
631
|
+
};
|
|
632
|
+
interface KitVoice extends langium.AstNode {
|
|
633
|
+
readonly $container: Kit;
|
|
634
|
+
readonly $type: 'KitVoice';
|
|
635
|
+
name: Name;
|
|
636
|
+
params: Array<PlayParam>;
|
|
637
|
+
path?: string;
|
|
638
|
+
use?: PluginUse;
|
|
639
|
+
}
|
|
640
|
+
declare const KitVoice: {
|
|
641
|
+
readonly $type: 'KitVoice';
|
|
642
|
+
readonly name: 'name';
|
|
643
|
+
readonly params: 'params';
|
|
644
|
+
readonly path: 'path';
|
|
645
|
+
readonly use: 'use';
|
|
646
|
+
};
|
|
647
|
+
interface Length extends langium.AstNode {
|
|
648
|
+
readonly $container: KitVoice | Sounding;
|
|
649
|
+
readonly $type: 'Length';
|
|
650
|
+
time: string;
|
|
651
|
+
}
|
|
652
|
+
declare const Length: {
|
|
653
|
+
readonly $type: 'Length';
|
|
654
|
+
readonly time: 'time';
|
|
655
|
+
};
|
|
656
|
+
interface Let extends langium.AstNode {
|
|
657
|
+
readonly $container: Fn | For | If | Repeat | Song | While;
|
|
658
|
+
readonly $type: 'Let';
|
|
659
|
+
name: Name;
|
|
660
|
+
type?: TypeRef;
|
|
661
|
+
value: Expression;
|
|
662
|
+
}
|
|
663
|
+
declare const Let: {
|
|
664
|
+
readonly $type: 'Let';
|
|
665
|
+
readonly name: 'name';
|
|
666
|
+
readonly type: 'type';
|
|
667
|
+
readonly value: 'value';
|
|
668
|
+
};
|
|
669
|
+
interface Limit extends langium.AstNode {
|
|
670
|
+
readonly $container: FxChain;
|
|
671
|
+
readonly $type: 'Limit';
|
|
672
|
+
ceiling: string;
|
|
673
|
+
lookahead?: string;
|
|
674
|
+
release?: string;
|
|
675
|
+
}
|
|
676
|
+
declare const Limit: {
|
|
677
|
+
readonly $type: 'Limit';
|
|
678
|
+
readonly ceiling: 'ceiling';
|
|
679
|
+
readonly lookahead: 'lookahead';
|
|
680
|
+
readonly release: 'release';
|
|
681
|
+
};
|
|
682
|
+
type Line = Automation | ControlLine | TempoLine | VoiceLine;
|
|
683
|
+
declare const Line: {
|
|
684
|
+
readonly $type: 'Line';
|
|
685
|
+
};
|
|
686
|
+
interface ListLiteral extends langium.AstNode {
|
|
687
|
+
readonly $container: Assign | Binary | Builtin | Call | CallStatement | Computed | Each | For | Group | If | Index | Let | ListLiteral | Repeat | Rest | Return | Sounding | Unary | Velocity | While;
|
|
688
|
+
readonly $type: 'ListLiteral';
|
|
689
|
+
items: Array<Expression>;
|
|
690
|
+
}
|
|
691
|
+
declare const ListLiteral: {
|
|
692
|
+
readonly $type: 'ListLiteral';
|
|
693
|
+
readonly items: 'items';
|
|
694
|
+
};
|
|
695
|
+
interface ListType extends langium.AstNode {
|
|
696
|
+
readonly $container: Fn | Let | ListType | Param;
|
|
697
|
+
readonly $type: 'ListType';
|
|
698
|
+
element: TypeRef;
|
|
699
|
+
}
|
|
700
|
+
declare const ListType: {
|
|
701
|
+
readonly $type: 'ListType';
|
|
702
|
+
readonly element: 'element';
|
|
703
|
+
};
|
|
704
|
+
interface Literal extends langium.AstNode {
|
|
705
|
+
readonly $container: Assign | Binary | Builtin | Call | CallStatement | Computed | Each | For | Group | If | Index | Let | ListLiteral | PluginArgument | PluginParam | Repeat | Rest | Return | Sounding | Unary | Velocity | While;
|
|
706
|
+
readonly $type: 'Literal';
|
|
707
|
+
decibels?: string;
|
|
708
|
+
duration?: string;
|
|
709
|
+
hertz?: string;
|
|
710
|
+
number?: number;
|
|
711
|
+
percent?: string;
|
|
712
|
+
pitch?: string;
|
|
713
|
+
semitones?: string;
|
|
714
|
+
text?: string;
|
|
715
|
+
time?: string;
|
|
716
|
+
truth?: 'false' | 'true';
|
|
717
|
+
}
|
|
718
|
+
declare const Literal: {
|
|
719
|
+
readonly $type: 'Literal';
|
|
720
|
+
readonly decibels: 'decibels';
|
|
721
|
+
readonly duration: 'duration';
|
|
722
|
+
readonly hertz: 'hertz';
|
|
723
|
+
readonly number: 'number';
|
|
724
|
+
readonly percent: 'percent';
|
|
725
|
+
readonly pitch: 'pitch';
|
|
726
|
+
readonly semitones: 'semitones';
|
|
727
|
+
readonly text: 'text';
|
|
728
|
+
readonly time: 'time';
|
|
729
|
+
readonly truth: 'truth';
|
|
730
|
+
};
|
|
731
|
+
interface Lowpass extends langium.AstNode {
|
|
732
|
+
readonly $container: FxChain | KitVoice | Sounding;
|
|
733
|
+
readonly $type: 'Lowpass';
|
|
734
|
+
frequency: string;
|
|
735
|
+
resonance?: number;
|
|
736
|
+
target?: string;
|
|
737
|
+
}
|
|
738
|
+
declare const Lowpass: {
|
|
739
|
+
readonly $type: 'Lowpass';
|
|
740
|
+
readonly frequency: 'frequency';
|
|
741
|
+
readonly resonance: 'resonance';
|
|
742
|
+
readonly target: 'target';
|
|
743
|
+
};
|
|
744
|
+
interface Lyric extends langium.AstNode {
|
|
745
|
+
readonly $container: Sounding;
|
|
746
|
+
readonly $type: 'Lyric';
|
|
747
|
+
melisma: boolean;
|
|
748
|
+
text?: string;
|
|
749
|
+
}
|
|
750
|
+
declare const Lyric: {
|
|
751
|
+
readonly $type: 'Lyric';
|
|
752
|
+
readonly melisma: 'melisma';
|
|
753
|
+
readonly text: 'text';
|
|
754
|
+
};
|
|
755
|
+
interface Master extends langium.AstNode {
|
|
756
|
+
readonly $container: Song;
|
|
757
|
+
readonly $type: 'Master';
|
|
758
|
+
fx?: FxChain;
|
|
759
|
+
mix?: PluginUse;
|
|
760
|
+
tail?: string;
|
|
761
|
+
}
|
|
762
|
+
declare const Master: {
|
|
763
|
+
readonly $type: 'Master';
|
|
764
|
+
readonly fx: 'fx';
|
|
765
|
+
readonly mix: 'mix';
|
|
766
|
+
readonly tail: 'tail';
|
|
767
|
+
};
|
|
768
|
+
interface Meter extends langium.AstNode {
|
|
769
|
+
readonly $container: Bar;
|
|
770
|
+
readonly $type: 'Meter';
|
|
771
|
+
groups: Array<number>;
|
|
772
|
+
signature: string;
|
|
773
|
+
}
|
|
774
|
+
declare const Meter: {
|
|
775
|
+
readonly $type: 'Meter';
|
|
776
|
+
readonly groups: 'groups';
|
|
777
|
+
readonly signature: 'signature';
|
|
778
|
+
};
|
|
779
|
+
type Mixable = Bus | Track;
|
|
780
|
+
declare const Mixable: {
|
|
781
|
+
readonly $type: 'Mixable';
|
|
782
|
+
};
|
|
783
|
+
interface MultiSample extends langium.AstNode {
|
|
784
|
+
readonly $container: Instrument;
|
|
785
|
+
readonly $type: 'MultiSample';
|
|
786
|
+
zones: Array<Zone>;
|
|
787
|
+
}
|
|
788
|
+
declare const MultiSample: {
|
|
789
|
+
readonly $type: 'MultiSample';
|
|
790
|
+
readonly zones: 'zones';
|
|
791
|
+
};
|
|
792
|
+
type Name = 'accent' | 'amp' | 'attack' | 'audio' | 'automate' | 'bar' | 'base' | 'bass' | 'bend' | 'bool' | 'bus' | 'by' | 'cc' | 'chorus' | 'comp' | 'countermelody' | 'curve' | 'decay' | 'decibels' | 'delay' | 'depth' | 'drive' | 'drums' | 'duck' | 'duration' | 'every' | 'exp' | 'fade' | 'feedback' | 'from' | 'fx' | 'gain' | 'gate' | 'groove' | 'harmony' | 'hertz' | 'highpass' | 'hold' | 'instrument' | 'into' | 'ir' | 'kit' | 'legato' | 'length' | 'limit' | 'linear' | 'lookahead' | 'lowpass' | 'lyric' | 'makeup' | 'mark' | 'melody' | 'meter' | 'mix' | 'mono' | 'mono-below' | 'multisample' | 'nudge' | 'number' | 'off' | 'offset' | 'onsets' | 'over' | 'pan' | 'percent' | 'phaser' | 'pingpong' | 'pitch' | 'plugin' | 'predelay' | 'pressure' | 'program' | 'q' | 'rate' | 'release' | 'reverb' | 'reverse' | 'role' | 'root' | 'sample' | 'section' | 'semi' | 'semitones' | 'send' | 'slice' | 'slices' | 'song' | 'staccato' | 'string' | 'swing' | 'tail' | 'tempo' | 'texture' | 'tie' | 'time' | 'to' | 'track' | 'tremolo' | 'vel' | 'volume' | 'width' | 'with' | string;
|
|
793
|
+
interface Note extends langium.AstNode {
|
|
794
|
+
readonly $container: Chord | Sounding;
|
|
795
|
+
readonly $type: 'Note';
|
|
796
|
+
pitch: string;
|
|
797
|
+
}
|
|
798
|
+
declare const Note: {
|
|
799
|
+
readonly $type: 'Note';
|
|
800
|
+
readonly pitch: 'pitch';
|
|
801
|
+
};
|
|
802
|
+
interface Nudge extends langium.AstNode {
|
|
803
|
+
readonly $container: Sounding;
|
|
804
|
+
readonly $type: 'Nudge';
|
|
805
|
+
time: string;
|
|
806
|
+
}
|
|
807
|
+
declare const Nudge: {
|
|
808
|
+
readonly $type: 'Nudge';
|
|
809
|
+
readonly time: 'time';
|
|
810
|
+
};
|
|
811
|
+
interface Offset extends langium.AstNode {
|
|
812
|
+
readonly $container: KitVoice | Sounding;
|
|
813
|
+
readonly $type: 'Offset';
|
|
814
|
+
time: string;
|
|
815
|
+
}
|
|
816
|
+
declare const Offset: {
|
|
817
|
+
readonly $type: 'Offset';
|
|
818
|
+
readonly time: 'time';
|
|
819
|
+
};
|
|
820
|
+
interface Pan extends langium.AstNode {
|
|
821
|
+
readonly $container: KitVoice | Sounding;
|
|
822
|
+
readonly $type: 'Pan';
|
|
823
|
+
amount: string;
|
|
824
|
+
}
|
|
825
|
+
declare const Pan: {
|
|
826
|
+
readonly $type: 'Pan';
|
|
827
|
+
readonly amount: 'amount';
|
|
828
|
+
};
|
|
829
|
+
interface Param extends langium.AstNode {
|
|
830
|
+
readonly $container: Fn;
|
|
831
|
+
readonly $type: 'Param';
|
|
832
|
+
name: Name;
|
|
833
|
+
type: TypeRef;
|
|
834
|
+
}
|
|
835
|
+
declare const Param: {
|
|
836
|
+
readonly $type: 'Param';
|
|
837
|
+
readonly name: 'name';
|
|
838
|
+
readonly type: 'type';
|
|
839
|
+
};
|
|
840
|
+
interface Phaser extends langium.AstNode {
|
|
841
|
+
readonly $container: FxChain;
|
|
842
|
+
readonly $type: 'Phaser';
|
|
843
|
+
feedback?: string;
|
|
844
|
+
high: string;
|
|
845
|
+
low: string;
|
|
846
|
+
mix?: string;
|
|
847
|
+
rate: string;
|
|
848
|
+
}
|
|
849
|
+
declare const Phaser: {
|
|
850
|
+
readonly $type: 'Phaser';
|
|
851
|
+
readonly feedback: 'feedback';
|
|
852
|
+
readonly high: 'high';
|
|
853
|
+
readonly low: 'low';
|
|
854
|
+
readonly mix: 'mix';
|
|
855
|
+
readonly rate: 'rate';
|
|
856
|
+
};
|
|
857
|
+
type PlayParam = Amp | Attack | Decay | Drive | Gain | Highpass | Length | Lowpass | Offset | Pan | Rate | Release | Reverse | Semi | Send;
|
|
858
|
+
declare const PlayParam: {
|
|
859
|
+
readonly $type: 'PlayParam';
|
|
860
|
+
};
|
|
861
|
+
interface Plugin extends langium.AstNode {
|
|
862
|
+
readonly $container: Song;
|
|
863
|
+
readonly $type: 'Plugin';
|
|
864
|
+
module: string;
|
|
865
|
+
name: string;
|
|
866
|
+
params: Array<PluginParam>;
|
|
867
|
+
}
|
|
868
|
+
declare const Plugin: {
|
|
869
|
+
readonly $type: 'Plugin';
|
|
870
|
+
readonly module: 'module';
|
|
871
|
+
readonly name: 'name';
|
|
872
|
+
readonly params: 'params';
|
|
873
|
+
};
|
|
874
|
+
interface PluginArgument extends langium.AstNode {
|
|
875
|
+
readonly $container: PluginUse | With;
|
|
876
|
+
readonly $type: 'PluginArgument';
|
|
877
|
+
name: Name;
|
|
878
|
+
value: Literal;
|
|
879
|
+
}
|
|
880
|
+
declare const PluginArgument: {
|
|
881
|
+
readonly $type: 'PluginArgument';
|
|
882
|
+
readonly name: 'name';
|
|
883
|
+
readonly value: 'value';
|
|
884
|
+
};
|
|
885
|
+
interface PluginEffect extends langium.AstNode {
|
|
886
|
+
readonly $container: FxChain;
|
|
887
|
+
readonly $type: 'PluginEffect';
|
|
888
|
+
use: PluginUse;
|
|
889
|
+
}
|
|
890
|
+
declare const PluginEffect: {
|
|
891
|
+
readonly $type: 'PluginEffect';
|
|
892
|
+
readonly use: 'use';
|
|
893
|
+
};
|
|
894
|
+
interface PluginInstrument extends langium.AstNode {
|
|
895
|
+
readonly $container: Instrument;
|
|
896
|
+
readonly $type: 'PluginInstrument';
|
|
897
|
+
use: PluginUse;
|
|
898
|
+
}
|
|
899
|
+
declare const PluginInstrument: {
|
|
900
|
+
readonly $type: 'PluginInstrument';
|
|
901
|
+
readonly use: 'use';
|
|
902
|
+
};
|
|
903
|
+
interface PluginParam extends langium.AstNode {
|
|
904
|
+
readonly $container: Plugin;
|
|
905
|
+
readonly $type: 'PluginParam';
|
|
906
|
+
default?: Literal;
|
|
907
|
+
name: Name;
|
|
908
|
+
type: ScalarType;
|
|
909
|
+
}
|
|
910
|
+
declare const PluginParam: {
|
|
911
|
+
readonly $type: 'PluginParam';
|
|
912
|
+
readonly default: 'default';
|
|
913
|
+
readonly name: 'name';
|
|
914
|
+
readonly type: 'type';
|
|
915
|
+
};
|
|
916
|
+
interface PluginUse extends langium.AstNode {
|
|
917
|
+
readonly $container: KitVoice | Master | PluginEffect | PluginInstrument;
|
|
918
|
+
readonly $type: 'PluginUse';
|
|
919
|
+
arguments: Array<PluginArgument>;
|
|
920
|
+
plugin: langium.Reference<Plugin>;
|
|
921
|
+
}
|
|
922
|
+
declare const PluginUse: {
|
|
923
|
+
readonly $type: 'PluginUse';
|
|
924
|
+
readonly arguments: 'arguments';
|
|
925
|
+
readonly plugin: 'plugin';
|
|
926
|
+
};
|
|
927
|
+
interface Rate extends langium.AstNode {
|
|
928
|
+
readonly $container: KitVoice | Sounding;
|
|
929
|
+
readonly $type: 'Rate';
|
|
930
|
+
amount: number;
|
|
931
|
+
}
|
|
932
|
+
declare const Rate: {
|
|
933
|
+
readonly $type: 'Rate';
|
|
934
|
+
readonly amount: 'amount';
|
|
935
|
+
};
|
|
936
|
+
interface Ref extends langium.AstNode {
|
|
937
|
+
readonly $container: Assign | Binary | Builtin | Call | CallStatement | Computed | Each | For | Group | If | Index | Let | ListLiteral | Repeat | Rest | Return | Sounding | Unary | Velocity | While;
|
|
938
|
+
readonly $type: 'Ref';
|
|
939
|
+
target: langium.Reference<Binding>;
|
|
940
|
+
}
|
|
941
|
+
declare const Ref: {
|
|
942
|
+
readonly $type: 'Ref';
|
|
943
|
+
readonly target: 'target';
|
|
944
|
+
};
|
|
945
|
+
interface Release extends langium.AstNode {
|
|
946
|
+
readonly $container: KitVoice | Sounding;
|
|
947
|
+
readonly $type: 'Release';
|
|
948
|
+
time: string;
|
|
949
|
+
}
|
|
950
|
+
declare const Release: {
|
|
951
|
+
readonly $type: 'Release';
|
|
952
|
+
readonly time: 'time';
|
|
953
|
+
};
|
|
954
|
+
interface ReleaseVelocity extends langium.AstNode {
|
|
955
|
+
readonly $container: Sounding;
|
|
956
|
+
readonly $type: 'ReleaseVelocity';
|
|
957
|
+
value: number;
|
|
958
|
+
}
|
|
959
|
+
declare const ReleaseVelocity: {
|
|
960
|
+
readonly $type: 'ReleaseVelocity';
|
|
961
|
+
readonly value: 'value';
|
|
962
|
+
};
|
|
963
|
+
interface Repeat extends langium.AstNode {
|
|
964
|
+
readonly $container: Fn | For | If | Repeat | Song | While;
|
|
965
|
+
readonly $type: 'Repeat';
|
|
966
|
+
body: Array<Statement>;
|
|
967
|
+
count: Expression;
|
|
968
|
+
}
|
|
969
|
+
declare const Repeat: {
|
|
970
|
+
readonly $type: 'Repeat';
|
|
971
|
+
readonly body: 'body';
|
|
972
|
+
readonly count: 'count';
|
|
973
|
+
};
|
|
974
|
+
interface Rest extends langium.AstNode {
|
|
975
|
+
readonly $container: ControlLine | Each | Tuplet | VoiceLine;
|
|
976
|
+
readonly $type: 'Rest';
|
|
977
|
+
computedDuration?: Expression;
|
|
978
|
+
duration?: string;
|
|
979
|
+
}
|
|
980
|
+
declare const Rest: {
|
|
981
|
+
readonly $type: 'Rest';
|
|
982
|
+
readonly computedDuration: 'computedDuration';
|
|
983
|
+
readonly duration: 'duration';
|
|
984
|
+
};
|
|
985
|
+
interface Return extends langium.AstNode {
|
|
986
|
+
readonly $container: Fn | For | If | Repeat | Song | While;
|
|
987
|
+
readonly $type: 'Return';
|
|
988
|
+
value?: Expression;
|
|
989
|
+
}
|
|
990
|
+
declare const Return: {
|
|
991
|
+
readonly $type: 'Return';
|
|
992
|
+
readonly value: 'value';
|
|
993
|
+
};
|
|
994
|
+
interface Reverb extends langium.AstNode {
|
|
995
|
+
readonly $container: FxChain;
|
|
996
|
+
readonly $type: 'Reverb';
|
|
997
|
+
left: string;
|
|
998
|
+
mix?: string;
|
|
999
|
+
predelay?: string;
|
|
1000
|
+
right?: string;
|
|
1001
|
+
}
|
|
1002
|
+
declare const Reverb: {
|
|
1003
|
+
readonly $type: 'Reverb';
|
|
1004
|
+
readonly left: 'left';
|
|
1005
|
+
readonly mix: 'mix';
|
|
1006
|
+
readonly predelay: 'predelay';
|
|
1007
|
+
readonly right: 'right';
|
|
1008
|
+
};
|
|
1009
|
+
interface Reverse extends langium.AstNode {
|
|
1010
|
+
readonly $container: KitVoice | Sounding;
|
|
1011
|
+
readonly $type: 'Reverse';
|
|
1012
|
+
from?: string;
|
|
1013
|
+
reverse: boolean;
|
|
1014
|
+
}
|
|
1015
|
+
declare const Reverse: {
|
|
1016
|
+
readonly $type: 'Reverse';
|
|
1017
|
+
readonly from: 'from';
|
|
1018
|
+
readonly reverse: 'reverse';
|
|
1019
|
+
};
|
|
1020
|
+
type Role = 'bass' | 'countermelody' | 'drums' | 'harmony' | 'melody' | 'texture';
|
|
1021
|
+
interface Sample extends langium.AstNode {
|
|
1022
|
+
readonly $container: Song;
|
|
1023
|
+
readonly $type: 'Sample';
|
|
1024
|
+
count?: number;
|
|
1025
|
+
name: Name;
|
|
1026
|
+
onsets: boolean;
|
|
1027
|
+
path: string;
|
|
1028
|
+
}
|
|
1029
|
+
declare const Sample: {
|
|
1030
|
+
readonly $type: 'Sample';
|
|
1031
|
+
readonly count: 'count';
|
|
1032
|
+
readonly name: 'name';
|
|
1033
|
+
readonly onsets: 'onsets';
|
|
1034
|
+
readonly path: 'path';
|
|
1035
|
+
};
|
|
1036
|
+
interface ScalarType extends langium.AstNode {
|
|
1037
|
+
readonly $container: Fn | Let | ListType | Param | PluginParam;
|
|
1038
|
+
readonly $type: 'ScalarType';
|
|
1039
|
+
name: 'bool' | 'decibels' | 'duration' | 'hertz' | 'number' | 'percent' | 'pitch' | 'semitones' | 'string' | 'time';
|
|
1040
|
+
}
|
|
1041
|
+
declare const ScalarType: {
|
|
1042
|
+
readonly $type: 'ScalarType';
|
|
1043
|
+
readonly name: 'name';
|
|
1044
|
+
};
|
|
1045
|
+
interface Semi extends langium.AstNode {
|
|
1046
|
+
readonly $container: KitVoice | Sounding;
|
|
1047
|
+
readonly $type: 'Semi';
|
|
1048
|
+
amount: string;
|
|
1049
|
+
}
|
|
1050
|
+
declare const Semi: {
|
|
1051
|
+
readonly $type: 'Semi';
|
|
1052
|
+
readonly amount: 'amount';
|
|
1053
|
+
};
|
|
1054
|
+
interface Send extends langium.AstNode {
|
|
1055
|
+
readonly $container: Bus | KitVoice | Sounding | Track;
|
|
1056
|
+
readonly $type: 'Send';
|
|
1057
|
+
amount: string;
|
|
1058
|
+
bus: langium.Reference<Bus>;
|
|
1059
|
+
}
|
|
1060
|
+
declare const Send: {
|
|
1061
|
+
readonly $type: 'Send';
|
|
1062
|
+
readonly amount: 'amount';
|
|
1063
|
+
readonly bus: 'bus';
|
|
1064
|
+
};
|
|
1065
|
+
interface SingleSample extends langium.AstNode {
|
|
1066
|
+
readonly $container: Instrument;
|
|
1067
|
+
readonly $type: 'SingleSample';
|
|
1068
|
+
path: string;
|
|
1069
|
+
root: string;
|
|
1070
|
+
}
|
|
1071
|
+
declare const SingleSample: {
|
|
1072
|
+
readonly $type: 'SingleSample';
|
|
1073
|
+
readonly path: 'path';
|
|
1074
|
+
readonly root: 'root';
|
|
1075
|
+
};
|
|
1076
|
+
interface Slice extends langium.AstNode {
|
|
1077
|
+
readonly $container: Sounding;
|
|
1078
|
+
readonly $type: 'Slice';
|
|
1079
|
+
index: number;
|
|
1080
|
+
sample: langium.Reference<Sample>;
|
|
1081
|
+
}
|
|
1082
|
+
declare const Slice: {
|
|
1083
|
+
readonly $type: 'Slice';
|
|
1084
|
+
readonly index: 'index';
|
|
1085
|
+
readonly sample: 'sample';
|
|
1086
|
+
};
|
|
1087
|
+
interface Song extends langium.AstNode {
|
|
1088
|
+
readonly $type: 'Song';
|
|
1089
|
+
body: Array<Statement>;
|
|
1090
|
+
declarations: Array<Declaration>;
|
|
1091
|
+
imports: Array<Import>;
|
|
1092
|
+
title?: string;
|
|
1093
|
+
}
|
|
1094
|
+
declare const Song: {
|
|
1095
|
+
readonly $type: 'Song';
|
|
1096
|
+
readonly body: 'body';
|
|
1097
|
+
readonly declarations: 'declarations';
|
|
1098
|
+
readonly imports: 'imports';
|
|
1099
|
+
readonly title: 'title';
|
|
1100
|
+
};
|
|
1101
|
+
interface Sounding extends langium.AstNode {
|
|
1102
|
+
readonly $container: Each | Tuplet | VoiceLine;
|
|
1103
|
+
readonly $type: 'Sounding';
|
|
1104
|
+
attributes: Array<Attribute>;
|
|
1105
|
+
computedDuration?: Expression;
|
|
1106
|
+
duration?: string;
|
|
1107
|
+
head: Head;
|
|
1108
|
+
}
|
|
1109
|
+
declare const Sounding: {
|
|
1110
|
+
readonly $type: 'Sounding';
|
|
1111
|
+
readonly attributes: 'attributes';
|
|
1112
|
+
readonly computedDuration: 'computedDuration';
|
|
1113
|
+
readonly duration: 'duration';
|
|
1114
|
+
readonly head: 'head';
|
|
1115
|
+
};
|
|
1116
|
+
type Statement = Assign | Bar | CallStatement | Fn | For | If | Let | Repeat | Return | While;
|
|
1117
|
+
declare const Statement: {
|
|
1118
|
+
readonly $type: 'Statement';
|
|
1119
|
+
};
|
|
1120
|
+
interface Tempo extends langium.AstNode {
|
|
1121
|
+
readonly $container: Bar;
|
|
1122
|
+
readonly $type: 'Tempo';
|
|
1123
|
+
bpm: string;
|
|
1124
|
+
span?: string;
|
|
1125
|
+
target?: string;
|
|
1126
|
+
}
|
|
1127
|
+
declare const Tempo: {
|
|
1128
|
+
readonly $type: 'Tempo';
|
|
1129
|
+
readonly bpm: 'bpm';
|
|
1130
|
+
readonly span: 'span';
|
|
1131
|
+
readonly target: 'target';
|
|
1132
|
+
};
|
|
1133
|
+
interface TempoLine extends langium.AstNode {
|
|
1134
|
+
readonly $container: Bar;
|
|
1135
|
+
readonly $type: 'TempoLine';
|
|
1136
|
+
steps: Array<TempoStep>;
|
|
1137
|
+
}
|
|
1138
|
+
declare const TempoLine: {
|
|
1139
|
+
readonly $type: 'TempoLine';
|
|
1140
|
+
readonly steps: 'steps';
|
|
1141
|
+
};
|
|
1142
|
+
interface TempoStep extends langium.AstNode {
|
|
1143
|
+
readonly $container: TempoLine;
|
|
1144
|
+
readonly $type: 'TempoStep';
|
|
1145
|
+
bpm: string;
|
|
1146
|
+
duration: string;
|
|
1147
|
+
target?: string;
|
|
1148
|
+
}
|
|
1149
|
+
declare const TempoStep: {
|
|
1150
|
+
readonly $type: 'TempoStep';
|
|
1151
|
+
readonly bpm: 'bpm';
|
|
1152
|
+
readonly duration: 'duration';
|
|
1153
|
+
readonly target: 'target';
|
|
1154
|
+
};
|
|
1155
|
+
interface Tie extends langium.AstNode {
|
|
1156
|
+
readonly $container: Sounding;
|
|
1157
|
+
readonly $type: 'Tie';
|
|
1158
|
+
tie: boolean;
|
|
1159
|
+
}
|
|
1160
|
+
declare const Tie: {
|
|
1161
|
+
readonly $type: 'Tie';
|
|
1162
|
+
readonly tie: 'tie';
|
|
1163
|
+
};
|
|
1164
|
+
interface Track extends langium.AstNode {
|
|
1165
|
+
readonly $container: Song;
|
|
1166
|
+
readonly $type: 'Track';
|
|
1167
|
+
fx?: FxChain;
|
|
1168
|
+
into?: langium.Reference<Track>;
|
|
1169
|
+
mono: boolean;
|
|
1170
|
+
muted: boolean;
|
|
1171
|
+
name: Name;
|
|
1172
|
+
pan?: string;
|
|
1173
|
+
role?: Role;
|
|
1174
|
+
sends: Array<Send>;
|
|
1175
|
+
source: TrackSource;
|
|
1176
|
+
volume?: string;
|
|
1177
|
+
}
|
|
1178
|
+
declare const Track: {
|
|
1179
|
+
readonly $type: 'Track';
|
|
1180
|
+
readonly fx: 'fx';
|
|
1181
|
+
readonly into: 'into';
|
|
1182
|
+
readonly mono: 'mono';
|
|
1183
|
+
readonly muted: 'muted';
|
|
1184
|
+
readonly name: 'name';
|
|
1185
|
+
readonly pan: 'pan';
|
|
1186
|
+
readonly role: 'role';
|
|
1187
|
+
readonly sends: 'sends';
|
|
1188
|
+
readonly source: 'source';
|
|
1189
|
+
readonly volume: 'volume';
|
|
1190
|
+
};
|
|
1191
|
+
type TrackSource = AudioSource | InstrumentRef | KitSource;
|
|
1192
|
+
declare const TrackSource: {
|
|
1193
|
+
readonly $type: 'TrackSource';
|
|
1194
|
+
};
|
|
1195
|
+
interface Tremolo extends langium.AstNode {
|
|
1196
|
+
readonly $container: FxChain;
|
|
1197
|
+
readonly $type: 'Tremolo';
|
|
1198
|
+
depth: string;
|
|
1199
|
+
rate: string;
|
|
1200
|
+
}
|
|
1201
|
+
declare const Tremolo: {
|
|
1202
|
+
readonly $type: 'Tremolo';
|
|
1203
|
+
readonly depth: 'depth';
|
|
1204
|
+
readonly rate: 'rate';
|
|
1205
|
+
};
|
|
1206
|
+
interface Tuplet extends langium.AstNode {
|
|
1207
|
+
readonly $container: Each | Tuplet | VoiceLine;
|
|
1208
|
+
readonly $type: 'Tuplet';
|
|
1209
|
+
events: Array<Event>;
|
|
1210
|
+
ratio: string;
|
|
1211
|
+
}
|
|
1212
|
+
declare const Tuplet: {
|
|
1213
|
+
readonly $type: 'Tuplet';
|
|
1214
|
+
readonly events: 'events';
|
|
1215
|
+
readonly ratio: 'ratio';
|
|
1216
|
+
};
|
|
1217
|
+
type TypeRef = ListType | ScalarType;
|
|
1218
|
+
declare const TypeRef: {
|
|
1219
|
+
readonly $type: 'TypeRef';
|
|
1220
|
+
};
|
|
1221
|
+
interface Unary extends langium.AstNode {
|
|
1222
|
+
readonly $container: Assign | Binary | Builtin | Call | CallStatement | Computed | Each | For | Group | If | Index | Let | ListLiteral | Repeat | Rest | Return | Sounding | Unary | Velocity | While;
|
|
1223
|
+
readonly $type: 'Unary';
|
|
1224
|
+
operand: Expression;
|
|
1225
|
+
operator: '-' | 'not';
|
|
1226
|
+
}
|
|
1227
|
+
declare const Unary: {
|
|
1228
|
+
readonly $type: 'Unary';
|
|
1229
|
+
readonly operand: 'operand';
|
|
1230
|
+
readonly operator: 'operator';
|
|
1231
|
+
};
|
|
1232
|
+
interface Velocity extends langium.AstNode {
|
|
1233
|
+
readonly $container: Sounding;
|
|
1234
|
+
readonly $type: 'Velocity';
|
|
1235
|
+
computed?: Expression;
|
|
1236
|
+
value?: number;
|
|
1237
|
+
}
|
|
1238
|
+
declare const Velocity: {
|
|
1239
|
+
readonly $type: 'Velocity';
|
|
1240
|
+
readonly computed: 'computed';
|
|
1241
|
+
readonly value: 'value';
|
|
1242
|
+
};
|
|
1243
|
+
interface VoiceLine extends langium.AstNode {
|
|
1244
|
+
readonly $container: Bar;
|
|
1245
|
+
readonly $type: 'VoiceLine';
|
|
1246
|
+
events: Array<Event>;
|
|
1247
|
+
master: boolean;
|
|
1248
|
+
track?: langium.Reference<Track>;
|
|
1249
|
+
}
|
|
1250
|
+
declare const VoiceLine: {
|
|
1251
|
+
readonly $type: 'VoiceLine';
|
|
1252
|
+
readonly events: 'events';
|
|
1253
|
+
readonly master: 'master';
|
|
1254
|
+
readonly track: 'track';
|
|
1255
|
+
};
|
|
1256
|
+
interface While extends langium.AstNode {
|
|
1257
|
+
readonly $container: Fn | For | If | Repeat | Song | While;
|
|
1258
|
+
readonly $type: 'While';
|
|
1259
|
+
body: Array<Statement>;
|
|
1260
|
+
condition: Expression;
|
|
1261
|
+
}
|
|
1262
|
+
declare const While: {
|
|
1263
|
+
readonly $type: 'While';
|
|
1264
|
+
readonly body: 'body';
|
|
1265
|
+
readonly condition: 'condition';
|
|
1266
|
+
};
|
|
1267
|
+
interface Width extends langium.AstNode {
|
|
1268
|
+
readonly $container: FxChain;
|
|
1269
|
+
readonly $type: 'Width';
|
|
1270
|
+
amount: string;
|
|
1271
|
+
monoBelow?: string;
|
|
1272
|
+
}
|
|
1273
|
+
declare const Width: {
|
|
1274
|
+
readonly $type: 'Width';
|
|
1275
|
+
readonly amount: 'amount';
|
|
1276
|
+
readonly monoBelow: 'monoBelow';
|
|
1277
|
+
};
|
|
1278
|
+
interface With extends langium.AstNode {
|
|
1279
|
+
readonly $container: Sounding;
|
|
1280
|
+
readonly $type: 'With';
|
|
1281
|
+
arguments: Array<PluginArgument>;
|
|
1282
|
+
}
|
|
1283
|
+
declare const With: {
|
|
1284
|
+
readonly $type: 'With';
|
|
1285
|
+
readonly arguments: 'arguments';
|
|
1286
|
+
};
|
|
1287
|
+
interface Zone extends langium.AstNode {
|
|
1288
|
+
readonly $container: MultiSample;
|
|
1289
|
+
readonly $type: 'Zone';
|
|
1290
|
+
path: string;
|
|
1291
|
+
root: string;
|
|
1292
|
+
}
|
|
1293
|
+
declare const Zone: {
|
|
1294
|
+
readonly $type: 'Zone';
|
|
1295
|
+
readonly path: 'path';
|
|
1296
|
+
readonly root: 'root';
|
|
1297
|
+
};
|
|
1298
|
+
type From<Node, Result> = (node: Node) => Result;
|
|
1299
|
+
type Named = Sample | Kit | Instrument | Bus | Track | Plugin;
|
|
1300
|
+
declare const FumxModule: Module<LangiumCoreServices, PartialLangiumCoreServices>;
|
|
1301
|
+
declare const registerChecks: From<LangiumCoreServices, void>;
|
|
1302
|
+
interface SourceComment {
|
|
1303
|
+
readonly line: number;
|
|
1304
|
+
readonly column: number;
|
|
1305
|
+
readonly text: string;
|
|
1306
|
+
}
|
|
1307
|
+
interface Span {
|
|
1308
|
+
readonly start: number;
|
|
1309
|
+
readonly end: number;
|
|
1310
|
+
}
|
|
1311
|
+
interface NamedSpan {
|
|
1312
|
+
readonly type: Named["$type"];
|
|
1313
|
+
readonly name: string;
|
|
1314
|
+
readonly span: Span;
|
|
1315
|
+
}
|
|
1316
|
+
interface ImportSpan {
|
|
1317
|
+
readonly path: string;
|
|
1318
|
+
readonly span: Span;
|
|
1319
|
+
}
|
|
1320
|
+
interface Outline {
|
|
1321
|
+
readonly title: Option.Option<Span>;
|
|
1322
|
+
readonly names: readonly NamedSpan[];
|
|
1323
|
+
readonly imports: readonly ImportSpan[];
|
|
1324
|
+
readonly files: readonly string[];
|
|
1325
|
+
readonly comments: readonly SourceComment[];
|
|
1326
|
+
}
|
|
1327
|
+
interface SourceIssue {
|
|
1328
|
+
readonly path: string;
|
|
1329
|
+
readonly line: number;
|
|
1330
|
+
readonly column: number;
|
|
1331
|
+
readonly start: number;
|
|
1332
|
+
readonly end: number;
|
|
1333
|
+
readonly message: string;
|
|
1334
|
+
}
|
|
1335
|
+
type SongSource = {
|
|
1336
|
+
readonly status: "invalid";
|
|
1337
|
+
readonly issues: readonly SourceIssue[];
|
|
1338
|
+
readonly outline: Outline;
|
|
1339
|
+
} | {
|
|
1340
|
+
readonly status: "valid";
|
|
1341
|
+
readonly song: Song$1;
|
|
1342
|
+
readonly outline: Outline;
|
|
1343
|
+
};
|
|
1344
|
+
interface SongFiles<Failure> {
|
|
1345
|
+
readonly path: string;
|
|
1346
|
+
readonly read: (path: string) => Effect.Effect<string, Failure>;
|
|
1347
|
+
}
|
|
1348
|
+
declare const readSong: <Failure>(files: SongFiles<Failure>) => Effect.Effect<SongSource, never, never>;
|
|
1349
|
+
export { NamedSpan as a, FumxModule as c, FumxTerminals as d, readSong as i, registerChecks as l, SongSource as n, Outline as o, SourceIssue as r, SourceComment as s, SongFiles as t, Named as u };
|
|
1350
|
+
//# sourceMappingURL=index-JXjnMHXw.d.mts.map
|