at.atmosynth.patch

atmosynth.at

Schema Diff

+7 -0

From

CID
bafyreicmogdgg4j...
Indexed At
2026-09-23 07:51 UTC
View this version

To

CID
bafyreiaokldh7sz...
Indexed At
2026-09-23 12:04 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 2 non-breaking changes.

Non-Breaking Changes (2)
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.name" }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.name", kind: "prop", name: Some("name") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.name" }

Additional Notes

  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.name", kind: "prop", name: Some("name") }
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 8
          "description": "How long this loop is, in bars of four beats.",
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 28
        }
29 29
      },
30 30
      "required": [
31 31
        "bars"
32 32
      ],
33 33
      "type": "object"
34 34
    },
35 35
    "connection": {
36 36
      "description": "An audio connection between two module instances, naming the declared ports at each end.",
37 37
      "properties": {
38 38
        "from": {
39 39
          "ref": "#outputRef",
40 40
          "type": "ref"
41 41
        },
42 42
        "to": {
43 43
          "ref": "#inputRef",
44 44
          "type": "ref"
45 45
        }
46 46
      },
47 47
      "required": [
48 48
        "from",
49 49
        "to"
50 50
      ],
51 51
      "type": "object"
52 52
    },
53 53
    "glide": {
54 54
      "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 55
      "properties": {
56 56
        "fromLast": {
57 57
          "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 58
          "type": "boolean"
59 59
        },
60 60
        "ms": {
61 61
          "description": "How long a note takes to reach the next, in milliseconds.",
62 62
          "maximum": 5000,
63 63
          "minimum": 1,
64 64
          "type": "integer"
65 65
        },
66 66
        "rate": {
67 67
          "description": "Or: how long, as a note value at the tempo. The same vocabulary the grid is written in.",
68 68
          "knownValues": [
69 69
            "bar",
70 70
            "1/2",
71 71
            "1/4",
72 72
            "1/8",
73 73
            "1/16",
74 74
            "1/32",
75 75
            "1/64",
76 76
            "1/128"
77 77
          ],
78 78
          "type": "string"
79 79
        }
80 80
      },
81 81
      "type": "object"
82 82
    },
83 83
    "inputRef": {
84 84
      "properties": {
85 85
        "audioInput": {
86 86
          "maxLength": 64,
87 87
          "minLength": 1,
88 88
          "type": "string"
89 89
        },
90 90
        "instanceId": {
91 91
          "maxLength": 64,
92 92
          "minLength": 1,
93 93
          "type": "string"
94 94
        }
95 95
      },
96 96
      "required": [
97 97
        "instanceId",
98 98
        "audioInput"
99 99
      ],
100 100
      "type": "object"
101 101
    },
102 102
    "inputRoute": {
103 103
      "description": "One note source wired into a sequencer's input. Notes arriving there are what the sequencer records, and what it passes on to the instances it plays unless its instance says `thru: false`.",
104 104
      "properties": {
105 105
        "from": {
106 106
          "description": "The note output these notes leave: a keyboard's, or another sequencer's.",
107 107
          "ref": "#noteOutputRef",
108 108
          "type": "ref"
109 109
        },
110 110
        "instanceId": {
111 111
          "description": "The sequencer, at its input.",
112 112
          "maxLength": 64,
113 113
          "minLength": 1,
114 114
          "type": "string"
115 115
        }
116 116
      },
117 117
      "required": [
118 118
        "from",
119 119
        "instanceId"
120 120
      ],
121 121
      "type": "object"
122 122
    },
123 123
    "lineage": {
124 124
      "description": "The patch this one was forked from, and its creator. Preserved even when the source is later deleted.",
125 125
      "properties": {
126 126
        "creatorDid": {
127 127
          "format": "did",
128 128
          "type": "string"
129 129
        },
130 130
        "patchId": {
131 131
          "maxLength": 128,
132 132
          "type": "string"
133 133
        },
134 134
        "uri": {
135 135
          "format": "at-uri",
136 136
          "type": "string"
137 137
        }
138 138
      },
139 139
      "required": [
140 140
        "uri",
141 141
        "creatorDid"
142 142
      ],
143 143
      "type": "object"
144 144
    },
