at.atmosynth.defs

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.

Repository @atmosynth.at did:plc:fzjkahpwapmoqxybwdjb6ysf namespace authority
Details · defs
Kinddefs
Authorityatmosynth.at
Indexed

Showing version bafyreihks5g7zbyorhxoyoz2nwgga4eespopfwnnylzetebvyr53km4v24. Show the latest

#audio

object

A recording, by its blob and the account holding it. In a record this service publishes it is always that record's own account, since a PDS writes a record only if every blob it names is in that account; a reader still follows `ownerDid` wherever it points.

Properties

blob

requiredblob
  • maxSize: 52428800
  • accept: audio/wav, audio/flac

ownerDid

requiredstring · did

#audioClip

object

A recording over a length of time: what an audio track plays. The same object stands in a track, where it is placed at a tick, and in an at.atmosynth.audioClip record of its own, where it is not.

Properties

at

integer

The tick of the arrangement this clip starts at. Absent in a clip that is a record of its own.

  • minimum: 0

audio

requiredref
Reference

fadeIn

integer

Ticks over which the clip rises from silence at its start. Optional: absent is none.

  • minimum: 0

fadeOut

integer

Ticks over which the clip falls to silence at its end. Optional: absent is none.

  • minimum: 0

gain

string

The clip's own gain, in decibels, from -96 to 24, as decimal text. Optional: absent is 0.

  • maxLength: 32

length

requiredinteger

How many ticks the clip lasts. The recording is cut off at its end.

  • minimum: 1

loopLength

integer

Where the clip loops: what it plays from its start to this many ticks is played again and again until `length`, so a two-bar loop fills sixteen bars as one clip. Each pass starts where the clip does, at `offset` or where its warp markers place tick 0, and counts its ticks from there. The fades are the clip's, at its start and its end, and not each pass's. Optional: absent plays the recording once, over the whole length.

  • minimum: 1

name

string
  • minLength: 1
  • maxLength: 320
  • maxGraphemes: 64

offset

string

Where in the recording the clip starts, in seconds from its beginning, as decimal text. Optional: absent is the beginning. Read only where the clip has no warp markers, which say it themselves.

  • maxLength: 32
Reference

warp

array

How the recording follows the arrangement's tempo: markers in order, each later than the one before in ticks and in seconds. Between two markers the recording is stretched so that the one moment meets the one tick and the next the next; before the first and after the last the nearest pair's stretch goes on. Two markers stretch a whole loop evenly, and more correct a recording that drifts. Optional: absent plays the recording at the speed it was recorded at, from `offset`, whatever the tempo.

  • maxLength: 1024
itemsref
Reference

#automationLane

object

One target's automation across the whole arrangement.

Properties

points

requiredarray

In order of `at`, one to a tick. Before the first point the target is at the first point's value; after the last, at the last's.

  • maxLength: 8192
itemsref
Reference

target

requiredunion

#automationPoint

object

The value a target takes at one tick.

Properties

at

requiredinteger

The tick of the arrangement, or of the track where the track is a record of its own.

  • minimum: 0

hold

boolean

Whether the value is held until the next point, which is jumped to. Optional: absent is a straight line, and only `true` is written.

value

requiredstring

The value, in the units the target is written in: decibels and the pan's -1 to 1 for a strip, and for a parameter what its patch writes it as. Between points the value travels in a straight line along the target's own scale — a parameter's as its module declares it, decibels for a level — so a cutoff swept between two points sweeps as its knob would.

  • maxLength: 64

#bendPoint

object

How far from its pitch a note is at one moment of it.

Properties

at

requiredinteger

The tick of the note this point is at, counted from the note's own start in the arrangement's ticks, 960 to the beat. A bend from a patch's pattern, which counts 96, is multiplied by ten.

  • minimum: 0

value

requiredstring

Semitones from the note's pitch, from -96 to 96, as decimal text. Upwards is positive.

  • maxLength: 32

#insert

object

