Music

Composed, rendered, and mixed in code — then visualized from the score itself. Pick a visualizer, pick a song, press play inside the stage.

Visualizer
Song

The same score, rendered in Unreal Engine

The stage above runs in your browser. This one doesn't: the Mountain King v1 score was taken into Unreal Engine 5, where the same .viz.json sidecar was baked into a Sequencer timeline — 64 composed kick hits flare four torches in a stone chamber, and the terrace shift at 14.5 s turns the accent light from cave violet to moss green. No FFT anywhere: the engine is reading the score, frame-exact.

Unreal Engine 5.0 · Sequencer render · 854×480 · The first 28 seconds of Mountain King v1. The follow-up removes the hand-baking entirely — it's the next video down.

Ten seconds of the same chamber, rendered a different way: nothing here was hand-keyed. A cue sheet — one merged stream of timestamped events from the track's .viz.json score and its .dance.json choreography — fed a baker script instead: kick events flare the torches, melody notes pulse the accent light, and the stage segment's palette sets its color. It's the seed of a music-video pipeline: cue files in, staged renders out.

Cue-driven proof · Unreal Engine 5.0 · 854×480 · The first 10 seconds of Mountain King v1, staged entirely by its cue file — kick-synced to the frame.

The engineering — this isn't generated music

Tools like Suno turn a text prompt into audio with a generative model: no score, no parts, no way to ask what note is that? This pipeline — it goes by Downbeat — works the other way. Every track starts as written music: note lists in a Python script, checked against music theory, played by sampled real instruments, mixed in code, and passed through measurement gates before anyone hears it. That's also why the player above can do what a normal visualizer can't: it reads the score.

1Research

Every track — no exceptions — starts with a brand-new research pass: arrangement and energy architecture, harmony and hook theory, production technique for the chosen palette. Old reports are reference only.

▼

2The brief

Research becomes a composition brief: a form table with an energy target (0–1) per section, the chord plan, 2–3 motives defined as scale degrees on a rhythm grid, and one rule with teeth — the highest note of the track occurs exactly once, at the final climax.

▼

3Compose — notes as data

The music is written as note-list data in Python: pitch, onset, duration, velocity, per part. A mandatory pitch-vs-chord audit checks every melody note against the chord actually sounding under it — a rule born when an early track's drop clashed a semitone against its own harmony.

▼

4Render — sampled instruments

Each part is rendered from generated MIDI by the sfizz sampler, playing real recorded instruments: VSCO 2 CE and Virtual Playing Orchestra (strings, brass, winds, choir), the Salamander Grand Piano. Drums and electronic parts are synthesized sample-by-sample in numpy.

▼

5Mix — in code

Constant-power orchestral seating, one generated hall impulse response shared by every part so the orchestra sits in a single room, sidechain ducking against the kick, mono below 100 Hz, a soft tanh master. No DAW anywhere in the chain.

▼

6QA gates — measured, not vibes

Nobody in the pipeline can listen, so quality is arithmetic: final peak ≤ 0.90, a click audit (single-sample jumps > 0.35 FS must be single digits), per-section loudness measured against the brief's energy map, no silent parts, the ending exactly as briefed. A builder agent (Bridge — a fresh session per track, working only from the written brief) must pass all of it before the track reaches a human ear. The owner's listening verdict is the only close.

▼

7Sidecars — the score, published with the song

Because the notes exist as data, each song can ship with two extra files. .viz.json is the note layer: exact kick hits, every melody note with its pitch, the section map. .dance.json is the intent layer, written by the producer: who holds the stage in each stretch, what it feels like, how it moves, its palette. The visualizers above consume both.

Why the visualizer is accurate

A conventional visualizer runs an FFT on the finished audio and guesses — the "bass" light also fires on toms, low strings, any rumble. These prototypes still can (drop in any MP3 and they run in FFT mode), but with a sidecar they switch to SCORE mode: the low lamp in Signal Lab fires on the composed kick hits, Aurora places each note at its true pitch, Dancers changes formation on the real section boundaries — and follows the dance guide's stage custodies.

One song, three files

  • song.mp3 — the audio (plus a FLAC master in the archive)
  • song.viz.json — kick / snare / melody / sections, from the score
  • song.dance.json — stage, feeling, motion, palette, by the producer

Mountain King above carries all three. Its sidecar was generated directly from the composition script: 160 kick events, 550 melody notes, 11 terraced statements climbing 132 → 192 BPM.

The catalog so far

  • Mountain King v1 — Grieg, re-forged as a horde-escalation cue for the game Return to Eden
  • Eden Menu v2 — menu theme, 80 BPM seamless loop, E Dorian
  • Ignition — the track that taught the pipeline its pitch-vs-chord audit
  • Battlefield — five versions deep, the long-running war cue
  • Saria's Song — an arrangement study, built by Bridge from a written brief
  • Song of Storms — the custody piece: one melody in seven pairs of hands, its peak note withheld until the storm breaks
  • Mountain King v2 — Bridge's rebuild of the Grieg cue; v1 above still carries the full score sidecar
  • Dubstep A v2 — The Lesson Fails: a tutorial where every step backfires; the v2 remix stretches the drop until it tears
  • Dubstep B v2 — The Intruder: violin over wobble bass, the top end tamed in the v2 remix