Repository navigation
Releases
v2.2.1 — Safari audio-on-reload fix
Fix: audio clips no longer vanish ("still decoding") after a page refresh in Safari.
Root cause: Safari/WebKit drops the backing store of Blobs persisted in IndexedDB, so reading them back after a reload failed (WebKitBlobResource error 1) and clips never decoded. Audio is now persisted as ArrayBuffers — structured clone copies them by value, so they always read back intact. Old sessions still load and are rewritten safely on the next save (self-healing). Voice clips also re-decode on demand, recovering transient failures.
v2.2.0 — AI Composer builds songs by the layer
The AI Composer is now wired into the app's own music-theory engine and can build a full arrangement, layer by layer — all through a single OpenRouter key.
Composer
- addProgression — the model picks chord function as scale degrees; the app voices them in your current key into one track per role (pad / bass / arp = MIDI synth, drums = beat). Harmony is guaranteed in-key.
- addMidi — places a melody / bassline at exact beats.
- Richer context — the model now also sees the notes in your MIDI layers, the song structure lane, key changes, and the key's diatonic chord map.
- Compose by layer toggle — builds in passes (harmony → drums → melody), each pass aware of the layers already laid down. Single-shot mode retries once if the model's reply won't parse.
Setup & UX
- Default OpenRouter model is now
anthropic/claude-sonnet-4.6(was the retired 3.5);anthropic/claude-opus-4.8for best results. - A 401 from OpenRouter now explains itself: use an OpenRouter key (
sk-or-v1-…), not an Anthropic/OpenAI key — OpenRouter's raw 'Missing Authentication header' message is just its way of saying the key was rejected. - 'Advanced' audio-endpoint options are shown inline (no disclosure collapse).
All composition runs on the single OpenRouter LLM gateway; the only optional second integration remains the audio/stem endpoint.
v2.1.0 — Audio memo editing + real metronome
Audio memo editing
Plain recorded audio can now be developed into flex-time-enabled music memos:
- Crop in the editor — drag across the memo waveform to select a region, then Crop to selection. Audio and the chord/beat/note analysis are sliced together so flex time stays aligned.
- Split on the timeline — right-click a memo → Split here now produces two self-consistent memos (previously the analysis drifted out of alignment).
- Convert voice → memo — a Convert to memo button on plain voice clips upconverts them into annotated, flex-enabled memos.
Transport
- Real metronome — a beat click now sounds while the song plays (accenting bar downbeats), not just as a count-in. The control is a button labelled with its current state (e.g. "On · 1 bar in") that opens a popover for the metronome on/off and count-in settings.
- Rewind to start — new button fused into the play group; jumps the playhead to the top, clears any loop region, and restarts if playing.
Root cause for the split fix: memo analysis stores absolute times + flex anchors relative to the full buffer, so the old offset/length split left chords and notes misaligned. Splits and crops now bake new, self-contained memos.
v2.0.3 — Voice recording feedback
Simple mic (Voice) recording now shows live progress on the timeline — a growing '● rec' indicator at the clip's start position, with the session length following the take — matching what Memo recording already did.
v2.0.2 — Playback fix
Fix: with looping turned off, the song now plays from the playhead to the end instead of stopping at the selected cycle-region boundary. Loop on still loops the region as before.
v2.0.1 — UI cleanup
Patch on top of v2.0.0.
- Removed the verbose "Guides are bars & beats…" hint paragraph under the timeline.
- Moved the version/GitHub footer out of the section container so it stays pinned to the bottom of the page regardless of section reordering.
v2.0.0 — Flex time + rack redesign
First public v2 release (live moves 1.52.0 → 2.0.0).
Flex time
- Warp-to-grid for recorded memo audio — a variable-rate WSOLA time-stretch (pitch preserved) that snaps a take's tracked beats onto the project grid. Strength control + Unflex.
- Tempo-follow: flexed clips re-warp automatically when you change the project BPM, so the audio stays locked to the beat.
- Persists in the session (FORMAT_VERSION 5), regenerates on load, and renders correctly in both live playback and the offline bounce.
Rack redesign
- Themeable token system — swap the whole palette; ships Rack (true-black), Classic, and Midnight themes (Settings → Color theme).
- True-black, vivid UI with color-coded layers (icon ⇄ waveform ⇄ clip share a hue).
- Inline SVG icon set replaces every emoji; flush rack-unit sections; fused segmented controls; movable playhead start-line; decluttered editor headers; metronome count-in; structure jump-dots.
118 automated tests (DSP + export formats + page contract).
v1.52.0 — per-clip editors, arp piano-roll, key-aware backing
A large editing & UX batch.
Clips & layers
- In-clip previews — MIDI note ribbons, arp step dots, beat/sampler hit grids, and voice waveforms render inside clips, tiled across loops.
- Double-click any clip to edit it in a full-screen editor: beat & sampler open their grid editors in place; voice gets a new trim + per-clip gain editor.
- Editable names for clips (right-click, every editor header, on the timeline) and double-click a layer name to rename it.
Arpeggiator
- The step list is now a pitch×time piano-roll matching the MIDI editor (light/dark in-key rows, gutter, grid, zoom).
- Per-step ratchet (×1–4) and rate (1/4…1/32) for fills, section transpose (shift-click), and → MIDI convert.
- Notes drag in real time and play as you scrub them.
Key & scale
- 3-tier scale coloring — primary (green), secondary (blue), out-of-key (red) — from the diatonic triads, in both rolls.
- Scale focus toggle dims off-key rows so only in-key lanes show.
- One standard key/mode selector everywhere (synth base key, MIDI clip key, backing, memo), with "smooth changes" suggestions.
Backing generator
- Follows your key changes — a typed progression is transposed by scale degree into each key region (I–V–vi–IV stays functional).
- Redesigned: a chip-based progression builder + preset library + in-key chord picker; the modal now sizes to its content.
Layout
- Synth editor keyboard moved to the bottom to match the MIDI editor.
109/109 tests pass.
🤖 Generated with Claude Code
v1.51.0 — Roadmap 1.x: backing generation, undo/redo, clip editing, harmony, meters, automation & live P2P collaboration
A large additive release bundling the 1.x roadmap. No breaking changes — existing sessions load unchanged. Items 3 (tempo/conductor) and 6 (audio warp/flex) remain reserved for a future v2.0.0.
Highlights
🎸 Backing generation (Item 4)
Turn a chord progression into in-key pad / bass / arp / drum layers, each its own editable, transposable stem. Sources: typed progression, a memo's detected chords, or AI (OpenRouter, strict JSON, BYO key).
↩ Undo / redo (Item 1)
A commit() snapshot command stack — ⌘Z / ⇧⌘Z + toolbar. Arrangement-scoped, with decoded audio kept by reference (no re-decode). MIDI-editor note ops covered.
✂️ Clip editing (Item 2)
Split, duplicate, copy/paste, and edge-resize clips (context menu + ⌘D/⌘C/⌘V). Audio clips gained offset/length, honored live and in the offline bounce.
🎼 Harmony assistant (Item 5)
Diatonic chords with Roman numerals, functional next-chord suggestions (+ borrowed / secondary dominants), a musical progression generator, and minimal-motion voice leading. A ✨ Suggest button feeds the backing generator.
🎚️ Level meters (Item 7)
Per-track + master meters, mute/solo-aware, driven by the shared viz loop.
🎛️ Track automation (Item 8)
Draw volume / pan / cutoff over time per track — applied live per tick and offline as param ramps, all undoable.
👥 Live collaboration (WebRTC — no server, no accounts)
- Multi-person sessions over a host-relay topology, with a live presence roster and a green header indicator showing who's connected.
- 3-way reconcile sync (per-track merge; conflicts kept-mine), audio-stem transfer so collaborators hear each other's takes, clock-offset groundwork.
- Invite links (deflate-compressed SDP in the URL hash) with auto-join, QR codes, and a clean step-by-step handshake wizard.
✨ Polish
First-run welcome/pitch modal, a Settings "reset app layout" button, and a header/transport cleanup (single Add layer modal, undo/redo by Play, tidy loop control).
Tests: 109 Node tests pass (DSP + export formats + 7 new DOM-free cores + page contract).
🤖 Generated with Claude Code
v1.30.1 — usable instrument tuner
Fixes the instrument tuner so it works for tuning a real instrument by ear.
- Sensitivity — the mic no longer needs a hard strum. Lowered the detection gate and added an autocorrelation clarity gate, so a string ringing out keeps registering while room noise is rejected (no phantom notes).
- Note hold — the reading now holds on screen for ~2.5s with a "ringing…" indicator instead of vanishing the instant the signal dips. A decaying note stays up so you can finish tuning it.
- Sustained reference tone — clicking a string card now holds a continuous drone (so you can tune by ear). Click it again, change the tuning, or close the tuner to silence it.
Also lands quietly (no user-facing change yet): the next-phase roadmap (docs/ROADMAP.md) and the tested, inert engine for upcoming chord-driven backing generation.
52/52 Node tests pass. Single-file, no build, no dependencies, static hosting — all preserved.
🤖 Generated with Claude Code