at.atmosynth.patch

atmosynth.at

Schema Diff

+330 -20

From

CID
bafyreibgn42564h...
Indexed At
2026-09-28 20:02 UTC
View this version

To

CID
bafyreicrguzej2z...
Indexed At
2026-10-08 17:25 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

20 breaking changes, 88 non-breaking changes.

Breaking Changes (20)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuning", src: "at.atmosynth.patch#tuning", tgt: "at.atmosynth.patch#tuning.degrees", kind: "prop", name: Some("degrees") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#lane", src: "at.atmosynth.patch#lane", tgt: "at.atmosynth.patch#lane.bars", kind: "prop", name: Some("bars") }
  • 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#bendPoint", src: "at.atmosynth.patch#bendPoint", tgt: "at.atmosynth.patch#bendPoint.at", kind: "prop", name: Some("at") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#bendPoint", src: "at.atmosynth.patch#bendPoint", tgt: "at.atmosynth.patch#bendPoint.value", kind: "prop", name: Some("value") }
  • 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#swing", src: "at.atmosynth.patch#swing", tgt: "at.atmosynth.patch#swing.amount", kind: "prop", name: Some("amount") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#swing", src: "at.atmosynth.patch#swing", tgt: "at.atmosynth.patch#swing.value", kind: "prop", name: Some("value") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.first", kind: "prop", name: Some("first") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.middle", kind: "prop", name: Some("middle") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.size", kind: "prop", name: Some("size") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.periodDegree", kind: "prop", name: Some("periodDegree") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.reference", kind: "prop", name: Some("reference") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.last", kind: "prop", name: Some("last") }
  • 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 (88)
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern.sixteenths" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#alternatePattern.swing" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#bendPoint" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#bendPoint.at" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#bendPoint.value" }
  • 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#noteEvent.bend" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.bend:items" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.sixteenths" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.swing" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#sampleSlotFill.name" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#swing" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#swing.amount" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#swing.value" }
  • 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#tuning" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuning.degrees" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuning.degrees:items" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuning.keys" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuning.name" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.first" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.last" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.map" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.map:items" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.middle" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.periodDegree" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.reference" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.size" }
  • 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" }
  • AddedVertex AddedVertex { vertex_id: "at.atmosynth.patch:body.tuning" }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#alternatePattern", tgt: "at.atmosynth.patch#alternatePattern.sixteenths", kind: "prop", name: Some("sixteenths") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#alternatePattern", tgt: "at.atmosynth.patch#alternatePattern.swing", kind: "prop", name: Some("swing") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#alternatePattern.swing", tgt: "at.atmosynth.patch#swing", kind: "ref", name: None }
  • 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.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#noteEvent", tgt: "at.atmosynth.patch#noteEvent.bend", kind: "prop", name: Some("bend") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#noteEvent.bend", tgt: "at.atmosynth.patch#noteEvent.bend:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#noteEvent.bend:items", tgt: "at.atmosynth.patch#bendPoint", 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#notePattern", tgt: "at.atmosynth.patch#notePattern.swing", kind: "prop", name: Some("swing") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#notePattern.swing", tgt: "at.atmosynth.patch#swing", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#sampleSlotFill", tgt: "at.atmosynth.patch#sampleSlotFill.name", kind: "prop", name: Some("name") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#tuning", tgt: "at.atmosynth.patch#tuning.keys", kind: "prop", name: Some("keys") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#tuning", tgt: "at.atmosynth.patch#tuning.name", kind: "prop", name: Some("name") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#tuning.degrees", tgt: "at.atmosynth.patch#tuning.degrees:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#tuning.keys", tgt: "at.atmosynth.patch#tuningKeys", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.map", kind: "prop", name: Some("map") }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch#tuningKeys.map", tgt: "at.atmosynth.patch#tuningKeys.map:items", kind: "items", name: None }
  • 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", tgt: "at.atmosynth.patch:body.tuning", kind: "prop", name: Some("tuning") }
  • 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 }
  • AddedEdge AddedEdge { src: "at.atmosynth.patch:body.tuning", tgt: "at.atmosynth.patch#tuning", 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#alternatePattern.swing" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#bendPoint" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#bendPoint.at" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#bendPoint.value" }
  • 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#noteEvent.bend" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#noteEvent.bend:items" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.sixteenths" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#notePattern.swing" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#sampleSlotFill.name" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#swing" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#swing.amount" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#swing.value" }
  • 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#tuning" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuning.degrees" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuning.degrees:items" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuning.keys" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuning.name" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.first" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.last" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.map" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.map:items" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.middle" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.periodDegree" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.reference" }
  • AddedVertex { vertex_id: "at.atmosynth.patch#tuningKeys.size" }
  • 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" }
  • AddedVertex { vertex_id: "at.atmosynth.patch:body.tuning" }

Additional Notes

  • 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: 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#bendPoint", src: "at.atmosynth.patch#bendPoint", tgt: "at.atmosynth.patch#bendPoint.at", kind: "prop", name: Some("at") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#bendPoint", src: "at.atmosynth.patch#bendPoint", tgt: "at.atmosynth.patch#bendPoint.value", kind: "prop", name: Some("value") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuning", src: "at.atmosynth.patch#tuning", tgt: "at.atmosynth.patch#tuning.degrees", kind: "prop", name: Some("degrees") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.first", kind: "prop", name: Some("first") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.middle", kind: "prop", name: Some("middle") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.size", kind: "prop", name: Some("size") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.periodDegree", kind: "prop", name: Some("periodDegree") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.reference", kind: "prop", name: Some("reference") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#tuningKeys", src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.last", kind: "prop", name: Some("last") }
  • 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#swing", src: "at.atmosynth.patch#swing", tgt: "at.atmosynth.patch#swing.amount", kind: "prop", name: Some("amount") }
  • Breaking: RequiredEdgeAdded { vertex_id: "at.atmosynth.patch#swing", src: "at.atmosynth.patch#swing", tgt: "at.atmosynth.patch#swing.value", kind: "prop", name: Some("value") }
  • 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#alternatePattern", tgt: "at.atmosynth.patch#alternatePattern.swing", kind: "prop", name: Some("swing") }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#alternatePattern.swing", tgt: "at.atmosynth.patch#swing", kind: "ref", name: None }
  • 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.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#noteEvent", tgt: "at.atmosynth.patch#noteEvent.bend", kind: "prop", name: Some("bend") }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#noteEvent.bend", tgt: "at.atmosynth.patch#noteEvent.bend:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#noteEvent.bend:items", tgt: "at.atmosynth.patch#bendPoint", 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#notePattern", tgt: "at.atmosynth.patch#notePattern.swing", kind: "prop", name: Some("swing") }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#notePattern.swing", tgt: "at.atmosynth.patch#swing", kind: "ref", name: None }
  • 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#tuning", tgt: "at.atmosynth.patch#tuning.keys", kind: "prop", name: Some("keys") }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#tuning", tgt: "at.atmosynth.patch#tuning.name", kind: "prop", name: Some("name") }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#tuning.degrees", tgt: "at.atmosynth.patch#tuning.degrees:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#tuning.keys", tgt: "at.atmosynth.patch#tuningKeys", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#tuningKeys", tgt: "at.atmosynth.patch#tuningKeys.map", kind: "prop", name: Some("map") }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch#tuningKeys.map", tgt: "at.atmosynth.patch#tuningKeys.map:items", kind: "items", name: None }
  • 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", tgt: "at.atmosynth.patch:body.tuning", kind: "prop", name: Some("tuning") }
  • 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 }
  • Non-breaking: AddedEdge { src: "at.atmosynth.patch:body.tuning", tgt: "at.atmosynth.patch#tuning", 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"
34 +
        },
