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