at.atmosynth.patch

atmosynth.at

Schema Diff

+236 -11

From

CID
bafyreihksnunw6m...
Indexed At
2026-09-01 18:21 UTC
View this version

To

CID
bafyreifji7cddam...
Indexed At
2026-09-18 11:56 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

11 breaking changes, 65 non-breaking changes.

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

Compare Other Versions

Lexicon Garden

@