at.atmosynth.patch
Schema Diff
+52 -12
Compatibility Analysis
Breaking Changes Detected
4 breaking changes, 14 non-breaking changes.
Breaking Changes (4)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#lineage", src: "at.atmosynth.patch#lineage", tgt: "at.atmosynth.patch#lineage.relation", kind: "prop", name: Some("relation") }
- RemovedVertex RemovedVertex { vertex_id: "at.atmosynth.patch:body.forkedFrom" }
- RemovedEdge RemovedEdge { src: "at.atmosynth.patch:body", tgt: "at.atmosynth.patch:body.forkedFrom", kind: "prop", name: Some("forkedFrom") }
- RemovedEdge RemovedEdge { src: "at.atmosynth.patch:body.forkedFrom", tgt: "at.atmosynth.patch#lineage", kind: "ref", name: None }
Non-Breaking Changes (14)
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern.sixteenths" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#lane.sixteenths" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#lineage.relation" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.sixteenths" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#sampleSlotFill.name" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch:body.lineage" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch:body.lineage:items" }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#alternatePattern", tgt: "at.atmosynth.patch#alternatePattern.sixteenths", kind: "prop", name: Some("sixteenths") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#lane", tgt: "at.atmosynth.patch#lane.sixteenths", kind: "prop", name: Some("sixteenths") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.sixteenths", kind: "prop", name: Some("sixteenths") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#sampleSlotFill", tgt: "at.atmosynth.patch#sampleSlotFill.name", kind: "prop", name: Some("name") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch:body", tgt: "at.atmosynth.patch:body.lineage", kind: "prop", name: Some("lineage") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch:body.lineage", tgt: "at.atmosynth.patch:body.lineage:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch:body.lineage:items", tgt: "at.atmosynth.patch#lineage", kind: "ref", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "at.atmosynth.patch:body.forkedFrom" }
Added Elements
AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern.sixteenths" }AddedVertex { vertex_id: "at.atmosynth.patch#lane.sixteenths" }AddedVertex { vertex_id: "at.atmosynth.patch#lineage.relation" }AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.sixteenths" }AddedVertex { vertex_id: "at.atmosynth.patch#sampleSlotFill.name" }AddedVertex { vertex_id: "at.atmosynth.patch:body.lineage" }AddedVertex { vertex_id: "at.atmosynth.patch:body.lineage:items" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#lineage", src: "at.atmosynth.patch#lineage", tgt: "at.atmosynth.patch#lineage.relation", kind: "prop", name: Some("relation") }
- Breaking: RemovedEdge { src: "at.atmosynth.patch:body", tgt: "at.atmosynth.patch:body.forkedFrom", kind: "prop", name: Some("forkedFrom") }
- Breaking: RemovedEdge { src: "at.atmosynth.patch:body.forkedFrom", tgt: "at.atmosynth.patch#lineage", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#alternatePattern", tgt: "at.atmosynth.patch#alternatePattern.sixteenths", kind: "prop", name: Some("sixteenths") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#lane", tgt: "at.atmosynth.patch#lane.sixteenths", kind: "prop", name: Some("sixteenths") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.sixteenths", kind: "prop", name: Some("sixteenths") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#sampleSlotFill", tgt: "at.atmosynth.patch#sampleSlotFill.name", kind: "prop", name: Some("name") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch:body", tgt: "at.atmosynth.patch:body.lineage", kind: "prop", name: Some("lineage") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch:body.lineage", tgt: "at.atmosynth.patch:body.lineage:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch:body.lineage:items", tgt: "at.atmosynth.patch#lineage", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"alternatePattern": {
5
5
"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.",
6
6
"properties": {
7
7
"bars": {
8
-
"description": "How long this loop is, in bars of the patch's time signature.",
8
+
"description": "How long this loop is, in bars of the patch's time signature. Where `sixteenths` is present it is the length and this is the whole bars that covers, rounded up.",
9
9
"maximum": 8,
10
10
"minimum": 1,
11
11
"type": "integer"
12
12
},
13
13
"events": {
14
14
"description": "The notes in this loop.",
15
15
"items": {
16
16
"ref": "#noteEvent",
17
17
"type": "ref"
18
18
},
19
19
"maxLength": 2048,
20
20
"type": "array"
21
21
},
22
22
"name": {
23
23
"description": "What the creator called this loop. Optional permanently: a loop that says nothing is called by its place.",
24
24
"maxGraphemes": 32,
25
25
"maxLength": 320,
26
26
"minLength": 1,
27
27
"type": "string"
28
+
},
29
+
"sixteenths": {
30
+
"description": "How long this loop is, in sixteenth notes, where it is not a whole number of bars. It keeps its length when the time signature changes. Optional permanently: absent is `bars` of the patch's bar.",
31
+
"maximum": 2048,
32
+
"minimum": 1,
33
+
"type": "integer"
28
34
}
29
35
},
30
36
"required": [
31
37
"bars"
32
38
],
33
39
"type": "object"
34
40
},
35
41
"connection": {
36
42
"description": "An audio connection between two module instances, naming the declared ports at each end.",
37
43
"properties": {
38
44
"from": {
39
45
"ref": "#outputRef",
40
46
"type": "ref"
41
47
},
42
48
"to": {
43
49
"ref": "#inputRef",
44
50
"type": "ref"
45
51
}
46
52
},
47
53
"required": [
48
54
"from",
49
55
"to"
50
56
],
51
57
"type": "object"
52
58
},
53
59
"glide": {
54
60
"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.",
55
61
"properties": {
56
62
"fromLast": {
57
63
"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.",
58
64
"type": "boolean"
59
65
},
60
66
"ms": {
61
67
"description": "How long a note takes to reach the next, in milliseconds.",
62
68
"maximum": 5000,
63
69
"minimum": 1,
64
70
"type": "integer"
65
71
},
66
72
"rate": {
67
73
"description": "Or: how long, as a note value at the tempo. The same vocabulary the grid is written in.",
68
74
"knownValues": [
69
75
"bar",
70
76
"1/2",
71
77
"1/4",
72
78
"1/8",
73
79
"1/16",
74
80
"1/32",
75
81
"1/64",
76
82
"1/128"
77
83
],
78
84
"type": "string"
79
85
}
80
86
},
81
87
"type": "object"
82
88
},
83
89
"inputRef": {
84
90
"properties": {
85
91
"audioInput": {
86
92
"maxLength": 64,
87
93
"minLength": 1,
88
94
"type": "string"
89
95
},
90
96
"instanceId": {
91
97
"maxLength": 64,
92
98
"minLength": 1,
93
99
"type": "string"
94
100
}
95
101
},
96
102
"required": [
97
103
"instanceId",
98
104
"audioInput"
99
105
],
100
106
"type": "object"
101
107
},
102
108
"inputRoute": {
103
109
"description": "One note source wired into the input of a sequencer or a note range. Notes arriving at a sequencer's are what it records, and what it passes on to the instances it plays unless its instance says `thru: false`; notes arriving at a note range's are passed on where they fall inside its range.",
104
110
"properties": {
105
111
"from": {
106
112
"description": "The note output these notes leave: a keyboard's, a sequencer's or a note range's.",
107
113
"ref": "#noteOutputRef",
108
114
"type": "ref"
109
115
},
110
116
"instanceId": {
111
117
"description": "The sequencer or the note range, at its input.",
112
118
"maxLength": 64,
113
119
"minLength": 1,
114
120
"type": "string"
115
121
}
116
122
},
117
123
"required": [
118
124
"from",
119
125
"instanceId"
120
126
],
121
127
"type": "object"
122
128
},
123
129
"lane": {
124
-
"description": "One automation lane: a line drawn over a whole number of bars, counted from the downbeat the loops share and going round at its own length, so a point in bar 3 of a four-bar lane is heard in bar 3 of every four.",
130
+
"description": "One automation lane: a line drawn over a whole number of bars, or of sixteenths where it says so, counted from the downbeat the loops share and going round at its own length, so a point in bar 3 of a four-bar lane is heard in bar 3 of every four.",
125
131
"properties": {
126
132
"bars": {
127
-
"description": "How long this lane is, in bars of the patch's time signature.",
133
+
"description": "How long this lane is, in bars of the patch's time signature. Where `sixteenths` is present it is the length and this is the whole bars that covers, rounded up.",
128
134
"maximum": 64,
129
135
"minimum": 1,
130
136
"type": "integer"
131
137
},
132
138
"name": {
133
139
"description": "What the creator called this lane. Optional permanently: a lane that says nothing is called by its place.",
134
140
"maxGraphemes": 32,
135
141
"maxLength": 320,
136
142
"minLength": 1,
137
143
"type": "string"
138
144
},
139
145
"points": {
140
146
"description": "The points, in order of `at`, one to a tick. Before the first point the lane is at the first point's value and after the last at the last's; a lane with no points is at nothing.",
141
147
"items": {
142
148
"ref": "#lanePoint",
143
149
"type": "ref"
144
150
},
145
151
"maxLength": 512,
146
152
"type": "array"
147
153
},
148
154
"resolution": {
149
155
"description": "The grid this lane's points are drawn and snapped to. It is a guide and not a part of what is played: changing it moves no point already written. Optional permanently: absent is sixteenths.",
150
156
"ref": "#resolution",
151
157
"type": "ref"
158
+
},
159
+
"sixteenths": {
160
+
"description": "How long this lane is, in sixteenth notes, where it is not a whole number of bars. It keeps its length when the time signature changes. Optional permanently: absent is `bars` of the patch's bar.",
161
+
"maximum": 16384,
162
+
"minimum": 1,
163
+
"type": "integer"
152
164
}
153
165
},
154
166
"required": [
155
167
"bars"
156
168
],
157
169
"type": "object"
158
170
},
159
171
"lanePoint": {
160
172
"description": "One point of an automation lane: a value at a moment.",
161
173
"properties": {
162
174
"at": {
163
175
"description": "The tick of the lane this point is at, counted from its start at 96 ticks to the beat, and less than the lane's length.",
164
176
"minimum": 0,
165
177
"type": "integer"
166
178
},
167
179
"hold": {
168
180
"description": "Whether the value is held until the next point, which is jumped to, rather than travelled to in a straight line. Optional permanently: absent is a straight line, and only `true` is written.",
169
181
"type": "boolean"
170
182
},
171
183
"value": {
172
184
"description": "The value here, a number from 0 to 1 written as its decimal text, as every number in this description that need not be whole is.",
173
185
"type": "string"
174
186
}
175
187
},
176
188
"required": [
177
189
"at",
178
190
"value"
179
191
],
180
192
"type": "object"
181
193
},
182
194
"lineage": {
183
-
"description": "The patch this one was forked from, and its creator. Preserved even when the source is later deleted.",
195
+
"description": "One patch this one came from, how, and its creator. Preserved even when that patch is later deleted, because it is written here and not there.",
184
196
"properties": {
185
197
"creatorDid": {
186
198
"format": "did",
187
199
"type": "string"
188
200
},
189
201
"patchId": {
190
202
"maxLength": 128,
191
203
"type": "string"
192
204
},
205
+
"relation": {
206
+
"description": "`fork`: this patch began as a copy of that one, and a patch is forked from one at most. `import`: that patch was put inside this one, each patch named once however often it was. A reader meeting another value still has a parent, and should say only that this patch came from it.",
207
+
"knownValues": [
208
+
"fork",
209
+
"import"
210
+
],
211
+
"maxLength": 32,
212
+
"type": "string"
213
+
},
193
214
"uri": {
194
215
"format": "at-uri",
195
216
"type": "string"
196
217
}
197
218
},
198
219
"required": [
220
+
"relation",
199
221
"uri",
200
222
"creatorDid"
201
223
],
202
224
"type": "object"
203
225
},
204
226
"main": {
205
227
"description": "A patch, held in its creator's own repository.",
206
228
"key": "tid",
207
229
"record": {
208
230
"properties": {
209
231
"concertPitch": {
210
232
"description": "The frequency A4 sounds at in this patch, in hertz, from 380 to 500, written as its decimal text — \"432\", \"415.3\" — as every number in this description that need not be whole is. Every note's frequency is tuned against it, which is what an oscillator a module does not drive itself and a module's note signal play at. A sample is not retuned: its own reference pitch is a note rather than a frequency, and it plays as recorded. Optional permanently: a patch that says nothing is tuned to 440, which is what every patch written before the field existed says.",
211
233
"maxLength": 32,
212
234
"type": "string"
213
235
},
214
236
"connections": {
215
237
"items": {
216
238
"ref": "#connection",
217
239
"type": "ref"
218
240
},
219
241
"type": "array"
220
242
},
221
243
"createdAt": {
222
244
"format": "datetime",
223
245
"type": "string"
224
246
},
225
247
"description": {
226
248
"maxLength": 3000,
227
249
"type": "string"
228
250
},
229
251
"descriptionVersion": {
230
252
"description": "Version of the patch description this record follows.",
231
253
"minimum": 1,
232
254
"type": "integer"
233
-
},
234
-
"forkedFrom": {
235
-
"ref": "#lineage",
236
-
"type": "ref"
237
255
},
238
256
"inputRouting": {
239
257
"description": "What reaches the input of each sequencer, each note range, each transpose, each pitch assignment and each one-shot: which note sources a sequencer hears, to record from and — unless it says otherwise (`thru`) — to pass on to whatever it plays; which a note range hears, to pass on what falls inside its range (`noteRange`); which a transpose or a pitch assignment hears, to pass on at another pitch (`transpose`, `assignedNote`); and which a one-shot hears, to pass on lasting one length (`noteLength`). A sequencer with nothing wired here records nothing, and the others pass nothing on. Optional permanently: a patch that says nothing has nothing wired into any of them, which is what every patch written before the input existed says.",
240
258
"items": {
241
259
"ref": "#inputRoute",
242
260
"type": "ref"
243
261
},
244
262
"type": "array"
245
263
},
264
+
"lineage": {
265
+
"description": "The patches this one came from: the one it was forked from, if it was, and every one imported into it. Only the direct ones — each of those names its own — so the whole of where a patch came from is read by following these upward. The modules it pins and the samples it fills are not repeated here: they are already in its instances. Optional permanently: a patch that says nothing came from nothing but its modules. A patch written before this field existed may say its fork as `forkedFrom` instead, `{uri, creatorDid, patchId?}`, which a reader treats as a lineage of relation `fork`; it is never written again.",
266
+
"items": {
267
+
"ref": "#lineage",
268
+
"type": "ref"
269
+
},
270
+
"maxLength": 64,
271
+
"type": "array"
272
+
},
246
273
"midiRouting": {
247
274
"description": "The note plane: which note inputs receive note events, and from which note source — a sequencer, or the player's keys and MIDI devices. \"MIDI\" is the historical name; what travels here is notes, whatever produced them.",
248
275
"items": {
249
276
"ref": "#midiRoute",
250
277
"type": "ref"
251
278
},
252
279
"type": "array"
253
280
},
254
281
"moduleInstances": {
255
282
"items": {
256
283
"ref": "#moduleInstance",
257
284
"type": "ref"
258
285
},
259
286
"type": "array"
260
287
},
261
288
"name": {
262
289
"maxLength": 200,
263
290
"minLength": 1,
264
291
"type": "string"
265
292
},
266
293
"output": {
267
294
"description": "Which instance reaches the audio output.",
268
295
"ref": "#outputRef",
269
296
"type": "ref"
270
297
},
271
298
"patternRouting": {
272
299
"description": "The song plane: which sequencers and automation blocks each arranger or scenes block chooses the loops or lanes of. A sequencer or an automation block has one pattern input, so it appears here at most once. Optional permanently: a patch that says nothing has no arranger in it, and every sequencer plays the loop it names as active and every automation block the lane.",
273
300
"items": {
274
301
"ref": "#patternRoute",
275
302
"type": "ref"
276
303
},
277
304
"type": "array"
278
305
},
279
306
"tags": {
280
307
"description": "Freely created tags, lower-cased on write so one hashtag matches one set of patches.",
281
308
"items": {
282
309
"maxLength": 128,
283
310
"type": "string"
284
311
},
285
312
"type": "array"
286
313
},
287
314
"tempo": {
288
315
"description": "The tempo this patch was written at, in beats per minute, a beat being a quarter note whatever the time signature says. 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.",
289
316
"maximum": 300,
290
317
"minimum": 20,
291
318
"type": "integer"
292
319
},
293
320
"timeSignature": {
294
321
"description": "How many of which note one bar of this patch is. Every length here counted in bars — a loop, a section, an automation lane — is counted in this bar, so a loop of four bars is twelve beats in 3/4. Optional permanently: a patch that says nothing is in 4/4, which is what every patch written before the field existed says.",
295
322
"ref": "#timeSignature",
296
323
"type": "ref"
297
324
},
298
325
"types": {
299
326
"description": "Zero or more of the ten fixed types. A patch may carry several.",
300
327
"items": {
301
328
"knownValues": [
302
329
"Lead",
303
330
"Pad",
304
331
"Bass",
305
332
"Plucked",
306
333
"Percussion",
307
334
"Keys",
308
335
"Brass",
309
336
"Strings",
310
337
"Vocal",
311
338
"SFX"
312
339
],
313
340
"type": "string"
314
341
},
315
342
"type": "array"
316
343
}
317
344
},
318
345
"required": [
319
346
"descriptionVersion",
320
347
"name",
321
348
"description",
322
349
"moduleInstances",
323
350
"createdAt"
324
351
],
325
352
"type": "object"
326
353
},
327
354
"type": "record"
328
355
},
329
356
"midiControl": {
330
357
"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 — along the parameter's scale, so a logarithmic one moves by equal ratios — or across the part of it this binding names with from and to; where the module declares a closed value set instead, it sweeps 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.",
331
358
"properties": {
332
359
"controller": {
333
360
"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.",
334
361
"maximum": 127,
335
362
"minimum": 0,
336
363
"type": "integer"
337
364
},
338
365
"from": {
339
366
"description": "The value the control reaches at 0, in the parameter's own units and as its decimal form. Given with to or not at all; neither is the parameter's whole declared range. A value outside that range is read as the nearer end of it.",
340
367
"maxLength": 200,
341
368
"type": "string"
342
369
},
343
370
"parameter": {
344
371
"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.",
345
372
"maxLength": 64,
346
373
"minLength": 1,
347
374
"type": "string"
348
375
},
349
376
"to": {
350
377
"description": "The value the control reaches at 127, as from is at 0. It may be below from, which is a control that turns the parameter down as it is turned up.",
351
378
"maxLength": 200,
352
379
"type": "string"
353
380
}
354
381
},
355
382
"required": [
356
383
"parameter",
357
384
"controller"
358
385
],
359
386
"type": "object"
360
387
},
361
388
"midiRoute": {
362
389
"description": "Where one instance's notes come from. `instanceId` and `midiInput` name the note input they arrive at; `from` names the note output they leave. \"MIDI\" in these names is historical: a route carries note events from any note source, a sequencer as much as a MIDI device. **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.",
363
390
"properties": {
364
391
"from": {
365
392
"description": "The note output these notes leave. Absent where they come from the player.",
366
393
"ref": "#noteOutputRef",
367
394
"type": "ref"
368
395
},
369
396
"instanceId": {
370
397
"maxLength": 64,
371
398
"minLength": 1,
372
399
"type": "string"
373
400
},
374
401
"midiInput": {
375
402
"description": "The note input, one of the module's `midiInputs`, these notes arrive at. It receives note events from any note source; \"MIDI\" is the historical name.",
376
403
"maxLength": 64,
377
404
"minLength": 1,
378
405
"type": "string"
379
406
}
380
407
},
381
408
"required": [
382
409
"instanceId",
383
410
"midiInput"
384
411
],
385
412
"type": "object"
386
413
},
387
414
"moduleInstance": {
388
415
"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.",
389
416
"properties": {
390
417
"assignedNote": {
391
418
"description": "The one note this instance passes every note on at, whichever note arrived, where its module is a pitch assignment: a MIDI note number (60 is middle C). Only the pitch changes: each note still starts and stops when it did, at the strength it was played with. It lives here, in the patch, for the reason a note range does: which pitch a pad plays its sound at is a decision about this use of the module. Absent on every instance whose module is not a pitch assignment, and on one that passes every note at its own pitch.",
392
419
"maximum": 127,
393
420
"minimum": 0,
394
421
"type": "integer"
395
422
},
396
423
"enabled": {
397
424
"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.",
398
425
"type": "boolean"
399
426
},
400
427
"glide": {
401
428
"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.",
402
429
"ref": "#glide",
403
430
"type": "ref"
404
431
},
405
432
"instanceId": {
406
433
"maxLength": 64,
407
434
"minLength": 1,
408
435
"type": "string"
409
436
},
410
437
"lane": {
411
438
"description": "Which of `lanes` plays, counting the first as zero. Choosing a lane is an edit like choosing a sequencer's loop, so it is written here, and the patch opens on it. Optional permanently: absent is the first, and a reader plays one past the last as the last.",
412
439
"maximum": 7,
413
440
"minimum": 0,
414
441
"type": "integer"
415
442
},
416
443
"lanes": {
417
-
"description": "The automation lanes this instance holds, where its module is an automation block: each a whole number of bars of values from nothing to one, played in time with the loops. One plays at a time, as one of a sequencer's loops does, and an arranger or a scenes block wired to the block's pattern input chooses which. It lives here, in the patch, for the reason a pattern does: what is played is a decision about this use of the module. Absent on every instance whose module is not an automation block.",
444
+
"description": "The automation lanes this instance holds, where its module is an automation block: each so many bars or sixteenths of values from nothing to one, played in time with the loops. One plays at a time, as one of a sequencer's loops does, and an arranger or a scenes block wired to the block's pattern input chooses which. It lives here, in the patch, for the reason a pattern does: what is played is a decision about this use of the module. Absent on every instance whose module is not an automation block.",
418
445
"items": {
419
446
"ref": "#lane",
420
447
"type": "ref"
421
448
},
422
449
"maxLength": 8,
423
450
"type": "array"
424
451
},
425
452
"midiControls": {
426
453
"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.",
427
454
"items": {
428
455
"ref": "#midiControl",
429
456
"type": "ref"
430
457
},
431
458
"type": "array"
432
459
},
433
460
"module": {
434
461
"ref": "#moduleRef",
435
462
"type": "ref"
436
463
},
437
464
"name": {
438
465
"description": "What the creator called this instance, so that two uses of one module — a sequencer playing the bass beside one playing the chords — are told apart by what each does. It lives here, in the patch, because what a use of a module is for is a decision about this use and not about the module. Optional permanently: an instance that says nothing is called by its module's name, which is what every record written before an instance could be named says.",
439
466
"maxGraphemes": 32,
440
467
"maxLength": 320,
441
468
"minLength": 1,
442
469
"type": "string"
443
470
},
444
471
"noteLength": {
445
472
"description": "How many milliseconds every note this instance passes on lasts, where its module is a one-shot, however briefly or long whatever played it held it: a pad tapped in front of a drum plays the drum's whole hit. When the length is up the note is let go of and its sound follows its own release. Only how long a note lasts changes: each still starts when it was struck, at its own pitch and the strength it was played with. It lives here, in the patch, for the reason a note range does. Absent on every instance whose module is not a one-shot; on a one-shot, absent is 100 milliseconds.",
446
473
"maximum": 10000,
447
474
"minimum": 1,
448
475
"type": "integer"
449
476
},
450
477
"notePattern": {
451
478
"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 sequencer.",
452
479
"ref": "#notePattern",
453
480
"type": "ref"
454
481
},
455
482
"noteRange": {
456
483
"description": "Which notes this instance passes on, where its module is a note range. It lives here, in the patch, for the reason a pattern does: which pad or which half of a keyboard plays which sound is a decision about this use of the module, and forks with the patch. Absent on every instance whose module is not a note range, and on one that passes every note.",
457
484
"ref": "#noteRange",
458
485
"type": "ref"
459
486
},
460
487
"parameterValues": {
461
488
"items": {
462
489
"ref": "#parameterValue",
463
490
"type": "ref"
464
491
},
465
492
"type": "array"
466
493
},
467
494
"position": {
468
495
"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.",
469
496
"ref": "#position",
470
497
"type": "ref"
471
498
},
472
499
"sampleSlotFills": {
473
500
"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.",
474
501
"items": {
475
502
"ref": "#sampleSlotFill",
476
503
"type": "ref"
477
504
},
478
505
"type": "array"
479
506
},
480
507
"scene": {
481
508
"description": "Which of `scenes` is playing, counting the first as zero. Choosing a scene is an edit like choosing a sequencer's loop, so it is written here, and the patch opens on it. Optional permanently: absent is the first, and a reader plays one past the last as the last.",
482
509
"maximum": 25,
483
510
"minimum": 0,
484
511
"type": "integer"
485
512
},
486
513
"sceneLaunch": {
487
514
"description": "When a scene chosen on this instance takes over, and where the loops it names start. Optional permanently: absent is on the next bar, from their first step.",
488
515
"ref": "#sceneLaunch",
489
516
"type": "ref"
490
517
},
491
518
"scenes": {
492
519
"description": "The scenes this instance switches between, where its module is a scenes block: which loop each sequencer wired to it plays in each. It lives here for the reason a song does. Absent on every instance whose module is not a scenes block.",
493
520
"items": {
494
521
"ref": "#scene",
495
522
"type": "ref"
496
523
},
497
524
"maxLength": 26,
498
525
"type": "array"
499
526
},
500
527
"song": {
501
528
"description": "The song this instance plays, where its module is an arranger: which loop each sequencer wired to it plays, section by section. It lives here, in the patch, for the reason a pattern does: what is played is a decision about this use of the module. Absent on every instance whose module is not an arranger.",
502
529
"ref": "#song",
503
530
"type": "ref"
504
531
},
505
532
"thru": {
506
533
"description": "Whether the notes reaching this instance's input are passed on to whatever it plays, where its module is a sequencer: a keyboard wired into it is then heard through it as well as recorded by it. It lives here, in the patch, because what a sequencer passes on is part of how the patch sounds. Optional permanently: an instance that says nothing passes them on, and only `false` is ever written.",
507
534
"type": "boolean"
508
535
},
509
536
"transpose": {
510
537
"description": "How many semitones this instance moves every note it passes on, where its module is a transpose: twelve is an octave up, and a negative number is down. A note moved past the lowest or the highest MIDI note is not passed on. It lives here, in the patch, for the reason a note range does. Absent on every instance whose module is not a transpose, and on one that moves nothing.",
511
538
"maximum": 127,
512
539
"minimum": -127,
513
540
"type": "integer"
514
541
},
515
542
"unison": {
516
543
"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.",
517
544
"maximum": 6,
518
545
"minimum": 1,
519
546
"type": "integer"
520
547
},
521
548
"voiceScope": {
522
549
"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.",
523
550
"enum": [
524
551
"perNote",
525
552
"perPatch"
526
553
],
527
554
"type": "string"
528
555
}
529
556
},
530
557
"required": [
531
558
"instanceId",
532
559
"module",
533
560
"voiceScope"
534
561
],
535
562
"type": "object"
536
563
},
537
564
"moduleRef": {
538
565
"description": "A pin to one exact published version of a module. Resolving it fetches that record, whoever authored it.",
539
566
"properties": {
540
567
"authorDid": {
541
568
"format": "did",
542
569
"type": "string"
543
570
},
544
571
"moduleId": {
545
572
"maxLength": 128,
546
573
"minLength": 1,
547
574
"type": "string"
548
575
},
549
576
"versionKey": {
550
577
"description": "The pinned version's record key, which is also the `versionKey` that version carries. A reader fetches the module record at this key.",
551
578
"maxLength": 128,
552
579
"minLength": 1,
553
580
"type": "string"
554
581
}
555
582
},
556
583
"required": [
557
584
"moduleId",
558
585
"versionKey",
559
586
"authorDid"
560
587
],
561
588
"type": "object"
562
589
},
563
590
"noteEvent": {
564
591
"description": "One note struck at one moment of the loop, held from it, and struck as hard and as often 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.",
565
592
"properties": {
566
593
"at": {
567
594
"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.",
568
595
"minimum": 0,
569
596
"type": "integer"
570
597
},
571
598
"hold": {
572
599
"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.",
573
600
"minimum": 1,
574
601
"type": "integer"
575
602
},
576
603
"length": {
577
604
"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.",
578
605
"minimum": 1,
579
606
"type": "integer"
580
607
},
581
608
"note": {
582
609
"description": "The MIDI note number. 60 is middle C.",
583
610
"maximum": 127,
584
611
"minimum": 0,
585
612
"type": "integer"
586
613
},
587
614
"probability": {
588
615
"description": "How likely this note is to be struck each time the loop comes round, in percent, asked afresh on every pass. Optional permanently: a note that says nothing is struck every time, which is what every pattern written before a note could say otherwise says, and a certain note writes no field. Nought is not offered, for the reason a velocity of nought is not.",
589
616
"maximum": 100,
590
617
"minimum": 1,
591
618
"type": "integer"
592
619
},
593
620
"step": {
594
621
"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.",
595
622
"minimum": 0,
596
623
"type": "integer"
597
624
},
598
625
"velocity": {
599
626
"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.",
600
627
"maximum": 127,
601
628
"minimum": 1,
602
629
"type": "integer"
603
630
}
604
631
},
605
632
"required": [
606
633
"note"
607
634
],
608
635
"type": "object"
609
636
},
610
637
"noteOutputRef": {
611
638
"properties": {
612
639
"instanceId": {
613
640
"maxLength": 64,
614
641
"minLength": 1,
615
642
"type": "string"
616
643
},
617
644
"noteOutput": {
618
645
"maxLength": 64,
619
646
"minLength": 1,
620
647
"type": "string"
621
648
}
622
649
},
623
650
"required": [
624
651
"instanceId",
625
652
"noteOutput"
626
653
],
627
654
"type": "object"
628
655
},
629
656
"notePattern": {
630
-
"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.",
657
+
"description": "The loops one sequencer holds, and the grid they are written on. A loop is a whole number of bars, or of sixteenths where it says so, 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.",
631
658
"properties": {
632
659
"active": {
633
660
"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.",
634
661
"minimum": 0,
635
662
"type": "integer"
636
663
},
637
664
"alternates": {
638
665
"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.",
639
666
"items": {
640
667
"ref": "#alternatePattern",
641
668
"type": "ref"
642
669
},
643
670
"maxLength": 7,
644
671
"type": "array"
645
672
},
646
673
"bars": {
647
-
"description": "How long the first loop is, in bars of the patch's time signature (`timeSignature`), which is 4/4 where it says none. Each loop keeps its own length: one may be four bars and the next five.",
674
+
"description": "How long the first loop is, in bars of the patch's time signature (`timeSignature`), which is 4/4 where it says none. Each loop keeps its own length: one may be four bars and the next five. Where `sixteenths` is present it is the length and this is the whole bars that covers, rounded up, so a reader that knows only bars plays the loop with a silent tail rather than refusing it.",
648
675
"maximum": 8,
649
676
"minimum": 1,
650
677
"type": "integer"
651
678
},
652
679
"events": {
653
680
"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.",
654
681
"items": {
655
682
"ref": "#noteEvent",
656
683
"type": "ref"
657
684
},
658
685
"maxLength": 2048,
659
686
"type": "array"
660
687
},
661
688
"name": {
662
689
"description": "What the creator called the first loop. Optional permanently: a loop that says nothing is called by its place, which is what every loop written before a loop could be named says.",
663
690
"maxGraphemes": 32,
664
691
"maxLength": 320,
665
692
"minLength": 1,
666
693
"type": "string"
667
694
},
668
695
"resolution": {
669
696
"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.",
670
697
"ref": "#resolution",
671
698
"type": "ref"
699
+
},
700
+
"sixteenths": {
701
+
"description": "How long the first loop is, in sixteenth notes, where it is not a whole number of bars: three beats is twelve. It is a length in the beat rather than the bar, so a loop that says it keeps its length when the time signature changes. Optional permanently: absent is `bars` of the patch's bar, which is what every loop written before a loop could end inside a bar says.",
702
+
"maximum": 2048,
703
+
"minimum": 1,
704
+
"type": "integer"
672
705
}
673
706
},
674
707
"required": [
675
708
"bars",
676
709
"resolution"
677
710
],
678
711
"type": "object"
679
712
},
680
713
"noteRange": {
681
714
"description": "The notes a note range passes on: from its lowest to its highest, both included, as MIDI note numbers (60 is middle C). Either end may be left out, and an end left out is open, so a range with only a lowest passes that note and everything above it. The same note at both ends is one key or one pad.",
682
715
"properties": {
683
716
"highest": {
684
717
"description": "The highest note passed on, at or above the lowest. Absent is the highest there is.",
685
718
"maximum": 127,
686
719
"minimum": 0,
687
720
"type": "integer"
688
721
},
689
722
"lowest": {
690
723
"description": "The lowest note passed on. Absent is the lowest there is.",
691
724
"maximum": 127,
692
725
"minimum": 0,
693
726
"type": "integer"
694
727
}
695
728
},
696
729
"type": "object"
697
730
},
698
731
"outputRef": {
699
732
"properties": {
700
733
"audioOutput": {
701
734
"maxLength": 64,
702
735
"minLength": 1,
703
736
"type": "string"
704
737
},
705
738
"instanceId": {
706
739
"maxLength": 64,
707
740
"minLength": 1,
708
741
"type": "string"
709
742
}
710
743
},
711
744
"required": [
712
745
"instanceId",
713
746
"audioOutput"
714
747
],
715
748
"type": "object"
716
749
},
717
750
"parameterValue": {
718
751
"description": "A value for one of the module's exposed parameters, or an explicit fall-back to the module's declared default.",
719
752
"properties": {
720
753
"id": {
721
754
"maxLength": 64,
722
755
"minLength": 1,
723
756
"type": "string"
724
757
},
725
758
"useDefault": {
726
759
"description": "Set where the patch explicitly defers to the module's default rather than recording a value.",
727
760
"type": "boolean"
728
761
},
729
762
"value": {
730
763
"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.",
731
764
"maxLength": 200,
732
765
"type": "string"
733
766
}
734
767
},
735
768
"required": [
736
769
"id"
737
770
],
738
771
"type": "object"
739
772
},
740
773
"patternRoute": {
741
774
"description": "One sequencer whose loops, or one automation block whose lanes, an arranger or a scenes block chooses.",
742
775
"properties": {
743
776
"from": {
744
777
"description": "The arranger, or the scenes block.",
745
778
"maxLength": 64,
746
779
"minLength": 1,
747
780
"type": "string"
748
781
},
749
782
"instanceId": {
750
783
"description": "The sequencer or automation block, at its pattern input.",
751
784
"maxLength": 64,
752
785
"minLength": 1,
753
786
"type": "string"
754
787
}
755
788
},
756
789
"required": [
757
790
"from",
758
791
"instanceId"
759
792
],
760
793
"type": "object"
761
794
},
762
795
"position": {
763
796
"properties": {
764
797
"x": {
765
798
"type": "integer"
766
799
},
767
800
"y": {
768
801
"type": "integer"
769
802
}
770
803
},
771
804
"required": [
772
805
"x",
773
806
"y"
774
807
],
775
808
"type": "object"
776
809
},
777
810
"resolution": {
778
811
"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.",
779
812
"properties": {
780
813
"unit": {
781
814
"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.",
782
815
"knownValues": [
783
816
"normal",
784
817
"triplet"
785
818
],
786
819
"type": "string"
787
820
},
788
821
"value": {
789
822
"description": "The note value one step is worth. `bar` is one bar of the patch's time signature; every other value is a note, the same length in any bar.",
790
823
"knownValues": [
791
824
"bar",
792
825
"1/2",
793
826
"1/4",
794
827
"1/8",
795
828
"1/16",
796
829
"1/32",
797
830
"1/64",
798
831
"1/128"
799
832
],
800
833
"type": "string"
801
834
}
802
835
},
803
836
"required": [
804
837
"value"
805
838
],
806
839
"type": "object"
807
840
},
808
841
"sampleSlotFill": {
809
842
"properties": {
810
843
"blob": {
811
844
"accept": [
812
845
"audio/wav"
813
846
],
814
-
"maxSize": 2097152,
847
+
"maxSize": 10485760,
815
848
"type": "blob"
816
849
},
850
+
"name": {
851
+
"description": "What the creator calls this sample — Kick, Snare, Open hat — so a kit's pads are told apart by what each plays. It lives on the fill because it is a name for the sample that fills the slot: replaced with the sample, and gone with it. Optional permanently: a fill that says nothing is called by its slot, which is what every record written before a sample could be named says.",
852
+
"maxGraphemes": 32,
853
+
"maxLength": 320,
854
+
"minLength": 1,
855
+
"type": "string"
856
+
},
817
857
"ownerDid": {
818
858
"format": "did",
819
859
"type": "string"
820
860
},
821
861
"slotId": {
822
862
"maxLength": 64,
823
863
"minLength": 1,
824
864
"type": "string"
825
865
}
826
866
},
827
867
"required": [
828
868
"slotId",
829
869
"blob",
830
870
"ownerDid"
831
871
],
832
872
"type": "object"
833
873
},
834
874
"scene": {
835
875
"description": "One scene: which loop each sequencer wired to the scenes block plays while it is the scene playing. It lasts until another scene is chosen.",
836
876
"properties": {
837
877
"loops": {
838
878
"description": "Which loop each sequencer plays in this scene. A sequencer wired to the scenes block with no entry here rests while it plays.",
839
879
"items": {
840
880
"ref": "#sectionLoop",
841
881
"type": "ref"
842
882
},
843
883
"maxLength": 64,
844
884
"type": "array"
845
885
},
846
886
"name": {
847
887
"description": "What the creator called this scene. Optional permanently: a scene that says nothing is called by its letter.",
848
888
"maxGraphemes": 32,
849
889
"maxLength": 320,
850
890
"minLength": 1,
851
891
"type": "string"
852
892
}
853
893
},
854
894
"type": "object"
855
895
},
856
896
"sceneLaunch": {
857
897
"description": "When a scene chosen takes over, and where its loops start.",
858
898
"properties": {
859
899
"quantize": {
860
900
"description": "Where a scene chosen takes over: `none` at once, or on the next beat, bar, two bars or four bars of the patch's time signature — a beat being the note its lower number names — counted from the downbeat the loops count from. Optional permanently: absent is `bar`.",
861
901
"knownValues": [
862
902
"none",
863
903
"beat",
864
904
"bar",
865
905
"2bars",
866
906
"4bars"
867
907
],
868
908
"type": "string"
869
909
},
870
910
"restart": {
871
911
"description": "Whether the loops a scene names start from their first step where it takes over, or carry on from where they already were. Optional permanently: absent is from their first step, so only `false` is written.",
872
912
"type": "boolean"
873
913
}
874
914
},
875
915
"type": "object"
876
916
},
877
917
"section": {
878
918
"description": "One section of a song: how long it is, and which loop each arranged sequencer plays for that long.",
879
919
"properties": {
880
920
"bars": {
881
921
"description": "How long this section is, in bars of the patch's time signature.",
882
922
"maximum": 64,
883
923
"minimum": 1,
884
924
"type": "integer"
885
925
},
886
926
"loops": {
887
927
"description": "Which loop each sequencer plays for this section. A sequencer wired to the arranger with no entry here rests for the section.",
888
928
"items": {
889
929
"ref": "#sectionLoop",
890
930
"type": "ref"
891
931
},
892
932
"maxLength": 64,
893
933
"type": "array"
894
934
},
895
935
"name": {
896
936
"description": "What the creator called this section. Optional permanently: a section that says nothing is called by its place.",
897
937
"maxGraphemes": 32,
898
938
"maxLength": 320,
899
939
"minLength": 1,
900
940
"type": "string"
901
941
}
902
942
},
903
943
"required": [
904
944
"bars"
905
945
],
906
946
"type": "object"
907
947
},
908
948
"sectionLoop": {
909
949
"properties": {
910
950
"instanceId": {
911
951
"description": "The sequencer, or the automation block.",
912
952
"maxLength": 64,
913
953
"minLength": 1,
914
954
"type": "string"
915
955
},
916
956
"loop": {
917
957
"description": "Which of the sequencer's loops it plays, counting the one its pattern writes first as zero, or which of the automation block's lanes. One it does not hold is played as its last.",
918
958
"maximum": 7,
919
959
"minimum": 0,
920
960
"type": "integer"
921
961
}
922
962
},
923
963
"required": [
924
964
"instanceId",
925
965
"loop"
926
966
],
927
967
"type": "object"
928
968
},
929
969
"song": {
930
970
"description": "An arranger's song: sections played one after another from its first beat. Each section starts every loop it names from that loop's first step, and lets go of whatever is still sounding when it ends, so a loop shorter than its section repeats and one longer is cut off.",
931
971
"properties": {
932
972
"end": {
933
973
"description": "What happens when the last section ends: `stop` leaves the sequencers it arranges silent, `loop` plays the song again from its first section, and `hold` keeps playing the last section. Optional permanently: absent is `stop`.",
934
974
"knownValues": [
935
975
"stop",
936
976
"loop",
937
977
"hold"
938
978
],
939
979
"type": "string"
940
980
},
941
981
"sections": {
942
982
"description": "The sections, in the order they are played.",
943
983
"items": {
944
984
"ref": "#section",
945
985
"type": "ref"
946
986
},
947
987
"maxLength": 64,
948
988
"type": "array"
949
989
}
950
990
},
951
991
"type": "object"
952
992
},
953
993
"timeSignature": {
954
994
"description": "A time signature as it is printed over a stave: how many beats one bar holds, over the note a beat is. The tempo counts quarter notes whatever the lower number is; what the two decide is how long a bar is, and so where every bar line falls.",
955
995
"properties": {
956
996
"denominator": {
957
997
"description": "The note a beat is: 2 a half, 4 a quarter, 8 an eighth, 16 a sixteenth. The lower number.",
958
998
"enum": [
959
999
2,
960
1000
4,
961
1001
8,
962
1002
16
963
1003
],
964
1004
"type": "integer"
965
1005
},
966
1006
"numerator": {
967
1007
"description": "How many beats one bar holds: the upper number.",
968
1008
"maximum": 32,
969
1009
"minimum": 1,
970
1010
"type": "integer"
971
1011
}
972
1012
},
973
1013
"required": [
974
1014
"numerator",
975
1015
"denominator"
976
1016
],
977
1017
"type": "object"
978
1018
}
979
1019
},
980
1020
"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.",
981
1021
"id": "at.atmosynth.patch",
982
1022
"lexicon": 1
983
1023
}