Cadence
A fast, keyboard-driven musical studio where your synths, drum machines, studio effects, audio recording, and live performance live in one native binary — and musical relationships stay alive instead of flattening into frozen copy-paste clips.
Built on a native wgpu GPU canvas (Metal / Vulkan / DX12) and a zero-allocation 32-bit float audio engine, Cadence lets you compose, sound-design, mix, record, and perform without plugin overhead or mouse fatigue. Change one chord in a 4-bar progression and your pads, stabs, arpeggios, and bassline follow together in lockstep — while you ride macros, sculpt studio FX, and launch live lane overrides on exact 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 3.0")
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
# Live 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
- Modeless Keyboard Grammar: Navigate spatially with
h/j/k/l(H/Lcoarse/tabs), sculpt values and reorder items directly in place withAlt+h/j/k/l(Alt+H/J/K/Lcoarse) or one-hand,/.(</>), enter exact values withEnter, and press:/Ctrl+Shift+pfor the Fuzzy Action Palette or?for searchable in-app Help. - 11-Module Unified Eurorack Rack: Every instrument is a patchable
Rack(Panel|Patchbay|Zones) built fromVco(7-voice unison + 2× through-zero FM),Sampler(automatic RIFFsmpl/instloops),Noise,Env(ADSR/Hold-Decay + pre-delay + multi-burst),Lfo,Filter(LowPass6..AcidLowPass),Vca/RingMod,Drive,LoFi,Resonator(32-mode physical String/Bar/Membrane/Plate bank), andOut, with bipolar attenuverter cables and sample-accuratez-1feedback — backed by a 100% MIT external preset and drumkit catalog (TR-808,TR-909,EDM Kit, live synth kits, and 38 single-voice drum presets). - Retained Material Algebra & Inline
:mini: 22 composable pattern operations (AddDegrees,Mask,Transpose,NotesFromValues,Arp,Euclidean,TimeScale,Swing,Ratchet,Shift,Reverse,Chance,Every,RangeFold,Concat,Stack,Shape,SeededValues, and live-validated:mininotation) with fractional sub-step timing (offset ∈ [0.0, 1.0)). - 32-Bit Float Mixer & 8 Studio Effects: Native
Eq,Filter(with extensible 128-slot rhythmicFilterEnvgroove bank),Compressor,Limiter(with lookahead PDC),Drive,Chorus,Delay, andReverb, nestedGroup → Groupbuses, automatedSendlevels, sidechainDuckenvelopes, and+6 dBfader headroom. - Live Performance, 24-Bit Audio Recording & Hardware MIDI: Launch parts on exact bar boundaries, enter modal Jam Mode (
gj/Ctrl+Shift+j), stage atomic multi-gesture drops (S/Alt+Enter), arm crash-safe performance Takes (tr), record live 24-bit WAV audio straight into a project Sampler (ta/tA/ti/:rec), and map hardware MIDI controllers via 1-key Learn (M) with bi-directional feedback in the unifiedAudio | MIDIDevices deck (gd/Ctrl+d). - Scriptable & Agent-Ready: Clean human-readable
v1JSON projects, presets, and JSONL takes, deterministic WAV + per-channel stem export (--render,--stems,--render-kit), clean-room ReBirth.rbsimport (--import-rbs), and a live--ctlUnix control socket (cadence ctl).
Explore the Documentation
- User Guide — Start here for a guided walkthrough from your first 5 minutes through sound design, mixing, hardware MIDI, live recording, performance takes, and CLI scripting.
- Decks, Keymap & Interaction Spec — Complete modeless 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 live launch/keep semantics. - DSP & Audio Engine Spec — Pure
cadence-core::dspsignal math, 11-module Rack runtime, 32-bit float mixer, PDC, and real-time audio invariants. - Protocols & Persistence Spec — JSON schemas,
--script/--stdioJSONL actions, live--ctlUnix socket protocol, and audio/preset/bundle formats. - Design Decisions & Verification Log — Architectural rationale and test/audio verification matrix.
- Source Code on GitHub — MIT-licensed Rust workspace (
cadence-core,cadence-formats,cadence-engine,cadence-app,cadence-gui,cadence).