145 145
    "main": {
146 146
      "description": "A patch, held in its creator's own repository.",
147 147
      "key": "tid",
148 148
      "record": {
149 149
        "properties": {
150 150
          "connections": {
151 151
            "items": {
152 152
              "ref": "#connection",
153 153
              "type": "ref"
154 154
            },
155 155
            "type": "array"
156 156
          },
157 157
          "createdAt": {
158 158
            "format": "datetime",
159 159
            "type": "string"
160 160
          },
161 161
          "description": {
162 162
            "maxLength": 3000,
163 163
            "type": "string"
164 164
          },
165 165
          "descriptionVersion": {
166 166
            "description": "Version of the patch description this record follows.",
167 167
            "minimum": 1,
168 168
            "type": "integer"
169 169
          },
170 170
          "forkedFrom": {
171 171
            "ref": "#lineage",
172 172
            "type": "ref"
173 173
          },
174 174
          "inputRouting": {
175 175
            "description": "What reaches each sequencer's own input: which note sources it hears, to record from and — unless it says otherwise (`thru`) — to pass on to whatever it plays. A sequencer with nothing wired here records nothing. Optional permanently: a patch that says nothing has nothing wired into any sequencer, which is what every patch written before the input existed says.",
176 176
            "items": {
177 177
              "ref": "#inputRoute",
178 178
              "type": "ref"
179 179
            },
180 180
            "type": "array"
181 181
          },
182 182
          "midiRouting": {
183 183
            "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.",
184 184
            "items": {
185 185
              "ref": "#midiRoute",
186 186
              "type": "ref"
187 187
            },
188 188
            "type": "array"
189 189
          },
190 190
          "moduleInstances": {
191 191
            "items": {
192 192
              "ref": "#moduleInstance",
193 193
              "type": "ref"
194 194
            },
195 195
            "type": "array"
196 196
          },
197 197
          "name": {
198 198
            "maxLength": 200,
199 199
            "minLength": 1,
200 200
            "type": "string"
201 201
          },
202 202
          "output": {
203 203
            "description": "Which instance reaches the audio output.",
204 204
            "ref": "#outputRef",
205 205
            "type": "ref"
206 206
          },
207 207
          "patternRouting": {
208 208
            "description": "The song plane: which sequencers each arranger chooses the loops of. A sequencer 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.",
209 209
            "items": {
210 210
              "ref": "#patternRoute",
211 211
              "type": "ref"
212 212
            },
213 213
            "type": "array"
214 214
          },
215 215
          "tags": {
216 216
            "description": "Freely created tags, lower-cased on write so one hashtag matches one set of patches.",
217 217
            "items": {
218 218
              "maxLength": 128,
219 219
              "type": "string"
220 220
            },
221 221
            "type": "array"
222 222
          },
223 223
          "tempo": {
224 224
            "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.",
225 225
            "maximum": 300,
226 226
            "minimum": 20,
227 227
            "type": "integer"
228 228
          },
229 229
          "types": {
230 230
            "description": "Zero or more of the ten fixed types. A patch may carry several.",
231 231
            "items": {
232 232
              "knownValues": [
233 233
                "Lead",
234 234
                "Pad",
235 235
                "Bass",
236 236
                "Plucked",
237 237
                "Percussion",
238 238
                "Keys",
239 239
                "Brass",
240 240
                "Strings",
241 241
                "Vocal",
242 242
                "SFX"
243 243
              ],
244 244
              "type": "string"
245 245
            },
246 246
            "type": "array"
247 247
          }
248 248
        },
249 249
        "required": [
250 250
          "descriptionVersion",
251 251
          "name",
252 252
          "description",
253 253
          "moduleInstances",
254 254
          "createdAt"
255 255
        ],
256 256
        "type": "object"
257 257
      },
258 258
      "type": "record"
259 259
    },
260 260
    "midiControl": {
261 261
      "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.",
262 262
      "properties": {
263 263
        "controller": {
264 264
          "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.",
265 265
          "maximum": 127,
266 266
          "minimum": 0,
267 267
          "type": "integer"
268 268
        },
269 269
        "parameter": {
270 270
          "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.",
271 271
          "maxLength": 64,
272 272
          "minLength": 1,
273 273
          "type": "string"
274 274
        }
275 275
      },
276 276
      "required": [
277 277
        "parameter",
278 278
        "controller"
279 279
      ],
280 280
      "type": "object"
281 281
    },
282 282
    "midiRoute": {
283 283
      "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.",
284 284
      "properties": {
285 285
        "from": {
286 286
          "description": "The note output these notes leave. Absent where they come from the player.",
287 287
          "ref": "#noteOutputRef",
288 288
          "type": "ref"
289 289
        },
290 290
        "instanceId": {
291 291
          "maxLength": 64,
292 292
          "minLength": 1,
293 293
          "type": "string"
294 294
        },
295 295
        "midiInput": {
296 296
          "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.",
297 297
          "maxLength": 64,
298 298
          "minLength": 1,
299 299
          "type": "string"
300 300
        }
301 301
      },
302 302
      "required": [
303 303
        "instanceId",
304 304
        "midiInput"
305 305
      ],
306 306
      "type": "object"
307 307
    },
