Glyphwork audio UI illustration

Glyphwork

Generic audio UI widgets: meters, knobs, faders, waveforms.

Glyphwork is the component that provides the familiar controls and displays of an audio application. It is part of Signals & Sorcery, a coherent set of Rust audio building blocks for audio apps, plugins, players and DAWs.

Repositorygithub.com/shiehn/glyphwork-audio-ui
LicenseMIT, free for commercial and closed-source use
StatusPlanned
LayerExtend and display (how the layers stack)
Crates (planned names)glyphwork (TypeScript first)

What it is

Every audio application redraws the same controls: a level meter that doesn't flicker, a knob that drags the right way, a fader with a sensible taper, a waveform that zooms smoothly. Glyphwork is a set of these widgets, done once and done carefully:

  • Level meters: peak and RMS, with peak hold and clip indicators, fed by data rather than by polling.
  • Knobs and sliders: drag, fine adjust, double-click to reset, keyboard and scroll, with value formatting from the parameter's own units.
  • Faders and pan controls: decibel tapers that match the mixer's law.
  • Waveform views: precomputed peaks at any zoom, with selection and a play head.
  • A piano roll: notes on a grid, with selection, moving, resizing and velocity.
  • Transport displays: bars, beats and time, from the engine's transport.

The first target is web technology (TypeScript, for browser and Electron user interfaces). A Rust-native widget set may follow if Rust user interfaces ask for it.

Usage example

Illustrative sketch

Planned, not final. Taken from the READMEopen in new window.

import { LevelMeter, Knob, Fader, WaveformView } from "glyphwork";

<LevelMeter source={meters.track(3)} />
<Knob param={cutoff} onChange={(v) => client.setParam(cutoff.id, v)} />
<Fader valueDb={-6} law="mixer" onChange={(db) => client.call("intent.apply", setVolume(track, db))} />
<WaveformView peaks={peaks} playhead={position} onSelect={(range) => setSelection(range)} />

Widgets take display data in and emit editing intentions out. A piano roll doesn't change notes itself: it says "move these notes by one beat", and your application (or an adapter over Grimoire's protocol) turns that into an edit.

How it fits in the ecosystem

Glyphwork is in the extend and display row, beside Familiar. It needs no other component to run. Dependencies point down, never up.

Below it (optional, when used with the rest of Signals & Sorcery):

Beside it: Familiar (repoopen in new window) panels use it for their controls.

Above it: your user interface.

What it deliberately doesn't do: no audio, no application framework (it is widgets, not a layout system or a state manager), and no engine logic (it reports what the user did; it doesn't decide what an edit means).

Extend and display
The engine
Musical structure
Signal flow
ComponentRepositoryRoleStatus
Runecraftrunecraft-audio-coreShared contracts, realtime safety, process isolation and realtime-safe logging: the floor every other component stands onIn preparation
Orreryorrery-musical-timeTempo and meter, transports, bar, beat and sample maths, timed MIDIIn preparation
Summonersummoner-plugin-hostOut-of-process VST3 and Audio Unit plugin hosting with crash isolationIn preparation
Aethergateaethergate-audio-platformAudio devices (cpal, CoreAudio, a fake device for tests) and shared-memory metersPlanned
Leylineleyline-audio-graphA realtime audio graph with delay compensation, and a compiler from an edit model to a graphPlanned
Cantripscantrips-audio-dspBuilt-in mixer DSP: sampler, fader, pan, meters, compressorPlanned
Scriptoriumscriptorium-audio-mediaDecode and encode, a sample store, streaming voices, crash-safe recordingPlanned
Tapestrytapestry-session-modelTracks, clips, lanes and scenes; edits with undo; a crash-safe project storePlanned
Processionprocession-timeline-engineWhat plays in each block: regions, notes, automation, launchesPlanned
Grimoiregrimoire-daw-engineThe assembled engine and its headless JSON-RPC protocolPlanned
Familiarfamiliar-plugin-sdkAn SDK for plugins and panels that extend a Signals & Sorcery enginePlanned
Glyphworkglyphwork-audio-uiAudio UI widgets: meters, knobs, faders, waveformsPlanned

Status

Planned. No code yet. The repositoryopen in new window holds the design.

Anywhere a modern browser engine runs: macOS, Windows, Linux and the web. Keyboard control, focus and screen reader labels are part of each widget, and colours, sizes and fonts are themeable tokens.

Last Updated:
Contributors: shiehn