at.atmosynth.patch

A patch, held in its creator's own repository.

Repository @atmosynth.at did:plc:fzjkahpwapmoqxybwdjb6ysf namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityatmosynth.at
Indexed

Showing version bafyreifji7cddamn4dilnhcf7k5xbp5ymbbleddsmeiaf5uvz3fenyji3i. Show the latest

Record

record · key tid

Properties

itemsref
Reference

createdAt

requiredstring · datetime

description

requiredstring
  • maxLength: 3000

descriptionVersion

requiredinteger

Version of the patch description this record follows.

  • minimum: 1
Reference

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.

itemsref
Reference

moduleInstances

requiredarray
itemsref
Reference

name

requiredstring
  • minLength: 1
  • maxLength: 200

Which instance reaches the audio output.

Reference

tags

array

Freely created tags, lower-cased on write so one hashtag matches one set of patches.

itemsstring
  • maxLength: 128

tempo

integer

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.

  • minimum: 20
  • maximum: 300

types

array

Zero or more of the ten fixed types. A patch may carry several.

itemsstring
  • knownValues: Lead | Pad | Bass | Plucked | Percussion | Keys | Brass | Strings | Vocal | SFX

#alternatePattern

object

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.

Properties

bars

requiredinteger

How long this loop is, in bars of four beats.

  • minimum: 1
  • maximum: 8

events

array

The notes in this loop.

  • maxLength: 2048
itemsref
Reference

#connection

object

An audio connection between two module instances, naming the declared ports at each end.

Properties

from

requiredref
Reference

to

requiredref
Reference

#glide

object

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.

Properties

fromLast

boolean

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.

ms

integer

How long a note takes to reach the next, in milliseconds.

  • minimum: 1
  • maximum: 5000

rate

string

Or: how long, as a note value at the tempo. The same vocabulary the grid is written in.

  • knownValues: bar | 1/2 | 1/4 | 1/8 | 1/16 | 1/32 | 1/64 | 1/128

#inputRef

object

Properties

audioInput

requiredstring
  • minLength: 1
  • maxLength: 64

instanceId

requiredstring
  • minLength: 1
  • maxLength: 64

#lineage

object

The patch this one was forked from, and its creator. Preserved even when the source is later deleted.

Properties

creatorDid

requiredstring · did

patchId

string
  • maxLength: 128

uri

requiredstring · at-uri

#midiControl

object

One MIDI control change bound to one of the module's exposed parameters. The controller's 0 to 127 sweeps the parameter across the range the module declares, or, where the module declares a closed value set instead, across those values in order. A control is read from every input on every channel, like every other MIDI message here: there is nothing to configure.

Properties

controller

requiredinteger

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.

  • minimum: 0
  • maximum: 127

parameter

requiredstring

The id of the exposed parameter this control moves. One parameter is moved by at most one controller; one controller may move several parameters.

  • minLength: 1
  • maxLength: 64

#midiRoute

object

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.

Properties

from

ref

The note output these notes leave. Absent where they come from the player.

Reference

instanceId

requiredstring
  • minLength: 1
  • maxLength: 64

midiInput

requiredstring

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.

  • minLength: 1
  • maxLength: 64

#moduleInstance

object

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.

Properties

enabled

boolean

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.

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.

Reference

instanceId

requiredstring
  • minLength: 1
  • maxLength: 64

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.

itemsref
Reference

module

requiredref
Reference

The pattern this instance loops, where its module is a sequencer. It lives here, in the patch, for the reason a sample slot fill and a control binding do: what is played is a decision about this use of the module, and writing one never touches the module's record. Absent on every instance whose module is not a note source.

Reference
itemsref
Reference

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.

Reference

Samples this instance supplies for the module's declared slots. A fill lives here, in the patch, so writing one never touches the module.

itemsref
Reference

unison

integer

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.

  • minimum: 1
  • maximum: 6

voiceScope

requiredstring

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.

  • enum: perNote | perPatch

#moduleRef

object

A pin to one exact published version of a module. Resolving it fetches that record, whoever authored it.

