← dream lab

Cantus Engine

A deterministic, self-developing fugue. Every note is an explainable contrapuntal operation — the legible inverse of a black-box neural Bach-imitator.

0:00
cycle 1
Section: ExpositionKey: C minorSubject: B-A-C-H cellView: —no MIDI — keyboard A–K plays scale degrees
Bass
Tenor
Alto
Built-in:

How to use

It auto-starts a fugue within a couple of seconds. To seed your own subject, hit Set subject then play 5 notes — on a connected MIDI keyboard, or on your computer keyboard with A S D F G H J K (scale degrees 1–8).

The arc runs Exposition → Episode → Modulation → Stretto → Coda and loops with a fifth of key-drift each cycle, so minute 5 sounds different from minute 1.

Transforms as they fire

  • …waiting for the engine.
The dream lab — Karel Barnoski