at.atmosynth.patch
Schema Diff
+45 -3
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 12 non-breaking changes.
Breaking Changes (2)
- KindChanged KindChanged { vertex_id: "at.atmosynth.patch#parameterValue.value", old_kind: "unknown", new_kind: "string" }
- ConstraintAdded ConstraintAdded { vertex_id: "at.atmosynth.patch#parameterValue.value", sort: "maxLength", value: "200" }
Non-Breaking Changes (12)
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#glide" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#glide.fromLast" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#glide.ms" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#glide.rate" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.glide" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.velocity" }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.fromLast", kind: "prop", name: Some("fromLast") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.ms", kind: "prop", name: Some("ms") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.rate", kind: "prop", name: Some("rate") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.glide", kind: "prop", name: Some("glide") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance.glide", tgt: "at.atmosynth.patch#glide", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.velocity", kind: "prop", name: Some("velocity") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "at.atmosynth.patch#glide" }AddedVertex { vertex_id: "at.atmosynth.patch#glide.fromLast" }AddedVertex { vertex_id: "at.atmosynth.patch#glide.ms" }AddedVertex { vertex_id: "at.atmosynth.patch#glide.rate" }AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.glide" }AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.velocity" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "at.atmosynth.patch#parameterValue.value", sort: "maxLength", value: "200" }
Additional Notes
- Breaking: KindChanged { vertex_id: "at.atmosynth.patch#parameterValue.value", old_kind: "unknown", new_kind: "string" }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.fromLast", kind: "prop", name: Some("fromLast") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.ms", kind: "prop", name: Some("ms") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.rate", kind: "prop", name: Some("rate") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.glide", kind: "prop", name: Some("glide") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance.glide", tgt: "at.atmosynth.patch#glide", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.velocity", kind: "prop", name: Some("velocity") }
1
1
{
2
2
"id": "at.atmosynth.patch",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"descriptionVersion",
11
11
"name",
12
12
"description",
13
13
"moduleInstances",
14
14
"createdAt"
15
15
],
16
16
"properties": {
17
17
"name": {
18
18
"type": "string",
19
19
"maxLength": 200,
20
20
"minLength": 1
21
21
},
22
22
"tags": {
23
23
"type": "array",
24
24
"items": {
25
25
"type": "string",
26
26
"maxLength": 128
27
27
},
28
28
"description": "Freely created tags, lower-cased on write so one hashtag matches one set of patches."
29
29
},
30
30
"tempo": {
31
31
"type": "integer",
32
32
"maximum": 300,
33
33
"minimum": 20,
34
34
"description": "The tempo this patch was written at, in beats per minute. It is what a sequenced patch counts its bars against, so a patch that plays itself arrives at the speed its creator meant. It seeds the player's own tempo rather than replacing it: how fast a visitor plays is still theirs, and moving it moves everything counting against it. Optional permanently — a patch that says nothing is played at whatever tempo the player already had."
35
35
},
36
36
"types": {
37
37
"type": "array",
38
38
"items": {
39
39
"type": "string",
40
40
"knownValues": [
41
41
"Lead",
42
42
"Pad",
43
43
"Bass",
44
44
"Plucked",
45
45
"Percussion",
46
46
"Keys",
47
47
"Brass",
48
48
"Strings",
49
49
"Vocal",
50
50
"SFX"
51
51
]
52
52
},
53
53
"description": "Zero or more of the ten fixed types. A patch may carry several."
54
54
},
55
55
"output": {
56
56
"ref": "#outputRef",
57
57
"type": "ref",
58
58
"description": "Which instance reaches the audio output."
59
59
},
60
60
"createdAt": {
61
61
"type": "string",
62
62
"format": "datetime"
63
63
},
64
64
"forkedFrom": {
65
65
"ref": "#lineage",
66
66
"type": "ref"
67
67
},
68
68
"connections": {
69
69
"type": "array",
70
70
"items": {
71
71
"ref": "#connection",
72
72
"type": "ref"
73
73
}
74
74
},
75
75
"description": {
76
76
"type": "string",
77
77
"maxLength": 3000
78
78
},
79
79
"midiRouting": {
80
80
"type": "array",
81
81
"items": {
82
82
"ref": "#midiRoute",
83
83
"type": "ref"
84
84
},
85
85
"description": "Which module instances receive MIDI input."
86
86
},
87
87
"moduleInstances": {
88
88
"type": "array",
89
89
"items": {
90
90
"ref": "#moduleInstance",
91
91
"type": "ref"
92
92
}
93
93
},
94
94
"descriptionVersion": {
95
95
"type": "integer",
96
96
"minimum": 1,
97
97
"description": "Version of the patch description this record follows."
98
98
}
99
99
}
100
100
},
101
101
"description": "A patch, held in its creator's own repository."
102
102
},
103
+
"glide": {
104
+
"type": "object",
105
+
"properties": {
106
+
"ms": {
107
+
"type": "integer",
108
+
"maximum": 5000,
109
+
"minimum": 1,
110
+
"description": "How long a note takes to reach the next, in milliseconds."
111
+
},
112
+
"rate": {
113
+
"type": "string",
114
+
"description": "Or: how long, as a note value at the tempo. The same vocabulary the grid is written in.",
115
+
"knownValues": [
116
+
"bar",
117
+
"1/2",
118
+
"1/4",
119
+
"1/8",
120
+
"1/16",
121
+
"1/32",
122
+
"1/64",
123
+
"1/128"
124
+
]
125
+
},
126
+
"fromLast": {
127
+
"type": "boolean",
128
+
"description": "Whether a note struck after a rest slides in from the note before it. Absent is yes, so every note of the loop slides; false is fingered portamento, where only a note held over the next one slides into it and a note after a rest starts where it means to."
129
+
}
130
+
},
131
+
"description": "How one sequencer's notes slide into one another. Its presence is the switch: an instance carrying it slides, and one carrying nothing does not. The speed is written one of two ways, and which field is present says which — a duration, or a note value at the player's tempo, so a slide that is a sixteenth long stays a sixteenth when the song is played faster. A slide moves one note to the next, so a loop with a glide plays one note at a time."
132
+
},
103
133
"lineage": {
104
134
"type": "object",
105
135
"required": [
106
136
"uri",
107
137
"creatorDid"
108
138
],
109
139
"properties": {
110
140
"uri": {
111
141
"type": "string",
112
142
"format": "at-uri"
113
143
},
114
144
"patchId": {
115
145
"type": "string",
116
146
"maxLength": 128
117
147
},
118
148
"creatorDid": {
119
149
"type": "string",
120
150
"format": "did"
121
151
}
122
152
},
123
153
"description": "The patch this one was forked from, and its creator. Preserved even when the source is later deleted."
124
154
},
125
155
"inputRef": {
126
156
"type": "object",
127
157
"required": [
128
158
"instanceId",
129
159
"audioInput"
130
160
],
131
161
"properties": {
132
162
"audioInput": {
133
163
"type": "string",
134
164
"maxLength": 64,
135
165
"minLength": 1
136
166
},
137
167
"instanceId": {
138
168
"type": "string",
139
169
"maxLength": 64,
140
170
"minLength": 1
141
171
}
142
172
}
143
173
},
144
174
"position": {
145
175
"type": "object",
146
176
"required": [
147
177
"x",
148
178
"y"
149
179
],
150
180
"properties": {
151
181
"x": {
152
182
"type": "integer"
153
183
},
154
184
"y": {
155
185
"type": "integer"
156
186
}
157
187
}
158
188
},
159
189
"midiRoute": {
160
190
"type": "object",
161
191
"required": [
162
192
"instanceId",
163
193
"midiInput"
164
194
],
165
195
"properties": {
166
196
"from": {
167
197
"ref": "#noteOutputRef",
168
198
"type": "ref",
169
199
"description": "The note output these notes leave. Absent where they come from the player."
170
200
},
171
201
"midiInput": {
172
202
"type": "string",
173
203
"maxLength": 64,
174
204
"minLength": 1
175
205
},
176
206
"instanceId": {
177
207
"type": "string",
178
208
"maxLength": 64,
179
209
"minLength": 1
180
210
}
181
211
},
182
212
"description": "Where one instance's notes come from. `instanceId` and `midiInput` name the MIDI input they arrive at; `from` names the note output they leave. **A route with no `from` comes from the player** — the on-screen keys, the computer keyboard and every MIDI device at once — which is what every route written before note sources existed says, and what it goes on saying."
183
213
},
184
214
"moduleRef": {
185
215
"type": "object",
186
216
"required": [
187
217
"moduleId",
188
218
"versionKey",
189
219
"authorDid"
190
220
],
191
221
"properties": {
192
222
"moduleId": {
193
223
"type": "string",
194
224
"maxLength": 128,
195
225
"minLength": 1
196
226
},
197
227
"authorDid": {
198
228
"type": "string",
199
229
"format": "did"
200
230
},
201
231
"versionKey": {
202
232
"type": "string",
203
233
"maxLength": 128,
204
234
"minLength": 1
205
235
}
206
236
},
207
237
"description": "A pin to one exact published version of a module. Resolving it fetches that record, whoever authored it."
208
238
},
209
239
"noteEvent": {
210
240
"type": "object",
211
241
"required": [
212
242
"note"
213
243
],
214
244
"properties": {
215
245
"at": {
216
246
"type": "integer",
217
247
"minimum": 0,
218
248
"description": "The tick of the loop this note is struck at, counted from its start at 96 ticks to the beat. Ticks rather than steps of the grid, because a note is at a moment and the grid is a guide over it: 96 is divided exactly by every grid this description offers, so a note keeps its moment however the grid is changed."
219
249
},
220
250
"hold": {
221
251
"type": "integer",
222
252
"minimum": 1,
223
253
"description": "How many ticks this note is held for. Counted in ticks rather than in seconds for the reason the start is: a phrase written at 90 is the same phrase, held notes and all, at 140. A note is cut off by the loop's end and by the next note of its own pitch, since the same pitch overlapping itself is one voice rather than two."
224
254
},
225
255
"note": {
226
256
"type": "integer",
227
257
"maximum": 127,
228
258
"minimum": 0,
229
259
"description": "The MIDI note number. 60 is middle C."
230
260
},
231
261
"step": {
232
262
"type": "integer",
233
263
"minimum": 0,
234
264
"description": "Which step of the grid this note is on, counted from the start of the loop. The older way of saying where a note is, read from every pattern published before a note carried a tick and written by none."
235
265
},
236
266
"length": {
237
267
"type": "integer",
238
268
"minimum": 1,
239
269
"description": "How many steps of the grid this note is held for, where its start is written as a step. Absent is one, which is what every pattern written before notes had a length says."
270
+
},
271
+
"velocity": {
272
+
"type": "integer",
273
+
"maximum": 127,
274
+
"minimum": 1,
275
+
"description": "How hard this note is struck, on the MIDI scale. It is part of what is played rather than how it is listened to — a phrase is written with its accents in it, and a loop where every note lands identically is a loop nobody wrote. Optional permanently: a note that says nothing is struck at 100, which is what every pattern written before a note could say says, and a note struck at 100 writes no field. Nought is not offered, since a note that could never be heard is a note taken off the loop rather than one written onto it."
240
276
}
241
277
},
242
-
"description": "One note struck at one moment of the loop and held from it, at one fixed strength — a pattern is what is played and not how hard. It is written one of two ways: a note written now says the tick it is at and how many ticks it is held for, and a note written while the grid was part of what a note was says the step of that grid and how many of those steps it was held for. Both are read; the first is written."
278
+
"description": "One note struck at one moment of the loop, held from it, and struck as hard as it says. It is written one of two ways: a note written now says the tick it is at and how many ticks it is held for, and a note written while the grid was part of what a note was says the step of that grid and how many of those steps it was held for. Both are read; the first is written."
243
279
},
244
280
"outputRef": {
245
281
"type": "object",
246
282
"required": [
247
283
"instanceId",
248
284
"audioOutput"
249
285
],
250
286
"properties": {
251
287
"instanceId": {
252
288
"type": "string",
253
289
"maxLength": 64,
254
290
"minLength": 1
255
291
},
256
292
"audioOutput": {
257
293
"type": "string",
258
294
"maxLength": 64,
259
295
"minLength": 1
260
296
}
261
297
}
262
298
},
263
299
"connection": {
264
300
"type": "object",
265
301
"required": [
266
302
"from",
267
303
"to"
268
304
],
269
305
"properties": {
270
306
"to": {
271
307
"ref": "#inputRef",
272
308
"type": "ref"
273
309
},
274
310
"from": {
275
311
"ref": "#outputRef",
276
312
"type": "ref"
277
313
}
278
314
},
279
315
"description": "An audio connection between two module instances, naming the declared ports at each end."
280
316
},
281
317
"resolution": {
282
318
"type": "object",
283
319
"required": [
284
320
"value"
285
321
],
286
322
"properties": {
287
323
"unit": {
288
324
"type": "string",
289
325
"description": "Three of them into the time of two, or not. Absent is normal. A dotted grid is not offered: it does not divide a bar evenly, so it would leave a pattern whose steps do not line up with its own loop.",
290
326
"knownValues": [
291
327
"normal",
292
328
"triplet"
293
329
]
294
330
},
295
331
"value": {
296
332
"type": "string",
297
333
"description": "The note value one step is worth. A bar is four beats.",
298
334
"knownValues": [
299
335
"bar",
300
336
"1/2",
301
337
"1/4",
302
338
"1/8",
303
339
"1/16",
304
340
"1/32",
305
341
"1/64",
306
342
"1/128"
307
343
]
308
344
}
309
345
},
310
346
"description": "One note value, as a length and what that length is multiplied by. The same vocabulary the player's own musical time is counted in."
311
347
},
312
348
"midiControl": {
313
349
"type": "object",
314
350
"required": [
315
351
"parameter",
316
352
"controller"
317
353
],
318
354
"properties": {
319
355
"parameter": {
320
356
"type": "string",
321
357
"maxLength": 64,
322
358
"minLength": 1,
323
359
"description": "The id of the exposed parameter this control moves. One parameter is moved by at most one controller; one controller may move several parameters."
324
360
},
325
361
"controller": {
326
362
"type": "integer",
327
363
"maximum": 127,
328
364
"minimum": 0,
329
365
"description": "The control change number. Five are spoken for by MIDI itself and cannot be bound: 64, the sustain pedal, and 6, 38, 100 and 101, which carry registered-parameter traffic."
330
366
}
331
367
},
332
368
"description": "One MIDI control change bound to one of the module's exposed parameters. The controller's 0 to 127 sweeps the parameter across the range the module declares, or, where the module declares a closed value set instead, across those values in order. A control is read from every input on every channel, like every other MIDI message here: there is nothing to configure."
333
369
},
334
370
"notePattern": {
335
371
"type": "object",
336
372
"required": [
337
373
"bars",
338
374
"resolution"
339
375
],
340
376
"properties": {
341
377
"bars": {
342
378
"type": "integer",
343
379
"maximum": 8,
344
380
"minimum": 1,
345
381
"description": "How long the first loop is, in bars of four beats. There is no time signature anywhere here, and 4/4 is what a bar means to everyone who has not been told otherwise. Each loop keeps its own length: one may be four bars and the next five."
346
382
},
347
383
"active": {
348
384
"type": "integer",
349
385
"minimum": 0,
350
386
"description": "Which loop is played, counting the one written here as zero. Absent is the first. It is in the record because it is what a visitor opening the patch hears — unlike stopping a loop, which is how a browser is listening and is written nowhere. Every loop counts from the same downbeat and wraps at its own length whether or not it is the one being heard, so switching between them reveals where the other had got to rather than starting it."
351
387
},
352
388
"events": {
353
389
"type": "array",
354
390
"items": {
355
391
"ref": "#noteEvent",
356
392
"type": "ref"
357
393
},
358
394
"maxLength": 2048,
359
395
"description": "The notes in the first loop. A moment carrying no note is a rest; a note starting outside the loop's length is not played."
360
396
},
361
397
"alternates": {
362
398
"type": "array",
363
399
"items": {
364
400
"ref": "#alternatePattern",
365
401
"type": "ref"
366
402
},
367
403
"maxLength": 7,
368
404
"description": "The loops after the first. Absent while the sequencer holds a single pattern, which is what every sequencer written before there could be more than one says."
369
405
},
370
406
"resolution": {
371
407
"ref": "#resolution",
372
408
"type": "ref",
373
409
"description": "The grid every loop on this sequencer is drawn and snapped to. It is a guide and not a part of what is played: it decides where a note being put down lands, and changing it moves nothing already written, so a loop may hold a note no line of the current grid passes through."
374
410
}
375
411
},
376
412
"description": "The loops one sequencer holds, and the grid they are written on. A loop is a whole number of bars and the notes in it are counted in ticks of the beat, so a pattern means the same thing at any tempo — what a tick is worth in seconds is the player's tempo's business and not the pattern's. The first loop is written here, where a pattern has always been written; any after it are alternates."
377
413
},
378
414
"noteOutputRef": {
379
415
"type": "object",
380
416
"required": [
381
417
"instanceId",
382
418
"noteOutput"
383
419
],
384
420
"properties": {
385
421
"instanceId": {
386
422
"type": "string",
387
423
"maxLength": 64,
388
424
"minLength": 1
389
425
},
390
426
"noteOutput": {
391
427
"type": "string",
392
428
"maxLength": 64,
393
429
"minLength": 1
394
430
}
395
431
}
396
432
},
397
433
"moduleInstance": {
398
434
"type": "object",
399
435
"required": [
400
436
"instanceId",
401
437
"module",
402
438
"voiceScope"
403
439
],
404
440
"properties": {
441
+
"glide": {
442
+
"ref": "#glide",
443
+
"type": "ref",
444
+
"description": "Whether the notes this instance plays slide into one another, and how. It lives here, in the patch, beside the unison and for the unison's reason: how a line slides is a decision about this use of the module, and forks with the patch. The player's own glide is a setting of their browser and says nothing about this one, so a loop written to slide slides for everyone who opens the patch, and a loop that does not is never made monophonic by the player's. Optional permanently: an instance that says nothing has no glide, which is what every record written before this field existed says."
445
+
},
405
446
"module": {
406
447
"ref": "#moduleRef",
407
448
"type": "ref"
408
449
},
409
450
"unison": {
410
451
"type": "integer",
411
452
"maximum": 6,
412
453
"minimum": 1,
413
454
"description": "How many voices each note this instance plays is sounded by, detuned narrowly against each other and centred on the note. It lives here, in the patch, for the reason the pattern above it does: how a loop is voiced is a decision about this use of the module. The player's own unison is a setting of their browser and says nothing about this one, so a loop written thick stays thick for everyone who opens the patch. Optional permanently: an instance that says nothing plays one voice per note, which is what every record written before this field existed says."
414
455
},
415
456
"enabled": {
416
457
"type": "boolean",
417
458
"description": "Whether this instance does its work. An instance that is switched off makes no sound of its own, and anything reaching its audio inputs leaves its audio outputs unaltered. Optional permanently: an instance that says nothing is on, which is what every record written before this field existed says."
418
459
},
419
460
"position": {
420
461
"ref": "#position",
421
462
"type": "ref",
422
463
"description": "Where the creator placed this instance in the patch's arrangement, so the arrangement travels with the patch and a fork inherits it. Optional permanently, and the only field in either description that exists for presentation."
423
464
},
424
465
"instanceId": {
425
466
"type": "string",
426
467
"maxLength": 64,
427
468
"minLength": 1
428
469
},
429
470
"voiceScope": {
430
471
"enum": [
431
472
"perNote",
432
473
"perPatch"
433
474
],
434
475
"type": "string",
435
476
"description": "Whether this instance is built once for each sounding note or once for the whole patch. One of the two, always: the choice is made when the module is added, from what the module is, and is the creator's to move afterwards. There is no third value and no leaving it out — an instance that said nothing left the answer to be worked out afresh every time the patch was played, which is a decision nobody could see and nobody could change."
436
477
},
437
478
"notePattern": {
438
479
"ref": "#notePattern",
439
480
"type": "ref",
440
481
"description": "The pattern this instance loops, where its module is a sequencer. It lives here, in the patch, for the reason a sample slot fill and a control binding do: what is played is a decision about this use of the module, and writing one never touches the module's record. Absent on every instance whose module is not a note source."
441
482
},
442
483
"midiControls": {
443
484
"type": "array",
444
485
"items": {
445
486
"ref": "#midiControl",
446
487
"type": "ref"
447
488
},
448
489
"description": "Which MIDI control changes move this instance's parameters while it is played. A binding lives here, in the patch, because which knob moves what is a decision about this use of the module and not about the module."
449
490
},
450
491
"parameterValues": {
451
492
"type": "array",
452
493
"items": {
453
494
"ref": "#parameterValue",
454
495
"type": "ref"
455
496
}
456
497
},
457
498
"sampleSlotFills": {
458
499
"type": "array",
459
500
"items": {
460
501
"ref": "#sampleSlotFill",
461
502
"type": "ref"
462
503
},
463
504
"description": "Samples this instance supplies for the module's declared slots. A fill lives here, in the patch, so writing one never touches the module."
464
505
}
465
506
},
466
507
"description": "One use of one module version. A patch may use the same module more than once; each instance is separately addressable and carries its own parameter values and slot fills."
467
508
},
468
509
"parameterValue": {
469
510
"type": "object",
470
511
"required": [
471
512
"id"
472
513
],
473
514
"properties": {
474
515
"id": {
475
516
"type": "string",
476
517
"maxLength": 64,
477
518
"minLength": 1
478
519
},
479
520
"value": {
480
-
"type": "unknown",
481
-
"description": "The value this patch sets the parameter to. A number that is not a whole number is carried as its decimal string — \"0.5\", not 0.5 — because the ATproto data model has no floating-point type and a PDS refuses one. A whole number is an ordinary integer, and a reader turns such a string back into a number. Where the module declares a closed set of values instead, this is one of those strings, and a label that looks like a number stays the label it is."
521
+
"type": "string",
522
+
"maxLength": 200,
523
+
"description": "The value this patch sets the parameter to, always as text. A number is its decimal form — \"0.5\", and \"2\" for a whole one — because the ATproto data model has no floating-point type and a string is the only type that carries both a number and a word. Where the module declares a closed set of values instead, this is one of those strings, and a label that looks like a number stays the label it is: the module's own description says which of the two this parameter is."
482
524
},
483
525
"useDefault": {
484
526
"type": "boolean",
485
527
"description": "Set where the patch explicitly defers to the module's default rather than recording a value."
486
528
}
487
529
},
488
530
"description": "A value for one of the module's exposed parameters, or an explicit fall-back to the module's declared default."
489
531
},
490
532
"sampleSlotFill": {
491
533
"type": "object",
492
534
"required": [
493
535
"slotId",
494
536
"blob",
495
537
"ownerDid"
496
538
],
497
539
"properties": {
498
540
"blob": {
499
541
"type": "blob",
500
542
"accept": [
501
543
"audio/wav"
502
544
],
503
545
"maxSize": 2097152
504
546
},
505
547
"slotId": {
506
548
"type": "string",
507
549
"maxLength": 64,
508
550
"minLength": 1
509
551
},
510
552
"ownerDid": {
511
553
"type": "string",
512
554
"format": "did"
513
555
}
514
556
}
515
557
},
516
558
"alternatePattern": {
517
559
"type": "object",
518
560
"required": [
519
561
"bars"
520
562
],
521
563
"properties": {
522
564
"bars": {
523
565
"type": "integer",
524
566
"maximum": 8,
525
567
"minimum": 1,
526
568
"description": "How long this loop is, in bars of four beats."
527
569
},
528
570
"events": {
529
571
"type": "array",
530
572
"items": {
531
573
"ref": "#noteEvent",
532
574
"type": "ref"
533
575
},
534
576
"maxLength": 2048,
535
577
"description": "The notes in this loop."
536
578
}
537
579
},
538
580
"description": "One of the loops after the first on a sequencer. It has its own length and its own notes, and shares the grid written beside the first."
539
581
}
540
582
},
541
583
"$type": "com.atproto.lexicon.schema",
542
584
"lexicon": 1,
543
585
"description": "A synth patch: which modules it uses, how they are wired, what their parameters are set to, and how it is played. A patch plus the module records it pins is everything needed to reproduce it."
544
586
}