ATMOSYNTH Groove: a desktop DAW whose instruments and effects are ATMOSYNTH patches, on ATproto.

The glossary tells a moment on a clock from a marker's, and a room that has synced from one in touch #35

Closed opened by center.for.cybernetic.beauty

Part of #26

GLOSSARY.md has moment only inside Marker ("a named moment of an arrangement"). In the room's code a moment is a point on the server's clock in milliseconds; in Waiting it is whatever clock the host uses; in the fixtures it is seconds. (ELSEWHERE, the channel a room's notes once arrived on, was removed when a room's note began to be struck as the page strikes it, so it needs no entry.) The editor's room event carries synced, which only ever goes true ("has ever synced"), beside status, which says "in touch now": keepRoom asks the first, a tile asked the first until a reviewer saw that an offline room read as fine, and the window reads status === 'synced' in patch-editor.js. "What this came from" has three shapes: Origin on a track or insert (uri, cid, linked), forkOf in a folder's groove.json (a lineage entry plus createdAt) and origin in a patch document's groove.json, which is the whole record; patch_copies.rs translates among them, and a patch document's linked ("equal to the record kept") and a track's (a flag cleared by the first edit) are two definitions of one glossary word. The ring that now carries ArpPlayed::Replaced off the audio thread is named for arpeggios.

Done when the glossary has entries for a moment on a clock (which clock, in which unit, in which code), for the two room states under two names, and one entry for what a copy came from that says which of the three shapes holds it where; and the names in Groove follow: the room's own moments say their clock, the window reads nothing but status, and the ring off the audio thread is named for what it carries. Left out: the editor's event names, which are the editor's; one type for "copied from" across a track and a document, a change of its own once the glossary has the word.

Done in 6a45b07.

  • GLOSSARY.md has Moment (ticks in an arrangement; the server's clock in milliseconds in a room; this machine's clock, live::now, in nanoseconds or milliseconds against the server's; Waiting on the host's clock; the engine's fixtures in seconds), In touch and Heard for the two room states, and one Origin entry naming its three shapes, with Linked giving both meanings.
  • The room's moments are named for their clock: server_ms and here_ms.
  • The window reads nothing but status: keepRoom keeps a room that has been heard, which it tracks from status itself. A seeded room is no longer kept before it has been in touch.
  • The ring off the audio thread is mix::Sounded.

Left as this issue leaves them: the editor's event names, and one type for "copied from". The socket side's room_notes::Arpeggiated also carries Replaced and kept its name; renaming it would be a small follow-up.

Sign up or Sign in to add to the discussion.