Repository navigation
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.