308 308
    "moduleInstance": {
309 309
      "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.",
310 310
      "properties": {
311 311
        "enabled": {
312 312
          "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.",
313 313
          "type": "boolean"
314 314
        },
315 315
        "glide": {
316 316
          "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.",
317 317
          "ref": "#glide",
318 318
          "type": "ref"
319 319
        },
320 320
        "instanceId": {
321 321
          "maxLength": 64,
322 322
          "minLength": 1,
323 323
          "type": "string"
324 324
        },
325 325
        "midiControls": {
326 326
          "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.",
327 327
          "items": {
328 328
            "ref": "#midiControl",
329 329
            "type": "ref"
330 330
          },
331 331
          "type": "array"
332 332
        },
333 333
        "module": {
334 334
          "ref": "#moduleRef",
335 335
          "type": "ref"
336 336
        },
337 +
        "name": {
338 +
          "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.",
339 +
          "maxGraphemes": 32,
340 +
          "maxLength": 320,
341 +
          "minLength": 1,
342 +
          "type": "string"
343 +
        },
337 344
        "notePattern": {
338 345
          "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.",
339 346
          "ref": "#notePattern",
340 347
          "type": "ref"
341 348
        },
342 349
        "parameterValues": {
343 350
          "items": {
344 351
            "ref": "#parameterValue",
345 352
            "type": "ref"
346 353
          },
347 354
          "type": "array"
348 355
        },
349 356
        "position": {
350 357
          "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.",
351 358
          "ref": "#position",
352 359
          "type": "ref"
353 360
        },
354 361
        "sampleSlotFills": {
355 362
          "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.",
356 363
          "items": {
357 364
            "ref": "#sampleSlotFill",
358 365
            "type": "ref"
359 366
          },
360 367
          "type": "array"
361 368
        },
362 369
        "song": {
363 370
          "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.",
364 371
          "ref": "#song",
365 372
          "type": "ref"
366 373
        },
367 374
        "thru": {
368 375
          "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.",
369 376
          "type": "boolean"
370 377
        },
371 378
        "unison": {
372 379
          "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.",
373 380
          "maximum": 6,
374 381
          "minimum": 1,
375 382
          "type": "integer"
376 383
        },
377 384
        "voiceScope": {
378 385
          "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.",
379 386
          "enum": [
380 387
            "perNote",
381 388
            "perPatch"
382 389
          ],
383 390
          "type": "string"
384 391
        }
385 392
      },
386 393
      "required": [
387 394
        "instanceId",
388 395
        "module",
389 396
        "voiceScope"
390 397
      ],
391 398
      "type": "object"
392 399
    },
393 400
    "moduleRef": {
394 401
      "description": "A pin to one exact published version of a module. Resolving it fetches that record, whoever authored it.",
395 402
      "properties": {
396 403
        "authorDid": {
397 404
          "format": "did",
398 405
          "type": "string"
399 406
        },
400 407
        "moduleId": {
401 408
          "maxLength": 128,
402 409
          "minLength": 1,
403 410
          "type": "string"
404 411
        },
405 412
        "versionKey": {
406 413
          "description": "The pinned version's record key, which is also the `versionKey` that version carries. A reader fetches the module record at this key.",
407 414
          "maxLength": 128,
408 415
          "minLength": 1,
409 416
          "type": "string"
410 417
        }
411 418
      },
412 419
      "required": [
413 420
        "moduleId",
414 421
        "versionKey",
415 422
        "authorDid"
416 423
      ],
417 424
      "type": "object"
418 425
    },
419 426
    "noteEvent": {
420 427
      "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.",
421 428
      "properties": {
422 429
        "at": {
423 430
          "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.",
424 431
          "minimum": 0,
425 432
          "type": "integer"
426 433
        },
427 434
        "hold": {
428 435
          "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.",
429 436
          "minimum": 1,
430 437
          "type": "integer"
431 438
        },
432 439
        "length": {
433 440
          "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.",
434 441
          "minimum": 1,
435 442
          "type": "integer"
436 443
        },
437 444
        "note": {
438 445
          "description": "The MIDI note number. 60 is middle C.",
439 446
          "maximum": 127,
440 447
          "minimum": 0,
441 448
          "type": "integer"
442 449
        },
443 450
        "probability": {
444 451
          "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.",
445 452
          "maximum": 100,
446 453
          "minimum": 1,
447 454
          "type": "integer"
448 455
        },
449 456
        "step": {
450 457
          "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.",
451 458
          "minimum": 0,
452 459
          "type": "integer"
453 460
        },
454 461
        "velocity": {
455 462
          "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.",
456 463
          "maximum": 127,
457 464
          "minimum": 1,
458 465
          "type": "integer"
459 466
        }
460 467
      },
461 468
      "required": [
462 469
        "note"
463 470
      ],
464 471
      "type": "object"
465 472
    },
