at.atmosynth.patch

atmosynth.at

Schema Diff

+40 -5

From

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

To

CID
bafyreidnxsvz7ce...
Indexed At
2026-09-24 12:51 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 12 non-breaking changes.

Non-Breaking Changes (12)
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.assignedNote" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.noteRange" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.transpose" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteRange" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteRange.highest" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteRange.lowest" }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.assignedNote", kind: "prop", name: Some("assignedNote") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.noteRange", kind: "prop", name: Some("noteRange") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.transpose", kind: "prop", name: Some("transpose") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance.noteRange", tgt: "at.atmosynth.patch#noteRange", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#noteRange", tgt: "at.atmosynth.patch#noteRange.highest", kind: "prop", name: Some("highest") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#noteRange", tgt: "at.atmosynth.patch#noteRange.lowest", kind: "prop", name: Some("lowest") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.assignedNote" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.noteRange" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.transpose" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#noteRange" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#noteRange.highest" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#noteRange.lowest" }

Additional Notes

  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.assignedNote", kind: "prop", name: Some("assignedNote") }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.noteRange", kind: "prop", name: Some("noteRange") }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.transpose", kind: "prop", name: Some("transpose") }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance.noteRange", tgt: "at.atmosynth.patch#noteRange", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#noteRange", tgt: "at.atmosynth.patch#noteRange.highest", kind: "prop", name: Some("highest") }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#noteRange", tgt: "at.atmosynth.patch#noteRange.lowest", kind: "prop", name: Some("lowest") }
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 -
      "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`.",
103 +
      "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 104
      "properties": {
105 105
        "from": {
106 -
          "description": "The note output these notes leave: a keyboard's, or another sequencer's.",
106 +
          "description": "The note output these notes leave: a keyboard's, a sequencer's or a note range's.",
107 107
          "ref": "#noteOutputRef",
108 108
          "type": "ref"
109 109
        },
110 110
        "instanceId": {
111 -
          "description": "The sequencer, at its input.",
111 +
          "description": "The sequencer or the note range, 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 -
            "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.",
175 +
            "description": "What reaches the input of each sequencer, each note range, each transpose and each pitch assignment: 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`); and which a transpose or a pitch assignment hears, to pass on at another pitch (`transpose`, `assignedNote`). 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.",
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 +
        "assignedNote": {
312 +
          "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.",
313 +
          "maximum": 127,
314 +
          "minimum": 0,
315 +
          "type": "integer"
316 +
        },
311 317
        "enabled": {
312 318
          "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 319
          "type": "boolean"
314 320
        },
315 321
        "glide": {
316 322
          "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 323
          "ref": "#glide",
318 324
          "type": "ref"
319 325
        },
320 326
        "instanceId": {
321 327
          "maxLength": 64,
322 328
          "minLength": 1,
323 329
          "type": "string"
324 330
        },
325 331
        "midiControls": {
326 332
          "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 333
          "items": {
328 334
            "ref": "#midiControl",
329 335
            "type": "ref"
330 336
          },
331 337
          "type": "array"
332 338
        },
333 339
        "module": {
334 340
          "ref": "#moduleRef",
335 341
          "type": "ref"
336 342
        },
337 343
        "name": {
338 344
          "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 345
          "maxGraphemes": 32,
340 346
          "maxLength": 320,
341 347
          "minLength": 1,
342 348
          "type": "string"
343 349
        },
344 350
        "notePattern": {
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.",
351 +
          "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.",
346 352
          "ref": "#notePattern",
347 353
          "type": "ref"
348 354
        },
355 +
        "noteRange": {
356 +
          "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.",
357 +
          "ref": "#noteRange",
358 +
          "type": "ref"
359 +
        },
349 360
        "parameterValues": {
350 361
          "items": {
351 362
            "ref": "#parameterValue",
352 363
            "type": "ref"
353 364
          },
354 365
          "type": "array"
355 366
        },
356 367
        "position": {
357 368
          "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.",
358 369
          "ref": "#position",
359 370
          "type": "ref"
360 371
        },
361 372
        "sampleSlotFills": {
362 373
          "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.",
363 374
          "items": {
364 375
            "ref": "#sampleSlotFill",
365 376
            "type": "ref"
366 377
          },
367 378
          "type": "array"
368 379
        },
369 380
        "song": {
370 381
          "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.",
371 382
          "ref": "#song",
372 383
          "type": "ref"
373 384
        },
374 385
        "thru": {
375 386
          "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.",
376 387
          "type": "boolean"
377 388
        },
389 +
        "transpose": {
390 +
          "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.",
391 +
          "maximum": 127,
392 +
          "minimum": -127,
393 +
          "type": "integer"
394 +
        },
378 395
        "unison": {
379 396
          "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.",
380 397
          "maximum": 6,
381 398
          "minimum": 1,
382 399
          "type": "integer"
383 400
        },
384 401
        "voiceScope": {
385 402
          "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.",
386 403
          "enum": [
387 404
            "perNote",
388 405
            "perPatch"
389 406
          ],
390 407
          "type": "string"
391 408
        }
392 409
      },
393 410
      "required": [
394 411
        "instanceId",
395 412
        "module",
396 413
        "voiceScope"
397 414
      ],
398 415
      "type": "object"
399 416
    },