One effect in a chain: a patch that takes audio in through its input stage and passes it on through its output stage.

Properties

enabled

boolean

Whether the effect is heard. Optional: absent is on, and only `false` is written. A switched-off insert passes its input on unchanged.

id

requiredstring

This insert's name within its track, for automation to address. Unique in the track.

  • minLength: 1
  • maxLength: 64
Reference

patch

requiredunknown

An at.atmosynth.patch record, `$type` and all, held here whole. It holds an input stage, which is where the track's audio arrives and, on its second output, the key its `sidechain` names.

How `patch` is drawn: an at.atmosynth.patchPresentation record, `$type` and all, held here whole beside it, so the effect keeps its layout and its frames. Nothing heard depends on it, and a reader that only plays ignores it. Optional: absent is a patch drawn from what it says itself.

sidechain

string

The id of the track whose audio reaches this effect as a key: read there, never summed into what is heard. Optional: absent is no key.

  • maxLength: 64

#key

object

A key: a tonic and a mode.

Properties

mode

requiredstring

The mode. `minor` is the natural minor. A reader meeting a mode it does not know still knows the tonic.

  • maxLength: 32
  • knownValues: major | minor | dorian | phrygian | lydian | mixolydian | locrian

tonic

requiredinteger

The tonic as a pitch class, 0 being C and 11 B. How it is spelt, F♯ or G♭, is the reader's to decide.

  • minimum: 0
  • maximum: 11

#keyPoint

object

The key from one tick on.

Properties

at

requiredinteger

The tick this key starts at. The first point is at 0, and each after it later than the one before.

  • minimum: 0

key

requiredref
Reference

#license

string

What its creator lets others do with a record, as the SPDX identifier of a Creative Commons licence. A record that says nothing grants nothing, which is copyright's own default: anybody wanting to use it asks its creator first. A reader meeting an identifier it does not know reads it as granting nothing it can be sure of.

  • maxLength: 64
  • knownValues: CC0-1.0 | CC-BY-4.0 | CC-BY-SA-4.0 | CC-BY-NC-4.0 | CC-BY-NC-SA-4.0 | CC-BY-ND-4.0 | CC-BY-NC-ND-4.0

#lineage

object

One record this one came from, how, and its creator. Written here and not there, so it survives that record being changed or deleted.

Properties

cid

string · cid

The version of that record this came from. Optional: absent where it was not known.

creatorDid

requiredstring · did

relation

requiredstring

`fork`: this began as a copy of that, and changed. `import`: that was taken into this as it was — a clip from a patch's pattern, a track from somebody's arrangement. A reader meeting another value still has a parent, and should say only that this came from it.

  • maxLength: 32
  • knownValues: fork | import

uri

string · at-uri

Where that record is. Absent where the record is somewhere a public record may not point, such as a band: the entry is then credit, the parent's creator and the relation and nothing more.

within

string

Which part of that record this came from, where it was a part: a track's `id` in an arrangement, or a sequencer's instance id and a pattern as `<instanceId>/<pattern>` in a patch. Optional: absent is the whole record.

  • maxLength: 256

#marker

object

A named moment of an arrangement: Intro, Drop, the second verse.

Properties

at

requiredinteger
  • minimum: 0

name

requiredstring
  • minLength: 1
  • maxLength: 320
  • maxGraphemes: 32

#meterPoint

object

The meter from one bar line on. Every position in an arrangement is a tick rather than a bar, so a change of meter moves the bar lines and the grid and never a note.

Properties

at

requiredinteger

The tick this meter starts at: 0 for the first point, and for every later one a bar line of the meter before it.

  • minimum: 0

#note

object

One note of a clip: struck at a tick, held for so many, as hard and as often as it says.

Properties

at

requiredinteger

The tick of the clip this note is struck at, counted from the clip's start.

  • minimum: 0

bend

array

How the note is bent while it is held: points in order of `at`, one to a tick, joined by straight lines, the first point's value before it and the last's after it. Optional: absent is not bent.

  • maxLength: 256