35 +
        "swing": {
36 +
          "description": "How this loop swings. Each loop swings for itself. Optional permanently: a loop that says nothing is played straight.",
37 +
          "ref": "#swing",
38 +
          "type": "ref"
28 39
        }
29 40
      },
30 41
      "required": [
31 42
        "bars"
32 43
      ],
33 44
      "type": "object"
34 45
    },
46 +
    "bendPoint": {
47 +
      "description": "One point of a note's bend: how far from its pitch the note is at a moment of it.",
48 +
      "properties": {
49 +
        "at": {
50 +
          "description": "The tick of the note this point is at, counted from the note's own start at 96 ticks to the beat, so a phrase bent at one tempo is bent the same way at another.",
51 +
          "minimum": 0,
52 +
          "type": "integer"
53 +
        },
54 +
        "value": {
55 +
          "description": "How far the note is bent here, in semitones, from -96 to 96, written as its decimal text, as every number in this description that need not be whole is. Upwards is positive.",
56 +
          "type": "string"
57 +
        }
58 +
      },
59 +
      "required": [
60 +
        "at",
61 +
        "value"
62 +
      ],
63 +
      "type": "object"
64 +
    },
35 65
    "connection": {
36 66
      "description": "An audio connection between two module instances, naming the declared ports at each end.",
37 67
      "properties": {
38 68
        "from": {
39 69
          "ref": "#outputRef",
40 70
          "type": "ref"
41 71
        },
42 72
        "to": {
43 73
          "ref": "#inputRef",
44 74
          "type": "ref"
45 75
        }
46 76
      },
47 77
      "required": [
48 78
        "from",
49 79
        "to"
50 80
      ],
51 81
      "type": "object"
52 82
    },
53 83
    "glide": {
54 84
      "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 85
      "properties": {
56 86
        "fromLast": {
57 87
          "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 88
          "type": "boolean"
59 89
        },
60 90
        "ms": {
61 91
          "description": "How long a note takes to reach the next, in milliseconds.",
62 92
          "maximum": 5000,
63 93
          "minimum": 1,
64 94
          "type": "integer"
65 95
        },
66 96
        "rate": {
67 97
          "description": "Or: how long, as a note value at the tempo. The same vocabulary the grid is written in.",
68 98
          "knownValues": [
69 99
            "bar",
70 100
            "1/2",
71 101
            "1/4",
72 102
            "1/8",
73 103
            "1/16",
74 104
            "1/32",
75 105
            "1/64",
76 106
            "1/128"
77 107
          ],
78 108
          "type": "string"
79 109
        }
80 110
      },
81 111
      "type": "object"
82 112
    },
83 113
    "inputRef": {
84 114
      "properties": {
85 115
        "audioInput": {
86 116
          "maxLength": 64,
87 117
          "minLength": 1,
88 118
          "type": "string"
89 119
        },
90 120
        "instanceId": {
91 121
          "maxLength": 64,
92 122
          "minLength": 1,
93 123
          "type": "string"
94 124
        }
95 125
      },
96 126
      "required": [
97 127
        "instanceId",
98 128
        "audioInput"
99 129
      ],
100 130
      "type": "object"
101 131
    },
102 132
    "inputRoute": {
103 133
      "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 134
      "properties": {
105 135
        "from": {
106 136
          "description": "The note output these notes leave: a keyboard's, a sequencer's or a note range's.",
107 137
          "ref": "#noteOutputRef",
108 138
          "type": "ref"
109 139
        },
110 140
        "instanceId": {
111 141
          "description": "The sequencer or the note range, at its input.",
112 142
          "maxLength": 64,
113 143
          "minLength": 1,
114 144
          "type": "string"
115 145
        }
116 146
      },
117 147
      "required": [
118 148
        "from",
119 149
        "instanceId"
120 150
      ],
121 151
      "type": "object"
122 152
    },