Properties

authorDid

requiredstring · did

moduleId

requiredstring
  • minLength: 1
  • maxLength: 128

versionKey

requiredstring

The pinned version's record key, which is also the `versionKey` that version carries. A reader fetches the module record at this key.

  • minLength: 1
  • maxLength: 128

#noteEvent

object

One note struck at one moment of the loop, held from it, and struck as hard as it says. It is written one of two ways: a note written now says the tick it is at and how many ticks it is held for, and a note written while the grid was part of what a note was says the step of that grid and how many of those steps it was held for. Both are read; the first is written.

Properties

at

integer

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.

  • minimum: 0

hold

integer

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.

  • minimum: 1

length

integer

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.

  • minimum: 1

note

requiredinteger

The MIDI note number. 60 is middle C.

  • minimum: 0
  • maximum: 127

step

integer

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.

  • minimum: 0

velocity

integer

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.

  • minimum: 1
  • maximum: 127

#noteOutputRef

object

Properties

instanceId

requiredstring
  • minLength: 1
  • maxLength: 64

noteOutput

requiredstring
  • minLength: 1
  • maxLength: 64

#notePattern

object

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.

Properties

active

integer

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.

  • minimum: 0

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.

  • maxLength: 7
itemsref
Reference

bars

requiredinteger

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.

  • minimum: 1
  • maximum: 8

events

array

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.

  • maxLength: 2048
itemsref
Reference

resolution

requiredref

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.

Reference

#outputRef

object

Properties

audioOutput

requiredstring
  • minLength: 1
  • maxLength: 64

instanceId

requiredstring
  • minLength: 1
  • maxLength: 64

#parameterValue

object

A value for one of the module's exposed parameters, or an explicit fall-back to the module's declared default.

Properties

id

requiredstring
  • minLength: 1
  • maxLength: 64

useDefault

boolean

Set where the patch explicitly defers to the module's default rather than recording a value.

value

string

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.

  • maxLength: 200

#position

object

Properties

x

requiredinteger

y

requiredinteger

#resolution

object

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.

Properties

unit

string

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.

  • knownValues: normal | triplet

value

requiredstring

The note value one step is worth. A bar is four beats.

  • knownValues: bar | 1/2 | 1/4 | 1/8 | 1/16 | 1/32 | 1/64 | 1/128

#sampleSlotFill

object

Properties

blob

requiredblob
  • maxSize: 2097152
  • accept: audio/wav

ownerDid

requiredstring · did

slotId

requiredstring
  • minLength: 1
  • maxLength: 64

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A reusable synth module: Web Audio nodes wired together, with declared audio and MIDI boundaries, exposed parameters, automation and sample slots. Each published version is its own record; records sharing a moduleId form a series.

  • Notes published on their own — a chord progression, a bassline, a drum groove — to be taken into anybody's arrangement and played by whatever instrument it is placed under.

  • A performance: everything one person or several played together on a patch, in the now, kept whole. Every note, every move of a parameter and every other change to the patch, each by whoever made it, on one timeline, with what it sounded like. Whoever played in it and recorded it keeps it, in their own repository, with everybody else's playing in it; several of them may each keep their own.

  • What the arrangement, its tracks, its clips, its effect chains, its samples and the parts offered to it share: musical time, credit, reuse, and the objects an arrangement holds inline and every one of them also publishes as a record of its own. Time here is counted in ticks, 960 to the beat, a beat being a quarter note whatever the meter says. A patch's own patterns keep the 96 to the beat the patch description counts in, so a pattern copied into a clip is multiplied by ten and loses nothing.

  • net.anisota.lab.synth

    record not from the namespace authority

    A multitrack composition made in the Anisota Lab's Synth studio and saved to the owner's library. The piece is stored as compact musical event data (not audio), so it can be reloaded into the synth, replayed and edited. The shared loop has a tempo and step length; each track is either a 'tone' voice (a waveform playing degrees of the composition's scale) or a 'drum' lane (the studio's synthesized kit). A track's notes are stored in 'cells' as interleaved integers — for a tone track [step, degree