itemsref
Reference

hold

requiredinteger

How many ticks it is held for. 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.

  • minimum: 1

note

requiredinteger

The MIDI note number. 60 is middle C.

  • minimum: 0
  • maximum: 127

How likely it is to be struck each time it comes round, in percent, asked afresh every time. Optional: absent is every time.

  • minimum: 1
  • maximum: 100

velocity

integer

How hard it is struck, on the MIDI scale. Optional: absent is 100.

  • minimum: 1
  • maximum: 127

#noteClip

object

Notes over a length of time: what an instrument track plays. The same object stands in a track, where it is placed at a tick, and in an at.atmosynth.noteClip record of its own, where it is not.

Properties

at

integer

The tick of the arrangement this clip starts at. Absent in a clip that is a record of its own, which is placed nowhere until somebody places it.

  • minimum: 0

How the clip's notes slide into one another, as a sequencer's do. Optional: absent is no slide.

length

requiredinteger

How many ticks the clip lasts. A note still held at its end is let go there.

  • minimum: 1

loopLength

integer

Where the clip loops: the notes from its start to this many ticks are played again and again until `length`, so one bar of a groove fills eight bars as one bar of notes. A note held past the loop's end is let go there. Optional: absent plays the notes once, over the whole length.

  • minimum: 1

name

string
  • minLength: 1
  • maxLength: 320
  • maxGraphemes: 64

notes

requiredarray

The notes, each before the loop's end, or the clip's where it does not loop.

  • maxLength: 8192
itemsref
Reference
Reference

The grid the clip is drawn and snapped to. A guide, not part of what is played. Optional: absent is sixteenths.

How the clip swings, counted in pairs from its own start. The notes stay at the ticks they are written at; the swing is applied as they are played. Optional: absent is straight.

#origin

object

Where an inline copy was imported from, and whether it still is that record. An import is a snapshot and a link: the arrangement holds the copy, so it plays whatever becomes of the original, and the link says which version was copied, so a reader can tell when the original has since changed and offer it.

Properties

cid

requiredstring · cid

The version that was copied.

linked

boolean

Whether this copy is still that version, unchanged. The first edit to the copy removes it, and the copy is the arrangement's own from then on, still credited to where it came from. Only `true` is written.

uri

requiredstring · at-uri

#parameterTarget

object

Automation of one parameter of one instance in the track's instrument or in one of its inserts.

Properties

insert

string

The id of the insert whose patch holds the instance. Optional: absent is the track's instrument.

  • maxLength: 64

instanceId

requiredstring
  • minLength: 1
  • maxLength: 64

parameterId

requiredstring
  • minLength: 1
  • maxLength: 64

#send

object

Some of a track's audio sent to a bus as well as to where the track goes.

Properties

level

requiredstring

How much, in decibels, from -96 to 6, as decimal text.

  • maxLength: 32

tap

string

Whether it leaves the track before its level and pan are applied or after. Optional: absent is `postFader`.

  • maxLength: 32
  • knownValues: preFader | postFader

to

requiredstring

The id of the bus track it is sent to.

  • minLength: 1
  • maxLength: 64

#strip

object

Where a track ends: its level, its pan, whether it is heard, and what it sends. A track is heard when it is not muted and, where any track of the arrangement is soloed, it is one of them.

Properties

level

string

In decibels, from -96 to 6, as decimal text; -96 is silence. Optional: absent is 0.

  • maxLength: 32

mute

boolean

Only `true` is written.

pan

string

From -1, all left, to 1, all right, as decimal text. Optional: absent is the middle.

  • maxLength: 32

sends

array
  • maxLength: 64
itemsref
Reference

solo

boolean

Only `true` is written.

#stripTarget

object

Automation of a track's own strip.

Properties

control

requiredstring
  • maxLength: 32
  • knownValues: level | pan | send

to

string

Which send, by the bus it goes to, where `control` is `send`.

  • maxLength: 64