153 +
    "lane": {
154 +
      "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.",
155 +
      "properties": {
156 +
        "bars": {
157 +
          "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.",
158 +
          "maximum": 64,
159 +
          "minimum": 1,
160 +
          "type": "integer"
161 +
        },
162 +
        "name": {
163 +
          "description": "What the creator called this lane. Optional permanently: a lane that says nothing is called by its place.",
164 +
          "maxGraphemes": 32,
165 +
          "maxLength": 320,
166 +
          "minLength": 1,
167 +
          "type": "string"
168 +
        },
169 +
        "points": {
170 +
          "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.",
171 +
          "items": {
172 +
            "ref": "#lanePoint",
173 +
            "type": "ref"
174 +
          },
175 +
          "maxLength": 512,
176 +
          "type": "array"
177 +
        },
178 +
        "resolution": {
179 +
          "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.",
180 +
          "ref": "#resolution",
181 +
          "type": "ref"
182 +
        },
183 +
        "sixteenths": {
184 +
          "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.",
185 +
          "maximum": 16384,
186 +
          "minimum": 1,
187 +
          "type": "integer"
188 +
        }
189 +
      },
190 +
      "required": [
191 +
        "bars"
192 +
      ],
193 +
      "type": "object"
194 +
    },
195 +
    "lanePoint": {
196 +
      "description": "One point of an automation lane: a value at a moment.",
197 +
      "properties": {
198 +
        "at": {
199 +
          "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.",
200 +
          "minimum": 0,
201 +
          "type": "integer"
202 +
        },
203 +
        "hold": {
204 +
          "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.",
205 +
          "type": "boolean"
206 +
        },
207 +
        "value": {
208 +
          "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.",
209 +
          "type": "string"
210 +
        }
211 +
      },
212 +
      "required": [
213 +
        "at",
214 +
        "value"
215 +
      ],
216 +
      "type": "object"
217 +
    },
123 218
    "lineage": {
124 -
      "description": "The patch this one was forked from, and its creator. Preserved even when the source is later deleted.",
219 +
      "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 220
      "properties": {
126 221
        "creatorDid": {
127 222
          "format": "did",
128 223
          "type": "string"
129 224
        },
130 225
        "patchId": {
131 226
          "maxLength": 128,
132 227
          "type": "string"
133 228
        },
229 +
        "relation": {
230 +
          "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.",
231 +
          "knownValues": [
232 +
            "fork",
233 +
            "import"
234 +
          ],
235 +
          "maxLength": 32,
236 +
          "type": "string"
237 +
        },
134 238
        "uri": {
135 239
          "format": "at-uri",
136 240
          "type": "string"
137 241
        }
138 242
      },
139 243
      "required": [
244 +
        "relation",
140 245
        "uri",
141 246
        "creatorDid"
142 247
      ],
143 248
      "type": "object"
144 249
    },
145 250
    "main": {
146 251
      "description": "A patch, held in its creator's own repository.",
147 252
      "key": "tid",
148 253
      "record": {
149 254
        "properties": {
255 +
          "concertPitch": {
256 +
            "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; under a `tuning` it anchors the tuning's reference key, which sounds where twelve-tone equal temperament puts it at this pitch. A sample is not retuned by it: 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.",
257 +
            "maxLength": 32,
258 +
            "type": "string"
259 +
          },
150 260
          "connections": {
151 261
            "items": {
152 262
              "ref": "#connection",
153 263
              "type": "ref"
154 264
            },
155 265
            "type": "array"
156 266
          },
157 267
          "createdAt": {
158 268
            "format": "datetime",
159 269
            "type": "string"
160 270
          },
161 271
          "description": {
162 272
            "maxLength": 3000,
163 273
            "type": "string"
164 274
          },
165 275
          "descriptionVersion": {
166 276
            "description": "Version of the patch description this record follows.",
167 277
            "minimum": 1,
168 278
            "type": "integer"
169 279
          },
170 -
          "forkedFrom": {
171 -
            "ref": "#lineage",
172 -
            "type": "ref"
173 -
          },
174 280
          "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.",
281 +
            "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 282
            "items": {
177 283
              "ref": "#inputRoute",
178 284
              "type": "ref"
179 285
            },
180 286
            "type": "array"
181 287
          },
288 +
          "lineage": {
289 +
            "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.",
290 +
            "items": {
291 +
              "ref": "#lineage",
292 +
              "type": "ref"
293 +
            },
294 +
            "maxLength": 64,
295 +
            "type": "array"
296 +
          },
182 297
          "midiRouting": {
183 298
            "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 299
            "items": {
185 300
              "ref": "#midiRoute",
186 301
              "type": "ref"
187 302
            },
188 303
            "type": "array"
189 304
          },
190 305
          "moduleInstances": {
191 306
            "items": {
192 307
              "ref": "#moduleInstance",
193 308
              "type": "ref"
194 309
            },
195 310
            "type": "array"
196 311
          },
197 312
          "name": {
198 313
            "maxLength": 200,
199 314
            "minLength": 1,
200 315
            "type": "string"
201 316
          },
202 317
          "output": {
203 318
            "description": "Which instance reaches the audio output.",
204 319
            "ref": "#outputRef",
205 320
            "type": "ref"
206 321
          },
207 322
          "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.",
323 +
            "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 324
            "items": {
210 325
              "ref": "#patternRoute",
211 326
              "type": "ref"
212 327
            },
213 328
            "type": "array"
214 329
          },
215 330
          "tags": {
216 331
            "description": "Freely created tags, lower-cased on write so one hashtag matches one set of patches.",
217 332
            "items": {
218 333
              "maxLength": 128,
219 334
              "type": "string"
220 335
            },
221 336
            "type": "array"
222 337
          },
223 338
          "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.",
339 +
            "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 340
            "maximum": 300,
226 341
            "minimum": 20,
227 342
            "type": "integer"
228 343
          },
