timelorde singleton
timelorde · modulation · schema v2Singleton master clock. Internal or external BPM, twelve clock-divider outputs. A TAP button sets the internal tempo by ear — tap twice in time to lock the BPM, keep tapping to refine it (median of the recent intervals, ~2s timeout starts a fresh count); the Spacebar taps it too while TIMELORDE is the selected node. TAP is greyed out and a no-op while an external clock is patched into CLOCK IN (the measured external tempo owns the BPM then). The card carries a big display of the owl painting whose YELLOW EYES and BLUE BORDER brighten in time with the beat (the body stays steady); patch a feed into VIDEO IN and the display becomes a live monitor while VIDEO OUT passes the feed through (TIMELORDE can sit inline in a video chain).
the faceplate
inputs
| id | cable | what it does |
|---|---|---|
clock | gate | External clock input: while patched, TIMELORDE locks its master tempo to the measured period between incoming rising edges, so every division output tracks the external pulse train. Unpatch and it falls back to the internal BPM after a couple of beats. gate / trigger |
start_in | gate | Transport START: a rising edge resumes the clock from wherever it was last stopped (musical position is preserved, like a DAW play button). Wire MIDICLOCK's start here to slave the rack's transport to a hardware MIDI device. gate / trigger |
stop_in | gate | Transport STOP: a rising edge halts the clock — phase, sample counter and pending pulses all freeze and the outputs go low. This is a real transport stop (distinct from the card's MUTE, which silences the gates but keeps the clock turning). Wire MIDICLOCK's stop here for the matching stop side. gate / trigger |
gate | gate | Wizard show/hide control — a level-sensitive (not edge-triggered) gate: while it is held high the neon WIZARD graphic is shown, while it is low the wizard is hidden. It converges on the same state as the on-card wizard toggle (the button is a manual override, this input is external control). Card-visual only — the clock ignores it. gate / trigger; gate — acts while the level is high (reacts to both edges) |
video_in | video | Cross-domain video input: patch a video feed here and the card's big display becomes a live monitor of that feed (the wizard steps aside) and the feed passes through to VIDEO OUT, so TIMELORDE can sit inline in a video chain. RGB video stream |
outputs
| id | cable | what it does |
|---|---|---|
1x | gate | Quarter-note clock — one pulse per beat at the master BPM. The reference division everything else is built from. gate / trigger |
8x | gate | 32nd-note clock — eight pulses per beat (the fastest subdivision tap). gate / trigger |
4x | gate | Sixteenth-note clock — four pulses per beat. gate / trigger |
2x | gate | Eighth-note clock — two pulses per beat. gate / trigger |
1/2 | gate | Half-note clock — one pulse every two beats. gate / trigger |
1/3 | gate | One pulse every three beats (dotted/triplet-feel longer division). gate / trigger |
1/4 | gate | One pulse every four beats — once per bar in 4/4. gate / trigger |
1/8 | gate | One pulse every eight beats — once every two bars. gate / trigger |
1/12 | gate | One pulse every twelve beats — once every three bars. gate / trigger |
1/16 | gate | One pulse every sixteen beats — once every four bars. gate / trigger |
1/32 | gate | One pulse every thirty-two beats — once every eight bars. gate / trigger |
1/64 | gate | One pulse every sixty-four beats — once every sixteen bars (the slowest tap, for very long-form modulation). gate / trigger |
swing | gate | A swung version of the eighth-note (2x) clock, offset by the SWING amount and taken from the division the SRC control selects — patch it where you want a shuffled rather than straight clock. gate / trigger |
video_out | video | Cross-domain video output: the picture the card's big display shows — the live feed when something is patched into VIDEO IN, otherwise the beat-pulsing wizard — passed on for downstream video modules. RGB video stream |
params
| id | label | range | default | curve |
|---|---|---|---|---|
bpm | BPM | 10..300bpm | 120 | log |
swingAmount | Swing | 0..90deg | 0 | linear |
swingSource | Src | 0..10 | 0 | discrete |
muteOutputs | Mute | 0..1 | 0 | discrete |
running | Run | 0..1 | 1 | discrete |
wizardOn | Wizard | 0..1 | 1 | discrete |
controls
| control | what it does |
|---|---|
| BPM | BPM — the master tempo every division output is derived from (10–300). When an external clock is patched it's overridden by the measured external tempo. |
| Mute | MUTE — silences every gate output while the internal clock keeps running underneath (so LIVECODE's clocked() callbacks and other tick subscribers stay alive). Bound to the card's MUTE button. Different from a transport STOP, which actually halts the clock. |
| Run | RUN — the transport state (1 = clock advancing, 0 = halted with phase frozen). It is driven by the START/STOP gate inputs rather than a card knob, and is saved so a stopped rack reloads stopped. |
| Swing | SWING — how far the SWING output's off-beats are pushed late (0–90°); 0 is dead-straight, higher values deepen the shuffle. |
| Src | SRC — which clock division feeds the SWING tap, so you can swing a faster or slower subdivision than the default eighth. |
| Wizard | WIZARD — whether the neon WIZARD card graphic is shown (1) or hidden (0); it pulses with the beat while running. Driven by both the on-card wizard toggle and the level on the gate input. Card-visual only — not used by the clock. |
source
timelorde.ts on GitHub.