#tempoPoint

object

The tempo from one tick on.

Properties

at

requiredinteger

The tick this tempo starts at. The first point of a tempo map is at 0, and each after it later than the one before.

  • minimum: 0

bpm

requiredstring

Beats per minute, a beat being a quarter note, from 20 to 999, written as its decimal text, as every number in these descriptions that need not be whole is.

  • maxLength: 32

ramp

boolean

Whether the tempo travels from this point to the next in a straight line, in beats per minute over ticks, rather than holding until the next point. Optional: absent is held, and only `true` is written. A ramp on the last point means nothing.

#track

object

One row of an arrangement: an instrument playing note clips, an audio track playing audio clips, or a bus taking other tracks' audio. Each runs through its inserts in order into its strip, and on to the one place it goes. The same object stands in an arrangement, a part, and an at.atmosynth.track record of its own.

Properties

An audio track's clips. Two clips of one track do not overlap.

  • maxLength: 1024
itemsref
Reference

One lane to a target.

  • maxLength: 256
itemsref
Reference

colour

string

The colour it is drawn in, as `#rrggbb`. Decoration only: nothing is said by it alone.

  • maxLength: 7

id

requiredstring

This track's name within its arrangement, for routing and automation to address. Unique in the arrangement, the tracks of every part it includes among them. `master` is the arrangement's master bus.

  • minLength: 1
  • maxLength: 64

inserts

array

The effects the track's audio runs through, in order, before its strip.

  • maxLength: 32
itemsref
Reference

instrument

unknown

An instrument track's instrument: an at.atmosynth.patch record, `$type` and all, held here whole. Its note clips are played to every Keyboard block in it as the player's keys would be, and what its output stage would send to the speakers goes on into the track's inserts. Its own tempo is not heard: the arrangement's is.

How `instrument` is drawn: an at.atmosynth.patchPresentation record, `$type` and all, held here whole beside it, so a patch kept as an instrument keeps its layout and its frames. Nothing heard depends on it, and a reader that only plays ignores it. Only on a track with an instrument. Optional: absent is an instrument drawn from what it says itself.

kind

requiredstring

`instrument` plays its note clips through its instrument; `audio` plays its audio clips; `bus` plays no clips and hears whatever names it as its `to`, a send, or both. A reader meeting a kind it does not know plays the track as silence and says so.

  • maxLength: 32
  • knownValues: instrument | audio | bus

name

string
  • minLength: 1
  • maxLength: 320
  • maxGraphemes: 64

An instrument track's clips. Two clips of one track do not overlap.

  • maxLength: 1024
itemsref
Reference
Reference
Reference

to

string

The id of the bus this track's audio goes to. Optional: absent is `master`, and the master itself goes to the speakers and names nothing. Every track goes to one place, and nothing returns to where it came from by any `to`, send or sidechain.

  • maxLength: 64

#warpMarker

object

One moment of a recording pinned to one tick of its clip.

Properties

at

requiredinteger

The tick of the clip, counted from its start.

  • minimum: 0

seconds

requiredstring

The moment of the recording, in seconds from its beginning, as decimal text.

  • maxLength: 32

Similar lexicons

semantic match

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

  • An arrangement: tracks of clips over one timeline, mixed through busses into a master, with the tempo, the meter and the key it is counted in. Its instruments and effects are patches held inside it whole, and what it took from other people's records it holds as copies that remember where they came from. Parts that other people wrote for it in their own repositories are included by address.

  • A recording as it is placed in an arrangement — cut, faded, warped to the beat — published on its own to be taken into anybody's arrangement.

  • A recording published to be found and used: a one-shot, a loop or a longer take, with what is known of its time and pitch. A recording used only inside an arrangement is a blob of that arrangement and needs no record; this is for sharing one.

  • 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.

  • One track published on its own, to be taken into anybody's arrangement: its instrument or recordings, its clips, its effects, its mix and its automation, exactly as an arrangement holds a track.