344 +
          "timeSignature": {
345 +
            "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.",
346 +
            "ref": "#timeSignature",
347 +
            "type": "ref"
348 +
          },
349 +
          "tuning": {
350 +
            "description": "Which pitch each key of this patch sounds at, as a Scala .scl file and its .kbm key map say it. Every frequency a key is played at comes from it — an oscillator a module does not drive itself, a module's note signal, and a sample, which sounds at its key what an oscillator at that key would — and a pitch bend is applied after it, in twelve-tone semitones. The concert pitch is still the one frequency here: the tuning's reference key sounds where twelve-tone equal temperament puts it at the patch's concert pitch. A key the map sends nowhere sounds nothing. Optional permanently: a patch that says nothing is in twelve-tone equal temperament, which is what every patch written before the field existed says.",
351 +
            "ref": "#tuning",
352 +
            "type": "ref"
353 +
          },
229 354
          "types": {
230 355
            "description": "Zero or more of the ten fixed types. A patch may carry several.",
231 356
            "items": {
232 357
              "knownValues": [
233 358
                "Lead",
234 359
                "Pad",
235 360
                "Bass",
236 361
                "Plucked",
237 362
                "Percussion",
238 363
                "Keys",
239 364
                "Brass",
240 365
                "Strings",
241 366
                "Vocal",
242 367
                "SFX"
243 368
              ],
244 369
              "type": "string"
245 370
            },
246 371
            "type": "array"
247 372
          }
248 373
        },
249 374
        "required": [
250 375
          "descriptionVersion",
251 376
          "name",
252 377
          "description",
253 378
          "moduleInstances",
254 379
          "createdAt"
255 380
        ],
256 381
        "type": "object"
257 382
      },
258 383
      "type": "record"
259 384
    },
260 385
    "midiControl": {
261 386
      "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 387
      "properties": {
263 388
        "controller": {
264 389
          "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 390
          "maximum": 127,
266 391
          "minimum": 0,
267 392
          "type": "integer"
268 393
        },
269 394
        "from": {
270 395
          "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 396
          "maxLength": 200,
272 397
          "type": "string"
273 398
        },
274 399
        "parameter": {
275 400
          "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 401
          "maxLength": 64,
277 402
          "minLength": 1,
278 403
          "type": "string"
279 404
        },
280 405
        "to": {
281 406
          "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 407
          "maxLength": 200,
283 408
          "type": "string"
284 409
        }
285 410
      },
286 411
      "required": [
287 412
        "parameter",
288 413
        "controller"
289 414
      ],
290 415
      "type": "object"
291 416
    },
292 417
    "midiRoute": {
293 418
      "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 419
      "properties": {
295 420
        "from": {
296 421
          "description": "The note output these notes leave. Absent where they come from the player.",
297 422
          "ref": "#noteOutputRef",
298 423
          "type": "ref"
299 424
        },
300 425
        "instanceId": {
301 426
          "maxLength": 64,
302 427
          "minLength": 1,
303 428
          "type": "string"
304 429
        },
305 430
        "midiInput": {
306 431
          "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 432
          "maxLength": 64,
308 433
          "minLength": 1,
309 434
          "type": "string"
310 435
        }
311 436
      },
312 437
      "required": [
313 438
        "instanceId",
314 439
        "midiInput"
315 440
      ],
316 441
      "type": "object"
317 442
    },
318 443
    "moduleInstance": {
319 444
      "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 445
      "properties": {
321 446
        "assignedNote": {
322 447
          "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 448
          "maximum": 127,
324 449
          "minimum": 0,
325 450
          "type": "integer"
326 451
        },
327 452
        "enabled": {
328 453
          "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 454
          "type": "boolean"
330 455
        },
331 456
        "glide": {
332 457
          "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 458
          "ref": "#glide",
334 459
          "type": "ref"
335 460
        },
336 461
        "instanceId": {
337 462
          "maxLength": 64,
338 463
          "minLength": 1,
339 464
          "type": "string"
340 465
        },
466 +
        "lane": {
467 +
          "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.",
468 +
          "maximum": 7,
469 +
          "minimum": 0,
470 +
          "type": "integer"
471 +
        },
472 +
        "lanes": {
473 +
          "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.",
474 +
          "items": {
475 +
            "ref": "#lane",
476 +
            "type": "ref"
477 +
          },
478 +
          "maxLength": 8,
479 +
          "type": "array"
480 +
        },
341 481
        "midiControls": {
342 482
          "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 483
          "items": {
344 484
            "ref": "#midiControl",
345 485
            "type": "ref"
346 486
          },
347 487
          "type": "array"
348 488
        },
349 489
        "module": {
350 490
          "ref": "#moduleRef",
351 491
          "type": "ref"
352 492
        },
353 493
        "name": {
354 494
          "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 495
          "maxGraphemes": 32,
356 496
          "maxLength": 320,
357 497
          "minLength": 1,
358 498
          "type": "string"
359 499
        },
500 +
        "noteLength": {
501 +
          "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.",
502 +
          "maximum": 10000,
503 +
          "minimum": 1,
504 +
          "type": "integer"
505 +
        },
360 506
        "notePattern": {
361 507
          "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 508
          "ref": "#notePattern",
363 509
          "type": "ref"
364 510
        },
365 511
        "noteRange": {
366 512
          "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 513
          "ref": "#noteRange",
368 514
          "type": "ref"
369 515
        },
370 516
        "parameterValues": {
371 517
          "items": {
372 518
            "ref": "#parameterValue",
373 519
            "type": "ref"
374 520
          },
375 521
          "type": "array"
376 522
        },
377 523
        "position": {
378 524
          "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 525
          "ref": "#position",
380 526
          "type": "ref"
381 527
        },
382 528
        "sampleSlotFills": {
383 529
          "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 530
          "items": {
385 531
            "ref": "#sampleSlotFill",
386 532
            "type": "ref"
387 533
          },
388 534
          "type": "array"
389 535
        },
390 536
        "scene": {
391 537
          "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.",
392 538
          "maximum": 25,
393 539
          "minimum": 0,
394 540
          "type": "integer"
395 541
        },
396 542
        "sceneLaunch": {
397 543
          "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.",
398 544
          "ref": "#sceneLaunch",
399 545
          "type": "ref"
400 546
        },
401 547
        "scenes": {
402 548
          "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.",
403 549
          "items": {
404 550
            "ref": "#scene",
405 551
            "type": "ref"
406 552
          },
407 553
          "maxLength": 26,
408 554
          "type": "array"
409 555
        },
410 556
        "song": {
411 557
          "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.",
412 558
          "ref": "#song",
413 559
          "type": "ref"
414 560
        },
415 561
        "thru": {
416 562
          "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.",
417 563
          "type": "boolean"
418 564
        },
419 565
        "transpose": {
420 566
          "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.",
421 567
          "maximum": 127,
422 568
          "minimum": -127,
423 569
          "type": "integer"
424 570
        },
425 571
        "unison": {
426 572
          "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.",
427 573
          "maximum": 6,
428 574
          "minimum": 1,
429 575
          "type": "integer"
430 576
        },
431 577
        "voiceScope": {
432 578
          "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.",
433 579
          "enum": [
434 580
            "perNote",
435 581
            "perPatch"
436 582
          ],
437 583
          "type": "string"
438 584
        }
439 585
      },
440 586
      "required": [
441 587
        "instanceId",
442 588
        "module",
443 589
        "voiceScope"
444 590
      ],
445 591
      "type": "object"
446 592
    },