400 417
    "moduleRef": {
401 418
      "description": "A pin to one exact published version of a module. Resolving it fetches that record, whoever authored it.",
402 419
      "properties": {
403 420
        "authorDid": {
404 421
          "format": "did",
405 422
          "type": "string"
406 423
        },
407 424
        "moduleId": {
408 425
          "maxLength": 128,
409 426
          "minLength": 1,
410 427
          "type": "string"
411 428
        },
412 429
        "versionKey": {
413 430
          "description": "The pinned version's record key, which is also the `versionKey` that version carries. A reader fetches the module record at this key.",
414 431
          "maxLength": 128,
415 432
          "minLength": 1,
416 433
          "type": "string"
417 434
        }
418 435
      },
419 436
      "required": [
420 437
        "moduleId",
421 438
        "versionKey",
422 439
        "authorDid"
423 440
      ],
424 441
      "type": "object"
425 442
    },
426 443
    "noteEvent": {
427 444
      "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.",
428 445
      "properties": {
429 446
        "at": {
430 447
          "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.",
431 448
          "minimum": 0,
432 449
          "type": "integer"
433 450
        },
434 451
        "hold": {
435 452
          "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.",
436 453
          "minimum": 1,
437 454
          "type": "integer"
438 455
        },
439 456
        "length": {
440 457
          "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.",
441 458
          "minimum": 1,
442 459
          "type": "integer"
443 460
        },
444 461
        "note": {
445 462
          "description": "The MIDI note number. 60 is middle C.",
446 463
          "maximum": 127,
447 464
          "minimum": 0,
448 465
          "type": "integer"
449 466
        },
450 467
        "probability": {
451 468
          "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.",
452 469
          "maximum": 100,
453 470
          "minimum": 1,
454 471
          "type": "integer"
455 472
        },
456 473
        "step": {
457 474
          "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.",
458 475
          "minimum": 0,
459 476
          "type": "integer"
460 477
        },
461 478
        "velocity": {
462 479
          "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.",
463 480
          "maximum": 127,
464 481
          "minimum": 1,
465 482
          "type": "integer"
466 483
        }
467 484
      },
468 485
      "required": [
469 486
        "note"
470 487
      ],
471 488
      "type": "object"
472 489
    },
473 490
    "noteOutputRef": {
474 491
      "properties": {
475 492
        "instanceId": {
476 493
          "maxLength": 64,
477 494
          "minLength": 1,
478 495
          "type": "string"
479 496
        },
480 497
        "noteOutput": {
481 498
          "maxLength": 64,
482 499
          "minLength": 1,
483 500
          "type": "string"
484 501
        }
485 502
      },
486 503
      "required": [
487 504
        "instanceId",
488 505
        "noteOutput"
489 506
      ],
490 507
      "type": "object"
491 508
    },
