Cadence
A keyboard-driven musical studio in one native binary — where synths, drum kits, studio effects, audio recording, and stage performance share one linked musical graph.
Built on a native wgpu GPU canvas (Metal / Vulkan / DX12) and a zero-allocation 32-bit float audio engine, Cadence keeps musical relationships connected instead of flattening them into copy-paste clips. Edit one chord in a progression and your pads, stabs, arpeggios, and bassline follow in lockstep while you ride macros, shape effects, and launch lane overrides on bar boundaries.
Quick Start
Requires a current stable Rust toolchain. macOS uses Metal + CoreAudio + CoreMIDI; Linux uses Vulkan + ALSA (libasound2-dev). Pass --silent to run without an audio device, or --no-default-features for headless CLI builds.
git clone https://github.com/cadencefm/cadence.git
cd cadence
# Flagship 64-bar melodic EDM showcase ("Afterglow")
cargo run --release -- --project examples/demo/project.json
# 48-bar Acid Electro & hardware groovebox showcase ("Iron Circuit")
cargo run --release -- --project examples/iron-circuit/project.json
# 32-bar generative ambient / IDM showcase ("Glass Cathedral")
cargo run --release -- --project examples/glass-cathedral/project.json
# Keyboard performance set & replayable take ("Fivefold Live")
cargo run --release -- --project examples/fivefold-live/project.json
# Start from a blank canvas
cargo run --release -- --empty
Core Capabilities
- Direct Keyboard Grammar: Navigate spatially with
h/j/k/l(H/Lcoarse/tabs), sculpt values and reorder items directly in place withAlt+h/j/k/lor one-handed,/., enter exact values withEnter, and press:/Ctrl+Shift+pfor the Fuzzy Action Palette or?for searchable in-app Help. - Unified Eurorack Modular Rack: Every instrument is a patchable
Rack(Panel | Patchbay | Zones) built from 11 orthogonal modules (Vco,Sampler,Noise,Env,Lfo,Filter,Vca/RingMod,Drive,LoFi,Resonator,Out) with bipolar attenuverter cables and sample-accuratez-1feedback — backed by an external MIT-licensed preset and drumkit library (TR-808,TR-909,EDM Kit, synthesized kits, drums, and synths). - Retained Pattern Algebra & Inline
:mini: 22 composable pattern operations plus instant-validated:mininotation with fractional sub-step timing (offset ∈ [0.0, 1.0)). - 32-Bit Float Mixer & 8 Studio Effects: Native
Eq, rhythmicFilter(with extensible groove banks),Compressor, lookahead PDCLimiter, 3-modeDrive,Chorus, dual-modeDelay, andReverb, nestedGroup → Groupbuses, automated sends, sidechain ducks, and+6 dBfader headroom. - Live Performance, 24-Bit Recording & MIDI: Launch lane overrides on bar boundaries, perform in Jam Mode (
gj), stage multi-gesture drops (S), arm crash-safe performance Takes (tr), record 24-bit WAV audio straight into project Samplers (ta), and map hardware MIDI controllers via 1-key Learn (M) with bi-directional feedback. - Scriptable & Agent-Ready: Clean human-readable
v1JSON projects, presets, and JSONL takes, deterministic WAV + parallel stem export (--render,--stems,--render-kit), clean-room ReBirth.rbsimport (--import-rbs), and a local--ctlUnix socket (cadence ctl) for controlling a running session.
Explore the Documentation
- User Guide — Guided walkthrough from your first 10 minutes through sound design, mixing, hardware MIDI, audio recording, performance takes, and CLI scripting.
- Decks, Keymap & Interaction Spec — Direct keybinding contract, directional tiers, canonical verbs, deck layouts, and modal overlay behavior.
- Material & Timing Spec — Formal
Projectv1 graph, 22PatternKindoperations,:minisyntax, fractional sub-step timing, and launch/keep semantics. - DSP & Audio Engine Spec — Pure
cadence-core::dspsignal math, 11-module Rack runtime, 64-frame sub-block mixer, PDC, and real-time audio invariants. - Protocols & Persistence Spec — JSON schemas,
--script/--stdioJSONL actions,--ctlremote-control Unix socket protocol, and audio/preset/bundle formats. - Design Decisions & Verification & Testing — Architectural rationale and automated verification pyramid.
- Source Code on GitHub — MIT-licensed 6-crate Rust workspace.