447 593
    "moduleRef": {
448 594
      "description": "A pin to one exact published version of a module. Resolving it fetches that record, whoever authored it.",
449 595
      "properties": {
450 596
        "authorDid": {
451 597
          "format": "did",
452 598
          "type": "string"
453 599
        },
454 600
        "moduleId": {
455 601
          "maxLength": 128,
456 602
          "minLength": 1,
457 603
          "type": "string"
458 604
        },
459 605
        "versionKey": {
460 606
          "description": "The pinned version's record key, which is also the `versionKey` that version carries. A reader fetches the module record at this key.",
461 607
          "maxLength": 128,
462 608
          "minLength": 1,
463 609
          "type": "string"
464 610
        }
465 611
      },
466 612
      "required": [
467 613
        "moduleId",
468 614
        "versionKey",
469 615
        "authorDid"
470 616
      ],
471 617
      "type": "object"
472 618
    },
473 619
    "noteEvent": {
474 620
      "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.",
475 621
      "properties": {
476 622
        "at": {
477 623
          "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.",
478 624
          "minimum": 0,
479 625
          "type": "integer"
480 626
        },
627 +
        "bend": {
628 +
          "description": "How this note is bent while it is held, as the hand that played it bent it with a wheel or a finger: points in order of `at`, one to a tick, joined by straight lines. Before the first point the note is at the first point's value and after the last it stays at the last's; nothing at or after `hold` is heard, since a note let go is bent no further. Optional permanently: a note that says nothing is played at the pitch it is written at, which is what every pattern written before a note could be bent says, and an unbent note writes no field.",
629 +
          "items": {
630 +
            "ref": "#bendPoint",
631 +
            "type": "ref"
632 +
          },
633 +
          "maxLength": 256,
634 +
          "type": "array"
635 +
        },
481 636
        "hold": {
482 -
          "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.",
637 +
          "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 next note of its own pitch, since the same pitch overlapping itself is one voice rather than two. The next is counted round the loop: a note may run past the loop's end and on into the next time round, as a key held over the end of the loop does, as far as the first note of its pitch there and never longer than the loop.",
483 638
          "minimum": 1,
484 639
          "type": "integer"
485 640
        },
486 641
        "length": {
487 642
          "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.",
488 643
          "minimum": 1,
489 644
          "type": "integer"
490 645
        },
491 646
        "note": {
492 647
          "description": "The MIDI note number. 60 is middle C.",
493 648
          "maximum": 127,
494 649
          "minimum": 0,
495 650
          "type": "integer"
496 651
        },
497 652
        "probability": {
498 653
          "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.",
499 654
          "maximum": 100,
500 655
          "minimum": 1,
501 656
          "type": "integer"
502 657
        },
503 658
        "step": {
504 659
          "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.",
505 660
          "minimum": 0,
506 661
          "type": "integer"
507 662
        },
508 663
        "velocity": {
509 664
          "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.",
510 665
          "maximum": 127,
511 666
          "minimum": 1,
512 667
          "type": "integer"
513 668
        }
514 669
      },
515 670
      "required": [
516 671
        "note"
517 672
      ],
518 673
      "type": "object"
519 674
    },
520 675
    "noteOutputRef": {
521 676
      "properties": {
522 677
        "instanceId": {
523 678
          "maxLength": 64,
524 679
          "minLength": 1,
525 680
          "type": "string"
526 681
        },
527 682
        "noteOutput": {
528 683
          "maxLength": 64,
529 684
          "minLength": 1,
530 685
          "type": "string"
531 686
        }
532 687
      },
533 688
      "required": [
534 689
        "instanceId",
535 690
        "noteOutput"
536 691
      ],
537 692
      "type": "object"
538 693
    },
