at.atmosynth.patch

atmosynth.at

Schema Diff

+111 -0

From

CID
bafyreig4xpqs4wb...
Indexed At
2026-09-22 12:16 UTC
View this version

To

CID
bafyreicuqb5sjlc...
Indexed At
2026-09-22 18:36 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

5 breaking changes, 31 non-breaking changes.

Breaking Changes (5)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#patternRoute", src: "at.atmosynth.patch#patternRoute", tgt: "at.atmosynth.patch#patternRoute.instanceId", kind: "prop", name: Some("instanceId") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#patternRoute", src: "at.atmosynth.patch#patternRoute", tgt: "at.atmosynth.patch#patternRoute.from", kind: "prop", name: Some("from") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#section", src: "at.atmosynth.patch#section", tgt: "at.atmosynth.patch#section.bars", kind: "prop", name: Some("bars") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#sectionLoop", src: "at.atmosynth.patch#sectionLoop", tgt: "at.atmosynth.patch#sectionLoop.loop", kind: "prop", name: Some("loop") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#sectionLoop", src: "at.atmosynth.patch#sectionLoop", tgt: "at.atmosynth.patch#sectionLoop.instanceId", kind: "prop", name: Some("instanceId") }
Non-Breaking Changes (31)
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.song" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#patternRoute" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#patternRoute.from" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#patternRoute.instanceId" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#section" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#section.bars" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#section.loops" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#section.loops:items" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#section.name" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#sectionLoop" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#sectionLoop.instanceId" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#sectionLoop.loop" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#song" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#song.end" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#song.sections" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#song.sections:items" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch:body.patternRouting" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch:body.patternRouting:items" }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.song", kind: "prop", name: Some("song") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance.song", tgt: "at.atmosynth.patch#song", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#section", tgt: "at.atmosynth.patch#section.loops", kind: "prop", name: Some("loops") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#section", tgt: "at.atmosynth.patch#section.name", kind: "prop", name: Some("name") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#section.loops", tgt: "at.atmosynth.patch#section.loops:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#section.loops:items", tgt: "at.atmosynth.patch#sectionLoop", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#song", tgt: "at.atmosynth.patch#song.end", kind: "prop", name: Some("end") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#song", tgt: "at.atmosynth.patch#song.sections", kind: "prop", name: Some("sections") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#song.sections", tgt: "at.atmosynth.patch#song.sections:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#song.sections:items", tgt: "at.atmosynth.patch#section", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch:body", tgt: "at.atmosynth.patch:body.patternRouting", kind: "prop", name: Some("patternRouting") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch:body.patternRouting", tgt: "at.atmosynth.patch:body.patternRouting:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch:body.patternRouting:items", tgt: "at.atmosynth.patch#patternRoute", kind: "ref", name: None }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.song" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#patternRoute" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#patternRoute.from" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#patternRoute.instanceId" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#section" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#section.bars" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#section.loops" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#section.loops:items" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#section.name" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#sectionLoop" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#sectionLoop.instanceId" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#sectionLoop.loop" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#song" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#song.end" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#song.sections" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#song.sections:items" }
  • AddedVertex { vertex_id: "at.atmosynth.patch:body.patternRouting" }
  • AddedVertex { vertex_id: "at.atmosynth.patch:body.patternRouting:items" }

Additional Notes

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

Compare Other Versions

Lexicon Garden

@