466 473
    "noteOutputRef": {
467 474
      "properties": {
468 475
        "instanceId": {
469 476
          "maxLength": 64,
470 477
          "minLength": 1,
471 478
          "type": "string"
472 479
        },
473 480
        "noteOutput": {
474 481
          "maxLength": 64,
475 482
          "minLength": 1,
476 483
          "type": "string"
477 484
        }
478 485
      },
479 486
      "required": [
480 487
        "instanceId",
481 488
        "noteOutput"
482 489
      ],
483 490
      "type": "object"
484 491
    },
485 492
    "notePattern": {
486 493
      "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.",
487 494
      "properties": {
488 495
        "active": {
489 496
          "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.",
490 497
          "minimum": 0,
491 498
          "type": "integer"
492 499
        },
493 500
        "alternates": {
494 501
          "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.",
495 502
          "items": {
496 503
            "ref": "#alternatePattern",
497 504
            "type": "ref"
498 505
          },
499 506
          "maxLength": 7,
500 507
          "type": "array"
501 508
        },
502 509
        "bars": {
503 510
          "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.",
504 511
          "maximum": 8,
505 512
          "minimum": 1,
506 513
          "type": "integer"
507 514
        },
508 515
        "events": {
509 516
          "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.",
510 517
          "items": {
511 518
            "ref": "#noteEvent",
512 519
            "type": "ref"
513 520
          },
514 521
          "maxLength": 2048,
515 522
          "type": "array"
516 523
        },
517 524
        "name": {
518 525
          "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.",
519 526
          "maxGraphemes": 32,
520 527
          "maxLength": 320,
521 528
          "minLength": 1,
522 529
          "type": "string"
523 530
        },
524 531
        "resolution": {
525 532
          "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.",
526 533
          "ref": "#resolution",
527 534
          "type": "ref"
528 535
        }
529 536
      },
530 537
      "required": [
531 538
        "bars",
532 539
        "resolution"
533 540
      ],
534 541
      "type": "object"
535 542
    },
536 543
    "outputRef": {
537 544
      "properties": {
538 545
        "audioOutput": {
539 546
          "maxLength": 64,
540 547
          "minLength": 1,
541 548
          "type": "string"
542 549
        },
543 550
        "instanceId": {
544 551
          "maxLength": 64,
545 552
          "minLength": 1,
546 553
          "type": "string"
547 554
        }
548 555
      },
549 556
      "required": [
550 557
        "instanceId",
551 558
        "audioOutput"
552 559
      ],
553 560
      "type": "object"
554 561
    },
555 562
    "parameterValue": {
556 563
      "description": "A value for one of the module's exposed parameters, or an explicit fall-back to the module's declared default.",
557 564
      "properties": {
558 565
        "id": {
559 566
          "maxLength": 64,
560 567
          "minLength": 1,
561 568
          "type": "string"
562 569
        },
563 570
        "useDefault": {
564 571
          "description": "Set where the patch explicitly defers to the module's default rather than recording a value.",
565 572
          "type": "boolean"
566 573
        },
567 574
        "value": {
568 575
          "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.",
569 576
          "maxLength": 200,
570 577
          "type": "string"
571 578
        }
572 579
      },
573 580
      "required": [
574 581
        "id"
575 582
      ],
576 583
      "type": "object"
577 584
    },
578 585
    "patternRoute": {
579 586
      "description": "One sequencer whose loops an arranger chooses.",
580 587
      "properties": {
581 588
        "from": {
582 589
          "description": "The arranger.",
583 590
          "maxLength": 64,
584 591
          "minLength": 1,
585 592
          "type": "string"
586 593
        },
587 594
        "instanceId": {
588 595
          "description": "The sequencer, at its pattern input.",
589 596
          "maxLength": 64,
590 597
          "minLength": 1,
591 598
          "type": "string"
592 599
        }
593 600
      },
594 601
      "required": [
595 602
        "from",
596 603
        "instanceId"
597 604
      ],
598 605
      "type": "object"
599 606
    },