539 694
    "notePattern": {
540 -
      "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.",
695 +
      "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.",
541 696
      "properties": {
542 697
        "active": {
543 698
          "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.",
544 699
          "minimum": 0,
545 700
          "type": "integer"
546 701
        },
547 702
        "alternates": {
548 703
          "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.",
549 704
          "items": {
550 705
            "ref": "#alternatePattern",
551 706
            "type": "ref"
552 707
          },
553 708
          "maxLength": 7,
554 709
          "type": "array"
555 710
        },
556 711
        "bars": {
557 -
          "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.",
712 +
          "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.",
558 713
          "maximum": 8,
559 714
          "minimum": 1,
560 715
          "type": "integer"
561 716
        },
562 717
        "events": {
563 718
          "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.",
564 719
          "items": {
565 720
            "ref": "#noteEvent",
566 721
            "type": "ref"
567 722
          },
568 723
          "maxLength": 2048,
569 724
          "type": "array"
570 725
        },
571 726
        "name": {
572 727
          "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.",
573 728
          "maxGraphemes": 32,
574 729
          "maxLength": 320,
575 730
          "minLength": 1,
576 731
          "type": "string"
577 732
        },
578 733
        "resolution": {
579 734
          "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.",
580 735
          "ref": "#resolution",
581 736
          "type": "ref"
737 +
        },
738 +
        "sixteenths": {
739 +
          "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.",
740 +
          "maximum": 2048,
741 +
          "minimum": 1,
742 +
          "type": "integer"
743 +
        },
744 +
        "swing": {
745 +
          "description": "How the first loop swings. Optional permanently: a loop that says nothing is played straight, which is what every loop written before a loop could swing says.",
746 +
          "ref": "#swing",
747 +
          "type": "ref"
582 748
        }
583 749
      },
584 750
      "required": [
585 751
        "bars",
586 752
        "resolution"
587 753
      ],
588 754
      "type": "object"
589 755
    },
590 756
    "noteRange": {
591 757
      "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.",
592 758
      "properties": {
593 759
        "highest": {
594 760
          "description": "The highest note passed on, at or above the lowest. Absent is the highest there is.",
595 761
          "maximum": 127,
596 762
          "minimum": 0,
597 763
          "type": "integer"
598 764
        },
599 765
        "lowest": {
600 766
          "description": "The lowest note passed on. Absent is the lowest there is.",
601 767
          "maximum": 127,
602 768
          "minimum": 0,
603 769
          "type": "integer"
604 770
        }
605 771
      },
606 772
      "type": "object"
607 773
    },
608 774
    "outputRef": {
609 775
      "properties": {
610 776
        "audioOutput": {
611 777
          "maxLength": 64,
612 778
          "minLength": 1,
613 779
          "type": "string"
614 780
        },
615 781
        "instanceId": {
616 782
          "maxLength": 64,
617 783
          "minLength": 1,
618 784
          "type": "string"
619 785
        }
620 786
      },
621 787
      "required": [
622 788
        "instanceId",
623 789
        "audioOutput"
624 790
      ],
625 791
      "type": "object"
626 792
    },
627 793
    "parameterValue": {
628 794
      "description": "A value for one of the module's exposed parameters, or an explicit fall-back to the module's declared default.",
629 795
      "properties": {
630 796
        "id": {
631 797
          "maxLength": 64,
632 798
          "minLength": 1,
633 799
          "type": "string"
634 800
        },
635 801
        "useDefault": {
636 802
          "description": "Set where the patch explicitly defers to the module's default rather than recording a value.",
637 803
          "type": "boolean"
638 804
        },
639 805
        "value": {
640 806
          "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.",
641 807
          "maxLength": 200,
642 808
          "type": "string"
643 809
        }
644 810
      },
645 811
      "required": [
646 812
        "id"
647 813
      ],
648 814
      "type": "object"
649 815
    },
650 816
    "patternRoute": {
651 -
      "description": "One sequencer whose loops an arranger or a scenes block chooses.",
817 +
      "description": "One sequencer whose loops, or one automation block whose lanes, an arranger or a scenes block chooses.",
652 818
      "properties": {
653 819
        "from": {
654 820
          "description": "The arranger, or the scenes block.",
655 821
          "maxLength": 64,
656 822
          "minLength": 1,
657 823
          "type": "string"
658 824
        },
659 825
        "instanceId": {
660 -
          "description": "The sequencer, at its pattern input.",
826 +
          "description": "The sequencer or automation block, at its pattern input.",
661 827
          "maxLength": 64,
662 828
          "minLength": 1,
663 829
          "type": "string"
664 830
        }
665 831
      },
666 832
      "required": [
667 833
        "from",
668 834
        "instanceId"
669 835
      ],
670 836
      "type": "object"
671 837
    },
672 838
    "position": {
673 839
      "properties": {
674 840
        "x": {
675 841
          "type": "integer"
676 842
        },
677 843
        "y": {
678 844
          "type": "integer"
679 845
        }
680 846
      },
681 847
      "required": [
682 848
        "x",
683 849
        "y"
684 850
      ],
685 851
      "type": "object"
686 852
    },
687 853
    "resolution": {
688 854
      "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.",
689 855
      "properties": {
690 856
        "unit": {
691 857
          "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.",
692 858
          "knownValues": [
693 859
            "normal",
694 860
            "triplet"
695 861
          ],
696 862
          "type": "string"
697 863
        },
698 864
        "value": {
699 -
          "description": "The note value one step is worth. A bar is four beats.",
865 +
          "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.",
700 866
          "knownValues": [
701 867
            "bar",
702 868
            "1/2",
703 869
            "1/4",
704 870
            "1/8",
705 871
            "1/16",
706 872
            "1/32",
707 873
            "1/64",
708 874
            "1/128"
709 875
          ],
710 876
          "type": "string"
711 877
        }
712 878
      },
713 879
      "required": [
714 880
        "value"
715 881
      ],
716 882
      "type": "object"
717 883
    },