492 509
    "notePattern": {
493 510
      "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.",
494 511
      "properties": {
495 512
        "active": {
496 513
          "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.",
497 514
          "minimum": 0,
498 515
          "type": "integer"
499 516
        },
500 517
        "alternates": {
501 518
          "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.",
502 519
          "items": {
503 520
            "ref": "#alternatePattern",
504 521
            "type": "ref"
505 522
          },
506 523
          "maxLength": 7,
507 524
          "type": "array"
508 525
        },
509 526
        "bars": {
510 527
          "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.",
511 528
          "maximum": 8,
512 529
          "minimum": 1,
513 530
          "type": "integer"
514 531
        },
515 532
        "events": {
516 533
          "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.",
517 534
          "items": {
518 535
            "ref": "#noteEvent",
519 536
            "type": "ref"
520 537
          },
521 538
          "maxLength": 2048,
522 539
          "type": "array"
523 540
        },
524 541
        "name": {
525 542
          "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.",
526 543
          "maxGraphemes": 32,
527 544
          "maxLength": 320,
528 545
          "minLength": 1,
529 546
          "type": "string"
530 547
        },
531 548
        "resolution": {
532 549
          "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.",
533 550
          "ref": "#resolution",
534 551
          "type": "ref"
535 552
        }
536 553
      },
537 554
      "required": [
538 555
        "bars",
539 556
        "resolution"
540 557
      ],
541 558
      "type": "object"
542 559
    },
560 +
    "noteRange": {
561 +
      "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.",
562 +
      "properties": {
563 +
        "highest": {
564 +
          "description": "The highest note passed on, at or above the lowest. Absent is the highest there is.",
565 +
          "maximum": 127,
566 +
          "minimum": 0,
567 +
          "type": "integer"
568 +
        },
569 +
        "lowest": {
570 +
          "description": "The lowest note passed on. Absent is the lowest there is.",
571 +
          "maximum": 127,
572 +
          "minimum": 0,
573 +
          "type": "integer"
574 +
        }
575 +
      },
576 +
      "type": "object"
577 +
    },
543 578
    "outputRef": {
544 579
      "properties": {
545 580
        "audioOutput": {
546 581
          "maxLength": 64,
547 582
          "minLength": 1,
548 583
          "type": "string"
549 584
        },
550 585
        "instanceId": {
551 586
          "maxLength": 64,
552 587
          "minLength": 1,
553 588
          "type": "string"
554 589
        }
555 590
      },
556 591
      "required": [
557 592
        "instanceId",
558 593
        "audioOutput"
559 594
      ],
560 595
      "type": "object"
561 596
    },
562 597
    "parameterValue": {
563 598
      "description": "A value for one of the module's exposed parameters, or an explicit fall-back to the module's declared default.",
564 599
      "properties": {
565 600
        "id": {
566 601
          "maxLength": 64,
567 602
          "minLength": 1,
568 603
          "type": "string"
569 604
        },
570 605
        "useDefault": {
571 606
          "description": "Set where the patch explicitly defers to the module's default rather than recording a value.",
572 607
          "type": "boolean"
573 608
        },
574 609
        "value": {
575 610
          "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.",
576 611
          "maxLength": 200,
577 612
          "type": "string"
578 613
        }
579 614
      },
580 615
      "required": [
581 616
        "id"
582 617
      ],
583 618
      "type": "object"
584 619
    },
585 620
    "patternRoute": {
586 621
      "description": "One sequencer whose loops an arranger chooses.",
587 622
      "properties": {
588 623
        "from": {
589 624
          "description": "The arranger.",
590 625
          "maxLength": 64,
591 626
          "minLength": 1,
592 627
          "type": "string"
593 628
        },
594 629
        "instanceId": {
595 630
          "description": "The sequencer, at its pattern input.",
596 631
          "maxLength": 64,
597 632
          "minLength": 1,
598 633
          "type": "string"
599 634
        }
600 635
      },
601 636
      "required": [
602 637
        "from",
603 638
        "instanceId"
604 639
      ],
605 640
      "type": "object"
606 641
    },
607 642
    "position": {
608 643
      "properties": {
609 644
        "x": {
610 645
          "type": "integer"
611 646
        },
612 647
        "y": {
613 648
          "type": "integer"
614 649
        }
615 650
      },
616 651
      "required": [
617 652
        "x",
618 653
        "y"
619 654
      ],
620 655
      "type": "object"
621 656
    },