600 607
    "position": {
601 608
      "properties": {
602 609
        "x": {
603 610
          "type": "integer"
604 611
        },
605 612
        "y": {
606 613
          "type": "integer"
607 614
        }
608 615
      },
609 616
      "required": [
610 617
        "x",
611 618
        "y"
612 619
      ],
613 620
      "type": "object"
614 621
    },
615 622
    "resolution": {
616 623
      "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.",
617 624
      "properties": {
618 625
        "unit": {
619 626
          "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.",
620 627
          "knownValues": [
621 628
            "normal",
622 629
            "triplet"
623 630
          ],
624 631
          "type": "string"
625 632
        },
626 633
        "value": {
627 634
          "description": "The note value one step is worth. A bar is four beats.",
628 635
          "knownValues": [
629 636
            "bar",
630 637
            "1/2",
631 638
            "1/4",
632 639
            "1/8",
633 640
            "1/16",
634 641
            "1/32",
635 642
            "1/64",
636 643
            "1/128"
637 644
          ],
638 645
          "type": "string"
639 646
        }
640 647
      },
641 648
      "required": [
642 649
        "value"
643 650
      ],
644 651
      "type": "object"
645 652
    },
646 653
    "sampleSlotFill": {
647 654
      "properties": {
648 655
        "blob": {
649 656
          "accept": [
650 657
            "audio/wav"
651 658
          ],
652 659
          "maxSize": 2097152,
653 660
          "type": "blob"
654 661
        },
655 662
        "ownerDid": {
656 663
          "format": "did",
657 664
          "type": "string"
658 665
        },
659 666
        "slotId": {
660 667
          "maxLength": 64,
661 668
          "minLength": 1,
662 669
          "type": "string"
663 670
        }
664 671
      },
665 672
      "required": [
666 673
        "slotId",
667 674
        "blob",
668 675
        "ownerDid"
669 676
      ],
670 677
      "type": "object"
671 678
    },
672 679
    "section": {
673 680
      "description": "One section of a song: how long it is, and which loop each arranged sequencer plays for that long.",
674 681
      "properties": {
675 682
        "bars": {
676 683
          "description": "How long this section is, in bars of four beats.",
677 684
          "maximum": 64,
678 685
          "minimum": 1,
679 686
          "type": "integer"
680 687
        },
681 688
        "loops": {
682 689
          "description": "Which loop each sequencer plays for this section. A sequencer wired to the arranger with no entry here rests for the section.",
683 690
          "items": {
684 691
            "ref": "#sectionLoop",
685 692
            "type": "ref"
686 693
          },
687 694
          "maxLength": 64,
688 695
          "type": "array"
689 696
        },
690 697
        "name": {
691 698
          "description": "What the creator called this section. Optional permanently: a section that says nothing is called by its place.",
692 699
          "maxGraphemes": 32,
693 700
          "maxLength": 320,
694 701
          "minLength": 1,
695 702
          "type": "string"
696 703
        }
697 704
      },
698 705
      "required": [
699 706
        "bars"
700 707
      ],
701 708
      "type": "object"
702 709
    },
703 710
    "sectionLoop": {
704 711
      "properties": {
705 712
        "instanceId": {
706 713
          "description": "The sequencer.",
707 714
          "maxLength": 64,
708 715
          "minLength": 1,
709 716
          "type": "string"
710 717
        },
711 718
        "loop": {
712 719
          "description": "Which of the sequencer's loops it plays, counting the one its pattern writes first as zero. One it does not hold is played as its last.",
713 720
          "maximum": 7,
714 721
          "minimum": 0,
715 722
          "type": "integer"
716 723
        }
717 724
      },
718 725
      "required": [
719 726
        "instanceId",
720 727
        "loop"
721 728
      ],
722 729
      "type": "object"
723 730
    },
724 731
    "song": {
725 732
      "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.",
726 733
      "properties": {
727 734
        "end": {
728 735
          "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`.",
729 736
          "knownValues": [
730 737
            "stop",
731 738
            "loop",
732 739
            "hold"
733 740
          ],
734 741
          "type": "string"
735 742
        },
736 743
        "sections": {
737 744
          "description": "The sections, in the order they are played.",
738 745
          "items": {
739 746
            "ref": "#section",
740 747
            "type": "ref"
741 748
          },
742 749
          "maxLength": 64,
743 750
          "type": "array"
744 751
        }
745 752
      },
746 753
      "type": "object"
747 754
    }
748 755
  },
749 756
  "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.",
750 757
  "id": "at.atmosynth.patch",
751 758
  "lexicon": 1
752 759
}

Compare Other Versions

Lexicon Garden

@