718 884
    "sampleSlotFill": {
719 885
      "properties": {
720 886
        "blob": {
721 887
          "accept": [
722 888
            "audio/wav"
723 889
          ],
724 -
          "maxSize": 2097152,
890 +
          "maxSize": 10485760,
725 891
          "type": "blob"
726 892
        },
893 +
        "name": {
894 +
          "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.",
895 +
          "maxGraphemes": 32,
896 +
          "maxLength": 320,
897 +
          "minLength": 1,
898 +
          "type": "string"
899 +
        },
727 900
        "ownerDid": {
728 901
          "format": "did",
729 902
          "type": "string"
730 903
        },
731 904
        "slotId": {
732 905
          "maxLength": 64,
733 906
          "minLength": 1,
734 907
          "type": "string"
735 908
        }
736 909
      },
737 910
      "required": [
738 911
        "slotId",
739 912
        "blob",
740 913
        "ownerDid"
741 914
      ],
742 915
      "type": "object"
743 916
    },
744 917
    "scene": {
745 918
      "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.",
746 919
      "properties": {
747 920
        "loops": {
748 921
          "description": "Which loop each sequencer plays in this scene. A sequencer wired to the scenes block with no entry here rests while it plays.",
749 922
          "items": {
750 923
            "ref": "#sectionLoop",
751 924
            "type": "ref"
752 925
          },
753 926
          "maxLength": 64,
754 927
          "type": "array"
755 928
        },
756 929
        "name": {
757 930
          "description": "What the creator called this scene. Optional permanently: a scene that says nothing is called by its letter.",
758 931
          "maxGraphemes": 32,
759 932
          "maxLength": 320,
760 933
          "minLength": 1,
761 934
          "type": "string"
762 935
        }
763 936
      },
764 937
      "type": "object"
765 938
    },
766 939
    "sceneLaunch": {
767 940
      "description": "When a scene chosen takes over, and where its loops start.",
768 941
      "properties": {
769 942
        "quantize": {
770 -
          "description": "Where a scene chosen takes over: `none` at once, or on the next beat, bar, two bars or four bars, counted from the downbeat the loops count from. Optional permanently: absent is `bar`.",
943 +
          "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`.",
771 944
          "knownValues": [
772 945
            "none",
773 946
            "beat",
774 947
            "bar",
775 948
            "2bars",
776 949
            "4bars"
777 950
          ],
778 951
          "type": "string"
779 952
        },
780 953
        "restart": {
781 954
          "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.",
782 955
          "type": "boolean"
783 956
        }
784 957
      },
785 958
      "type": "object"
786 959
    },
787 960
    "section": {
788 961
      "description": "One section of a song: how long it is, and which loop each arranged sequencer plays for that long.",
789 962
      "properties": {
790 963
        "bars": {
791 -
          "description": "How long this section is, in bars of four beats.",
964 +
          "description": "How long this section is, in bars of the patch's time signature.",
792 965
          "maximum": 64,
793 966
          "minimum": 1,
794 967
          "type": "integer"
795 968
        },
796 969
        "loops": {
797 970
          "description": "Which loop each sequencer plays for this section. A sequencer wired to the arranger with no entry here rests for the section.",
798 971
          "items": {
799 972
            "ref": "#sectionLoop",
800 973
            "type": "ref"
801 974
          },
802 975
          "maxLength": 64,
803 976
          "type": "array"
804 977
        },
805 978
        "name": {
806 979
          "description": "What the creator called this section. Optional permanently: a section that says nothing is called by its place.",
807 980
          "maxGraphemes": 32,
808 981
          "maxLength": 320,
809 982
          "minLength": 1,
810 983
          "type": "string"
811 984
        }
812 985
      },
813 986
      "required": [
814 987
        "bars"
815 988
      ],
816 989
      "type": "object"
817 990
    },
818 991
    "sectionLoop": {
819 992
      "properties": {
820 993
        "instanceId": {
821 -
          "description": "The sequencer.",
994 +
          "description": "The sequencer, or the automation block.",
822 995
          "maxLength": 64,
823 996
          "minLength": 1,
824 997
          "type": "string"
825 998
        },
826 999
        "loop": {
827 -
          "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.",
1000 +
          "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.",
828 1001
          "maximum": 7,
829 1002
          "minimum": 0,
830 1003
          "type": "integer"
831 1004
        }
832 1005
      },
833 1006
      "required": [
834 1007
        "instanceId",
835 1008
        "loop"
836 1009
      ],
837 1010
      "type": "object"
838 1011
    },
839 1012
    "song": {
840 1013
      "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.",
841 1014
      "properties": {
842 1015
        "end": {
843 1016
          "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`.",
844 1017
          "knownValues": [
845 1018
            "stop",
846 1019
            "loop",
847 1020
            "hold"
848 1021
          ],
849 1022
          "type": "string"
850 1023
        },
851 1024
        "sections": {
852 1025
          "description": "The sections, in the order they are played.",
853 1026
          "items": {
854 1027
            "ref": "#section",
855 1028
            "type": "ref"
856 1029
          },
857 1030
          "maxLength": 64,
858 1031
          "type": "array"
859 1032
        }
860 1033
      },
861 1034
      "type": "object"
1035 +
    },
1036 +
    "swing": {
1037 +
      "description": "Every second eighth or sixteenth of a loop played late. The notes stay at the ticks they are written at, and the swing is applied as the loop is played: each pair of notes counted from the loop's start is heard with its second note `amount` percent of the way through the pair rather than half of it, and a note between two lines moves in proportion, so nothing changes order. A pair the loop's end cuts short is played straight. A reader meeting a value or an amount it does not swing by plays the loop straight.",
1038 +
      "properties": {
1039 +
        "amount": {
1040 +
          "description": "Where the second note of each pair is heard, in percent of the pair. Fifty would be straight, which is written as no swing at all; seventy-five is a dotted note and the note after it.",
1041 +
          "maximum": 75,
1042 +
          "minimum": 51,
1043 +
          "type": "integer"
1044 +
        },
1045 +
        "value": {
1046 +
          "description": "The note whose every second one is played late: eighths, whose pairs are each a beat, or sixteenths, whose pairs are each half of one.",
1047 +
          "knownValues": [
1048 +
            "1/8",
1049 +
            "1/16"
1050 +
          ],
1051 +
          "type": "string"
1052 +
        }
1053 +
      },
1054 +
      "required": [
1055 +
        "amount",
1056 +
        "value"
1057 +
      ],
1058 +
      "type": "object"
1059 +
    },