622 657
    "resolution": {
623 658
      "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.",
624 659
      "properties": {
625 660
        "unit": {
626 661
          "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.",
627 662
          "knownValues": [
628 663
            "normal",
629 664
            "triplet"
630 665
          ],
631 666
          "type": "string"
632 667
        },
633 668
        "value": {
634 669
          "description": "The note value one step is worth. A bar is four beats.",
635 670
          "knownValues": [
636 671
            "bar",
637 672
            "1/2",
638 673
            "1/4",
639 674
            "1/8",
640 675
            "1/16",
641 676
            "1/32",
642 677
            "1/64",
643 678
            "1/128"
644 679
          ],
645 680
          "type": "string"
646 681
        }
647 682
      },
648 683
      "required": [
649 684
        "value"
650 685
      ],
651 686
      "type": "object"
652 687
    },
653 688
    "sampleSlotFill": {
654 689
      "properties": {
655 690
        "blob": {
656 691
          "accept": [
657 692
            "audio/wav"
658 693
          ],
659 694
          "maxSize": 2097152,
660 695
          "type": "blob"
661 696
        },
662 697
        "ownerDid": {
663 698
          "format": "did",
664 699
          "type": "string"
665 700
        },
666 701
        "slotId": {
667 702
          "maxLength": 64,
668 703
          "minLength": 1,
669 704
          "type": "string"
670 705
        }
671 706
      },
672 707
      "required": [
673 708
        "slotId",
674 709
        "blob",
675 710
        "ownerDid"
676 711
      ],
677 712
      "type": "object"
678 713
    },
679 714
    "section": {
680 715
      "description": "One section of a song: how long it is, and which loop each arranged sequencer plays for that long.",
681 716
      "properties": {
682 717
        "bars": {
683 718
          "description": "How long this section is, in bars of four beats.",
684 719
          "maximum": 64,
685 720
          "minimum": 1,
686 721
          "type": "integer"
687 722
        },
688 723
        "loops": {
689 724
          "description": "Which loop each sequencer plays for this section. A sequencer wired to the arranger with no entry here rests for the section.",
690 725
          "items": {
691 726
            "ref": "#sectionLoop",
692 727
            "type": "ref"
693 728
          },
694 729
          "maxLength": 64,
695 730
          "type": "array"
696 731
        },
697 732
        "name": {
698 733
          "description": "What the creator called this section. Optional permanently: a section that says nothing is called by its place.",
699 734
          "maxGraphemes": 32,
700 735
          "maxLength": 320,
701 736
          "minLength": 1,
702 737
          "type": "string"
703 738
        }
704 739
      },
705 740
      "required": [
706 741
        "bars"
707 742
      ],
708 743
      "type": "object"
709 744
    },
710 745
    "sectionLoop": {
711 746
      "properties": {
712 747
        "instanceId": {
713 748
          "description": "The sequencer.",
714 749
          "maxLength": 64,
715 750
          "minLength": 1,
716 751
          "type": "string"
717 752
        },
718 753
        "loop": {
719 754
          "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.",
720 755
          "maximum": 7,
721 756
          "minimum": 0,
722 757
          "type": "integer"
723 758
        }
724 759
      },
725 760
      "required": [
726 761
        "instanceId",
727 762
        "loop"
728 763
      ],
729 764
      "type": "object"
730 765
    },
731 766
    "song": {
732 767
      "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.",
733 768
      "properties": {
734 769
        "end": {
735 770
          "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`.",
736 771
          "knownValues": [
737 772
            "stop",
738 773
            "loop",
739 774
            "hold"
740 775
          ],
741 776
          "type": "string"
742 777
        },
743 778
        "sections": {
744 779
          "description": "The sections, in the order they are played.",
745 780
          "items": {
746 781
            "ref": "#section",
747 782
            "type": "ref"
748 783
          },
749 784
          "maxLength": 64,
750 785
          "type": "array"
751 786
        }
752 787
      },
753 788
      "type": "object"
754 789
    }
755 790
  },
756 791
  "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.",
757 792
  "id": "at.atmosynth.patch",
758 793
  "lexicon": 1
759 794
}

Compare Other Versions

Lexicon Garden

@