at.atmosynth.patch
Schema Diff
+224 -5
Compatibility Analysis
Breaking Changes Detected
11 breaking changes, 63 non-breaking changes.
Breaking Changes (11)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#moduleInstance", src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.voiceScope", kind: "prop", name: Some("voiceScope") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#noteOutputRef", src: "at.atmosynth.patch#noteOutputRef", tgt: "at.atmosynth.patch#noteOutputRef.instanceId", kind: "prop", name: Some("instanceId") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#noteOutputRef", src: "at.atmosynth.patch#noteOutputRef", tgt: "at.atmosynth.patch#noteOutputRef.noteOutput", kind: "prop", name: Some("noteOutput") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#alternatePattern", src: "at.atmosynth.patch#alternatePattern", tgt: "at.atmosynth.patch#alternatePattern.bars", kind: "prop", name: Some("bars") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#resolution", src: "at.atmosynth.patch#resolution", tgt: "at.atmosynth.patch#resolution.value", kind: "prop", name: Some("value") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#noteEvent", src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.note", kind: "prop", name: Some("note") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#notePattern", src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.bars", kind: "prop", name: Some("bars") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#notePattern", src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.resolution", kind: "prop", name: Some("resolution") }
- KindChanged KindChanged { vertex_id: "at.atmosynth.patch#parameterValue.value", old_kind: "unknown", new_kind: "string" }
- ConstraintAdded ConstraintAdded { vertex_id: "at.atmosynth.patch#moduleInstance.voiceScope", sort: "enum", value: "perNote,perPatch" }
- ConstraintAdded ConstraintAdded { vertex_id: "at.atmosynth.patch#parameterValue.value", sort: "maxLength", value: "200" }
Non-Breaking Changes (63)
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern.bars" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern.events" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern.events:items" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#glide" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#glide.fromLast" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#glide.ms" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#glide.rate" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#midiRoute.from" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.glide" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.notePattern" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.unison" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.at" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.hold" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.length" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.note" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.step" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.velocity" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteOutputRef" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteOutputRef.instanceId" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteOutputRef.noteOutput" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.active" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.alternates" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.alternates:items" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.bars" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.events" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.events:items" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.resolution" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#resolution" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#resolution.unit" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#resolution.value" }
- AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch:body.tempo" }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#alternatePattern", tgt: "at.atmosynth.patch#alternatePattern.events", kind: "prop", name: Some("events") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#alternatePattern.events", tgt: "at.atmosynth.patch#alternatePattern.events:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#alternatePattern.events:items", tgt: "at.atmosynth.patch#noteEvent", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.fromLast", kind: "prop", name: Some("fromLast") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.ms", kind: "prop", name: Some("ms") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.rate", kind: "prop", name: Some("rate") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#midiRoute", tgt: "at.atmosynth.patch#midiRoute.from", kind: "prop", name: Some("from") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#midiRoute.from", tgt: "at.atmosynth.patch#noteOutputRef", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.glide", kind: "prop", name: Some("glide") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.notePattern", kind: "prop", name: Some("notePattern") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.unison", kind: "prop", name: Some("unison") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance.glide", tgt: "at.atmosynth.patch#glide", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#moduleInstance.notePattern", tgt: "at.atmosynth.patch#notePattern", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.at", kind: "prop", name: Some("at") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.hold", kind: "prop", name: Some("hold") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.length", kind: "prop", name: Some("length") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.step", kind: "prop", name: Some("step") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.velocity", kind: "prop", name: Some("velocity") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.active", kind: "prop", name: Some("active") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.alternates", kind: "prop", name: Some("alternates") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.events", kind: "prop", name: Some("events") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#notePattern.alternates", tgt: "at.atmosynth.patch#notePattern.alternates:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#notePattern.alternates:items", tgt: "at.atmosynth.patch#alternatePattern", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#notePattern.events", tgt: "at.atmosynth.patch#notePattern.events:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#notePattern.events:items", tgt: "at.atmosynth.patch#noteEvent", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#notePattern.resolution", tgt: "at.atmosynth.patch#resolution", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "at.atmosynth.patch#resolution", tgt: "at.atmosynth.patch#resolution.unit", kind: "prop", name: Some("unit") }
- AddedEdge AddedEdge { src: "at.atmosynth.patch:body", tgt: "at.atmosynth.patch:body.tempo", kind: "prop", name: Some("tempo") }
- ConstraintRemoved ConstraintRemoved { vertex_id: "at.atmosynth.patch#moduleInstance.voiceScope", sort: "knownValues" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern" }AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern.bars" }AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern.events" }AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern.events:items" }AddedVertex { vertex_id: "at.atmosynth.patch#glide" }AddedVertex { vertex_id: "at.atmosynth.patch#glide.fromLast" }AddedVertex { vertex_id: "at.atmosynth.patch#glide.ms" }AddedVertex { vertex_id: "at.atmosynth.patch#glide.rate" }AddedVertex { vertex_id: "at.atmosynth.patch#midiRoute.from" }AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.glide" }AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.notePattern" }AddedVertex { vertex_id: "at.atmosynth.patch#moduleInstance.unison" }AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent" }AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.at" }AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.hold" }AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.length" }AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.note" }AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.step" }AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.velocity" }AddedVertex { vertex_id: "at.atmosynth.patch#noteOutputRef" }AddedVertex { vertex_id: "at.atmosynth.patch#noteOutputRef.instanceId" }AddedVertex { vertex_id: "at.atmosynth.patch#noteOutputRef.noteOutput" }AddedVertex { vertex_id: "at.atmosynth.patch#notePattern" }AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.active" }AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.alternates" }AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.alternates:items" }AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.bars" }AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.events" }AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.events:items" }AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.resolution" }AddedVertex { vertex_id: "at.atmosynth.patch#resolution" }AddedVertex { vertex_id: "at.atmosynth.patch#resolution.unit" }AddedVertex { vertex_id: "at.atmosynth.patch#resolution.value" }AddedVertex { vertex_id: "at.atmosynth.patch:body.tempo" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "at.atmosynth.patch#parameterValue.value", sort: "maxLength", value: "200" }
- ConstraintAdded ConstraintAdded { vertex_id: "at.atmosynth.patch#moduleInstance.voiceScope", sort: "enum", value: "perNote,perPatch" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "at.atmosynth.patch#moduleInstance.voiceScope", sort: "knownValues" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#resolution", src: "at.atmosynth.patch#resolution", tgt: "at.atmosynth.patch#resolution.value", kind: "prop", name: Some("value") }
- Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#noteOutputRef", src: "at.atmosynth.patch#noteOutputRef", tgt: "at.atmosynth.patch#noteOutputRef.instanceId", kind: "prop", name: Some("instanceId") }
- Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#noteOutputRef", src: "at.atmosynth.patch#noteOutputRef", tgt: "at.atmosynth.patch#noteOutputRef.noteOutput", kind: "prop", name: Some("noteOutput") }
- Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#alternatePattern", src: "at.atmosynth.patch#alternatePattern", tgt: "at.atmosynth.patch#alternatePattern.bars", kind: "prop", name: Some("bars") }
- Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#notePattern", src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.bars", kind: "prop", name: Some("bars") }
- Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#notePattern", src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.resolution", kind: "prop", name: Some("resolution") }
- Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#moduleInstance", src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.voiceScope", kind: "prop", name: Some("voiceScope") }
- Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#noteEvent", src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.note", kind: "prop", name: Some("note") }
- Breaking: KindChanged { vertex_id: "at.atmosynth.patch#parameterValue.value", old_kind: "unknown", new_kind: "string" }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#alternatePattern", tgt: "at.atmosynth.patch#alternatePattern.events", kind: "prop", name: Some("events") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#alternatePattern.events", tgt: "at.atmosynth.patch#alternatePattern.events:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#alternatePattern.events:items", tgt: "at.atmosynth.patch#noteEvent", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.fromLast", kind: "prop", name: Some("fromLast") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.ms", kind: "prop", name: Some("ms") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#glide", tgt: "at.atmosynth.patch#glide.rate", kind: "prop", name: Some("rate") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#midiRoute", tgt: "at.atmosynth.patch#midiRoute.from", kind: "prop", name: Some("from") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#midiRoute.from", tgt: "at.atmosynth.patch#noteOutputRef", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.glide", kind: "prop", name: Some("glide") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.notePattern", kind: "prop", name: Some("notePattern") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance", tgt: "at.atmosynth.patch#moduleInstance.unison", kind: "prop", name: Some("unison") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance.glide", tgt: "at.atmosynth.patch#glide", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#moduleInstance.notePattern", tgt: "at.atmosynth.patch#notePattern", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.at", kind: "prop", name: Some("at") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.hold", kind: "prop", name: Some("hold") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.length", kind: "prop", name: Some("length") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.step", kind: "prop", name: Some("step") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#noteEvent", tgt: "at.atmosynth.patch#noteEvent.velocity", kind: "prop", name: Some("velocity") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.active", kind: "prop", name: Some("active") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.alternates", kind: "prop", name: Some("alternates") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#notePattern", tgt: "at.atmosynth.patch#notePattern.events", kind: "prop", name: Some("events") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#notePattern.alternates", tgt: "at.atmosynth.patch#notePattern.alternates:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#notePattern.alternates:items", tgt: "at.atmosynth.patch#alternatePattern", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#notePattern.events", tgt: "at.atmosynth.patch#notePattern.events:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#notePattern.events:items", tgt: "at.atmosynth.patch#noteEvent", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#notePattern.resolution", tgt: "at.atmosynth.patch#resolution", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch#resolution", tgt: "at.atmosynth.patch#resolution.unit", kind: "prop", name: Some("unit") }
- Non-breaking: AddedEdge { src: "at.atmosynth.patch:body", tgt: "at.atmosynth.patch:body.tempo", kind: "prop", name: Some("tempo") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
+
"alternatePattern": {
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
+
"properties": {
7
+
"bars": {
8
+
"description": "How long this loop is, in bars of four beats.",
9
+
"maximum": 8,
10
+
"minimum": 1,
11
+
"type": "integer"
12
+
},
13
+
"events": {
14
+
"description": "The notes in this loop.",
15
+
"items": {
16
+
"ref": "#noteEvent",
17
+
"type": "ref"
18
+
},
19
+
"maxLength": 2048,
20
+
"type": "array"
21
+
}
22
+
},
23
+
"required": [
24
+
"bars"
25
+
],
26
+
"type": "object"
27
+
},
4
28
"connection": {
5
29
"description": "An audio connection between two module instances, naming the declared ports at each end.",
6
30
"properties": {
7
31
"from": {
8
32
"ref": "#outputRef",
9
33
"type": "ref"
10
34
},
11
35
"to": {
12
36
"ref": "#inputRef",
13
37
"type": "ref"
14
38
}
15
39
},
16
40
"required": [
17
41
"from",
18
42
"to"
19
43
],
20
44
"type": "object"
21
45
},
46
+
"glide": {
47
+
"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.",
48
+
"properties": {
49
+
"fromLast": {
50
+
"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.",
51
+
"type": "boolean"
52
+
},
53
+
"ms": {
54
+
"description": "How long a note takes to reach the next, in milliseconds.",
55
+
"maximum": 5000,
56
+
"minimum": 1,
57
+
"type": "integer"
58
+
},
59
+
"rate": {
60
+
"description": "Or: how long, as a note value at the tempo. The same vocabulary the grid is written in.",
61
+
"knownValues": [
62
+
"bar",
63
+
"1/2",
64
+
"1/4",
65
+
"1/8",
66
+
"1/16",
67
+
"1/32",
68
+
"1/64",
69
+
"1/128"
70
+
],
71
+
"type": "string"
72
+
}
73
+
},
74
+
"type": "object"
75
+
},
22
76
"inputRef": {
23
77
"properties": {
24
78
"audioInput": {
25
79
"maxLength": 64,
26
80
"minLength": 1,
27
81
"type": "string"
28
82
},
29
83
"instanceId": {
30
84
"maxLength": 64,
31
85
"minLength": 1,
32
86
"type": "string"
33
87
}
34
88
},
35
89
"required": [
36
90
"instanceId",
37
91
"audioInput"
38
92
],
39
93
"type": "object"
40
94
},
41
95
"lineage": {
42
96
"description": "The patch this one was forked from, and its creator. Preserved even when the source is later deleted.",
43
97
"properties": {
44
98
"creatorDid": {
45
99
"format": "did",
46
100
"type": "string"
47
101
},
48
102
"patchId": {
49
103
"maxLength": 128,
50
104
"type": "string"
51
105
},
52
106
"uri": {
53
107
"format": "at-uri",
54
108
"type": "string"
55
109
}
56
110
},
57
111
"required": [
58
112
"uri",
59
113
"creatorDid"
60
114
],
61
115
"type": "object"
62
116
},
63
117
"main": {
64
118
"description": "A patch, held in its creator's own repository.",
65
119
"key": "tid",
66
120
"record": {
67
121
"properties": {
68
122
"connections": {
69
123
"items": {
70
124
"ref": "#connection",
71
125
"type": "ref"
72
126
},
73
127
"type": "array"
74
128
},
75
129
"createdAt": {
76
130
"format": "datetime",
77
131
"type": "string"
78
132
},
79
133
"description": {
80
134
"maxLength": 3000,
81
135
"type": "string"
82
136
},
83
137
"descriptionVersion": {
84
138
"description": "Version of the patch description this record follows.",
85
139
"minimum": 1,
86
140
"type": "integer"
87
141
},
88
142
"forkedFrom": {
89
143
"ref": "#lineage",
90
144
"type": "ref"
91
145
},
92
146
"midiRouting": {
93
147
"description": "Which module instances receive MIDI input.",
94
148
"items": {
95
149
"ref": "#midiRoute",
96
150
"type": "ref"
97
151
},
98
152
"type": "array"
99
153
},
100
154
"moduleInstances": {
101
155
"items": {
102
156
"ref": "#moduleInstance",
103
157
"type": "ref"
104
158
},
105
159
"type": "array"
106
160
},
107
161
"name": {
108
162
"maxLength": 200,
109
163
"minLength": 1,
110
164
"type": "string"
111
165
},
112
166
"output": {
113
167
"description": "Which instance reaches the audio output.",
114
168
"ref": "#outputRef",
115
169
"type": "ref"
116
170
},
117
171
"tags": {
118
172
"description": "Freely created tags, lower-cased on write so one hashtag matches one set of patches.",
119
173
"items": {
120
174
"maxLength": 128,
121
175
"type": "string"
122
176
},
123
177
"type": "array"
124
178
},
179
+
"tempo": {
180
+
"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.",
181
+
"maximum": 300,
182
+
"minimum": 20,
183
+
"type": "integer"
184
+
},
125
185
"types": {
126
186
"description": "Zero or more of the ten fixed types. A patch may carry several.",
127
187
"items": {
128
188
"knownValues": [
129
189
"Lead",
130
190
"Pad",
131
191
"Bass",
132
192
"Plucked",
133
193
"Percussion",
134
194
"Keys",
135
195
"Brass",
136
196
"Strings",
137
197
"Vocal",
138
198
"SFX"
139
199
],
140
200
"type": "string"
141
201
},
142
202
"type": "array"
143
203
}
144
204
},
145
205
"required": [
146
206
"descriptionVersion",
147
207
"name",
148
208
"description",
149
209
"moduleInstances",
150
210
"createdAt"
151
211
],
152
212
"type": "object"
153
213
},
154
214
"type": "record"
155
215
},
156
216
"midiControl": {
157
217
"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.",
158
218
"properties": {
159
219
"controller": {
160
220
"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.",
161
221
"maximum": 127,
162
222
"minimum": 0,
163
223
"type": "integer"
164
224
},
165
225
"parameter": {
166
226
"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.",
167
227
"maxLength": 64,
168
228
"minLength": 1,
169
229
"type": "string"
170
230
}
171
231
},
172
232
"required": [
173
233
"parameter",
174
234
"controller"
175
235
],
176
236
"type": "object"
177
237
},
178
238
"midiRoute": {
239
+
"description": "Where one instance's notes come from. `instanceId` and `midiInput` name the MIDI input they arrive at; `from` names the note output they leave. **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.",
179
240
"properties": {
241
+
"from": {
242
+
"description": "The note output these notes leave. Absent where they come from the player.",
243
+
"ref": "#noteOutputRef",
244
+
"type": "ref"
245
+
},
180
246
"instanceId": {
181
247
"maxLength": 64,
182
248
"minLength": 1,
183
249
"type": "string"
184
250
},
185
251
"midiInput": {
186
252
"maxLength": 64,
187
253
"minLength": 1,
188
254
"type": "string"
189
255
}
190
256
},
191
257
"required": [
192
258
"instanceId",
193
259
"midiInput"
194
260
],
195
261
"type": "object"
196
262
},
197
263
"moduleInstance": {
198
264
"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.",
199
265
"properties": {
200
266
"enabled": {
201
267
"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.",
202
268
"type": "boolean"
203
269
},
270
+
"glide": {
271
+
"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.",
272
+
"ref": "#glide",
273
+
"type": "ref"
274
+
},
204
275
"instanceId": {
205
276
"maxLength": 64,
206
277
"minLength": 1,
207
278
"type": "string"
208
279
},
209
280
"midiControls": {
210
281
"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.",
211
282
"items": {
212
283
"ref": "#midiControl",
213
284
"type": "ref"
214
285
},
215
286
"type": "array"
216
287
},
217
288
"module": {
218
289
"ref": "#moduleRef",
219
290
"type": "ref"
220
291
},
292
+
"notePattern": {
293
+
"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.",
294
+
"ref": "#notePattern",
295
+
"type": "ref"
296
+
},
221
297
"parameterValues": {
222
298
"items": {
223
299
"ref": "#parameterValue",
224
300
"type": "ref"
225
301
},
226
302
"type": "array"
227
303
},
228
304
"position": {
229
305
"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.",
230
306
"ref": "#position",
231
307
"type": "ref"
232
308
},
233
309
"sampleSlotFills": {
234
310
"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.",
235
311
"items": {
236
312
"ref": "#sampleSlotFill",
237
313
"type": "ref"
238
314
},
239
315
"type": "array"
240
316
},
317
+
"unison": {
318
+
"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.",
319
+
"maximum": 6,
320
+
"minimum": 1,
321
+
"type": "integer"
322
+
},
241
323
"voiceScope": {
242
-
"description": "Whether this instance is built once for each sounding note or once for the whole patch. Optional permanently: an unset scope is worked out when the patch is played, and is never written on a creator's behalf.",
243
-
"knownValues": [
324
+
"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.",
325
+
"enum": [
244
326
"perNote",
245
327
"perPatch"
246
328
],
247
329
"type": "string"
248
330
}
249
331
},
250
332
"required": [
251
333
"instanceId",
252
-
"module"
334
+
"module",
335
+
"voiceScope"
253
336
],
254
337
"type": "object"
255
338
},
256
339
"moduleRef": {
257
340
"description": "A pin to one exact published version of a module. Resolving it fetches that record, whoever authored it.",
258
341
"properties": {
259
342
"authorDid": {
260
343
"format": "did",
261
344
"type": "string"
262
345
},
263
346
"moduleId": {
264
347
"maxLength": 128,
265
348
"minLength": 1,
266
349
"type": "string"
267
350
},
268
351
"versionKey": {
269
352
"maxLength": 128,
270
353
"minLength": 1,
271
354
"type": "string"
272
355
}
273
356
},
274
357
"required": [
275
358
"moduleId",
276
359
"versionKey",
277
360
"authorDid"
278
361
],
279
362
"type": "object"
280
363
},
364
+
"noteEvent": {
365
+
"description": "One note struck at one moment of the loop, held from it, and struck as hard 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.",
366
+
"properties": {
367
+
"at": {
368
+
"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.",
369
+
"minimum": 0,
370
+
"type": "integer"
371
+
},
372
+
"hold": {
373
+
"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.",
374
+
"minimum": 1,
375
+
"type": "integer"
376
+
},
377
+
"length": {
378
+
"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.",
379
+
"minimum": 1,
380
+
"type": "integer"
381
+
},
382
+
"note": {
383
+
"description": "The MIDI note number. 60 is middle C.",
384
+
"maximum": 127,
385
+
"minimum": 0,
386
+
"type": "integer"
387
+
},
388
+
"step": {
389
+
"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.",
390
+
"minimum": 0,
391
+
"type": "integer"
392
+
},
393
+
"velocity": {
394
+
"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.",
395
+
"maximum": 127,
396
+
"minimum": 1,
397
+
"type": "integer"
398
+
}
399
+
},
400
+
"required": [
401
+
"note"
402
+
],
403
+
"type": "object"
404
+
},
405
+
"noteOutputRef": {
406
+
"properties": {
407
+
"instanceId": {
408
+
"maxLength": 64,
409
+
"minLength": 1,
410
+
"type": "string"
411
+
},
412
+
"noteOutput": {
413
+
"maxLength": 64,
414
+
"minLength": 1,
415
+
"type": "string"
416
+
}
417
+
},
418
+
"required": [
419
+
"instanceId",
420
+
"noteOutput"
421
+
],
422
+
"type": "object"
423
+
},
424
+
"notePattern": {
425
+
"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.",
426
+
"properties": {
427
+
"active": {
428
+
"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.",
429
+
"minimum": 0,
430
+
"type": "integer"
431
+
},
432
+
"alternates": {
433
+
"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.",
434
+
"items": {
435
+
"ref": "#alternatePattern",
436
+
"type": "ref"
437
+
},
438
+
"maxLength": 7,
439
+
"type": "array"
440
+
},
441
+
"bars": {
442
+
"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.",
443
+
"maximum": 8,
444
+
"minimum": 1,
445
+
"type": "integer"
446
+
},
447
+
"events": {
448
+
"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.",
449
+
"items": {
450
+
"ref": "#noteEvent",
451
+
"type": "ref"
452
+
},
453
+
"maxLength": 2048,
454
+
"type": "array"
455
+
},
456
+
"resolution": {
457
+
"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.",
458
+
"ref": "#resolution",
459
+
"type": "ref"
460
+
}
461
+
},
462
+
"required": [
463
+
"bars",
464
+
"resolution"
465
+
],
466
+
"type": "object"
467
+
},
281
468
"outputRef": {
282
469
"properties": {
283
470
"audioOutput": {
284
471
"maxLength": 64,
285
472
"minLength": 1,
286
473
"type": "string"
287
474
},
288
475
"instanceId": {
289
476
"maxLength": 64,
290
477
"minLength": 1,
291
478
"type": "string"
292
479
}
293
480
},
294
481
"required": [
295
482
"instanceId",
296
483
"audioOutput"
297
484
],
298
485
"type": "object"
299
486
},
300
487
"parameterValue": {
301
488
"description": "A value for one of the module's exposed parameters, or an explicit fall-back to the module's declared default.",
302
489
"properties": {
303
490
"id": {
304
491
"maxLength": 64,
305
492
"minLength": 1,
306
493
"type": "string"
307
494
},
308
495
"useDefault": {
309
496
"description": "Set where the patch explicitly defers to the module's default rather than recording a value.",
310
497
"type": "boolean"
311
498
},
312
499
"value": {
313
-
"description": "The value this patch sets the parameter to. A number that is not a whole number is carried as its decimal string — \"0.5\", not 0.5 — because the ATproto data model has no floating-point type and a PDS refuses one. A whole number is an ordinary integer, and a reader turns such a string back into a number. 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.",
314
-
"type": "unknown"
500
+
"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.",
501
+
"maxLength": 200,
502
+
"type": "string"
315
503
}
316
504
},
317
505
"required": [
318
506
"id"
319
507
],
320
508
"type": "object"
321
509
},
322
510
"position": {
323
511
"properties": {
324
512
"x": {
325
513
"type": "integer"
326
514
},
327
515
"y": {
328
516
"type": "integer"
329
517
}
330
518
},
331
519
"required": [
332
520
"x",
333
521
"y"
334
522
],
335
523
"type": "object"
336
524
},
525
+
"resolution": {
526
+
"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.",
527
+
"properties": {
528
+
"unit": {
529
+
"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.",
530
+
"knownValues": [
531
+
"normal",
532
+
"triplet"
533
+
],
534
+
"type": "string"
535
+
},
536
+
"value": {
537
+
"description": "The note value one step is worth. A bar is four beats.",
538
+
"knownValues": [
539
+
"bar",
540
+
"1/2",
541
+
"1/4",
542
+
"1/8",
543
+
"1/16",
544
+
"1/32",
545
+
"1/64",
546
+
"1/128"
547
+
],
548
+
"type": "string"
549
+
}
550
+
},
551
+
"required": [
552
+
"value"
553
+
],
554
+
"type": "object"
555
+
},
337
556
"sampleSlotFill": {
338
557
"properties": {
339
558
"blob": {
340
559
"accept": [
341
560
"audio/wav"
342
561
],
343
562
"maxSize": 2097152,
344
563
"type": "blob"
345
564
},
346
565
"ownerDid": {
347
566
"format": "did",
348
567
"type": "string"
349
568
},
350
569
"slotId": {
351
570
"maxLength": 64,
352
571
"minLength": 1,
353
572
"type": "string"
354
573
}
355
574
},
356
575
"required": [
357
576
"slotId",
358
577
"blob",
359
578
"ownerDid"
360
579
],
361
580
"type": "object"
362
581
}
363
582
},
364
583
"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.",
365
584
"id": "at.atmosynth.patch",
366
585
"lexicon": 1
367
586
}