1060 +
    "timeSignature": {
1061 +
      "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.",
1062 +
      "properties": {
1063 +
        "denominator": {
1064 +
          "description": "The note a beat is: 2 a half, 4 a quarter, 8 an eighth, 16 a sixteenth. The lower number.",
1065 +
          "enum": [
1066 +
            2,
1067 +
            4,
1068 +
            8,
1069 +
            16
1070 +
          ],
1071 +
          "type": "integer"
1072 +
        },
1073 +
        "numerator": {
1074 +
          "description": "How many beats one bar holds: the upper number.",
1075 +
          "maximum": 32,
1076 +
          "minimum": 1,
1077 +
          "type": "integer"
1078 +
        }
1079 +
      },
1080 +
      "required": [
1081 +
        "numerator",
1082 +
        "denominator"
1083 +
      ],
1084 +
      "type": "object"
1085 +
    },
1086 +
    "tuning": {
1087 +
      "description": "A tuning: its degrees, each an interval above its first note, and which degree each key plays.",
1088 +
      "properties": {
1089 +
        "degrees": {
1090 +
          "description": "The tuning's degrees above its first, which is the unison and is not written, exactly as Scala writes a pitch: a value with a point in it is cents (\"701.955\", \"-3.5\", \"1200.\"), and anything else a ratio of whole numbers above nothing (\"3/2\", or \"2\" for 2/1), which is kept as text so that it stays exact. The last is the period, the interval after which the degrees repeat, and is above the unison.",
1091 +
          "items": {
1092 +
            "maxLength": 32,
1093 +
            "type": "string"
1094 +
          },
1095 +
          "maxLength": 128,
1096 +
          "minLength": 1,
1097 +
          "type": "array"
1098 +
        },
1099 +
        "keys": {
1100 +
          "description": "Which degree each key plays: a .kbm file. Optional permanently: absent is the map Scala assumes without one, in which every key plays the next degree, key 60 plays the first and key 69 is the reference.",
1101 +
          "ref": "#tuningKeys",
1102 +
          "type": "ref"
1103 +
        },
1104 +
        "name": {
1105 +
          "description": "What the tuning is called: a .scl file's description line.",
1106 +
          "maxLength": 200,
1107 +
          "type": "string"
1108 +
        }
1109 +
      },
1110 +
      "required": [
1111 +
        "degrees"
1112 +
      ],
1113 +
      "type": "object"
1114 +
    },
1115 +
    "tuningKeys": {
1116 +
      "description": "A key map, as a Scala .kbm file says it, except that it names no frequency: the reference key sounds where twelve-tone equal temperament puts it at the patch's concert pitch.",
1117 +
      "properties": {
1118 +
        "first": {
1119 +
          "description": "The lowest key that sounds.",
1120 +
          "maximum": 127,
1121 +
          "minimum": 0,
1122 +
          "type": "integer"
1123 +
        },
1124 +
        "last": {
1125 +
          "description": "The highest key that sounds.",
1126 +
          "maximum": 127,
1127 +
          "minimum": 0,
1128 +
          "type": "integer"
1129 +
        },
1130 +
        "map": {
1131 +
          "description": "The degree each key of one repetition plays, from the middle key up, `size` of them: 0 is the unison, the number of degrees the period, and -1 a key that sounds nothing.",
1132 +
          "items": {
1133 +
            "minimum": -1,
1134 +
            "type": "integer"
1135 +
          },
1136 +
          "maxLength": 128,
1137 +
          "type": "array"
1138 +
        },
1139 +
        "middle": {
1140 +
          "description": "The key that plays the first degree, the unison, and where the map's repetitions are counted from.",
1141 +
          "maximum": 127,
1142 +
          "minimum": 0,
1143 +
          "type": "integer"
1144 +
        },
1145 +
        "periodDegree": {
1146 +
          "description": "The degree one repetition of the map spans, its formal octave: each repetition up plays every key's degree that far above the last.",
1147 +
          "minimum": 1,
1148 +
          "type": "integer"
1149 +
        },
1150 +
        "reference": {
1151 +
          "description": "The key the concert pitch anchors: it sounds where twelve-tone equal temperament puts it at the patch's concert pitch. It must play a degree.",
1152 +
          "maximum": 127,
1153 +
          "minimum": 0,
1154 +
          "type": "integer"
1155 +
        },
1156 +
        "size": {
1157 +
          "description": "How many keys one repetition of the map spans. 0 is a linear map, in which every key plays the next degree and the degrees repeat at their period; `map` is then empty and `periodDegree` is not read.",
1158 +
          "maximum": 128,
1159 +
          "minimum": 0,
1160 +
          "type": "integer"
1161 +
        }
1162 +
      },
1163 +
      "required": [
1164 +
        "size",
1165 +
        "first",
1166 +
        "last",
1167 +
        "middle",
1168 +
        "reference",
1169 +
        "periodDegree"
1170 +
      ],
1171 +
      "type": "object"
862 1172
    }
863 1173
  },
864 1174
  "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.",
865 1175
  "id": "at.atmosynth.patch",
866 1176
  "lexicon": 1
867 1177
}

Compare Other Versions

Lexicon Garden

@