IteraSong: LLM-Guided Iterative Symbolic Music Creation in a Web DAW

Di Lu, Xinran Zhang, Yan Gao, Yuan Zhang, Xiaoqing Wang, Qingwen Zhou, Xiaobing Li, Maosong SunarXiv 2026

Imagine you’re in the studio late at night. You’ve got a decent draft of a pop song, but the bassline in the second chorus feels a bit thin, and the tempo needs to kick up just a notch for the bridge. In a traditional setup, you’d be clicking through menus, dragging MIDI blocks, and manually adjusting velocities. Now, imagine you could just turn to a co-producer and say, "Hey, can we make the bass funkier in Chorus 2 and swap that flute for a piano?" and watch the DAW (Digital Audio Workstation) update in real-time.

That is the promise of IteraSong.

TL;DR

IteraSong moves AI music from "one-shot" generation—where you pull a lever and hope for the best—to a collaborative, iterative conversation. It’s a web-based DAW that uses a Large Language Model (LLM) as an intelligent agent, allowing you to refine, edit, and evolve a multi-track music project using simple natural language commands.

What Problem Does This Paper Address?

Most AI music tools today suffer from the "slot machine" problem. You provide a prompt, the AI spits out a file, and if you don't like the bridge, your only real option is to roll the dice again. But music creation is fundamentally iterative. It’s a loop of auditioning, editing, and refining.

Existing systems often struggle with "project-level" awareness. They might be good at filling in a missing four-bar melody (infilling), but they lack the context to manage a complex, multi-track composition over several rounds of changes. The authors of IteraSong wanted to bridge this gap by creating a system that maintains a persistent "SongProject" state, allowing for precise, scoped edits that don't break the rest of the song.

Figure 1: Overall IteraSong architecture for initial draft generation and iterative song editing in the Web DAW.

Methods

The magic of IteraSong lies in its architecture, which treats the LLM not as a composer, but as an Intent Interpreter.

  1. The SongProject: Instead of raw audio or messy MIDI, the system maintains a structured project state containing global attributes (key, tempo), tracks, sections (Intro, Verse, Chorus), and individual notes.
  2. The LLM Agent (Qwen-Max): When you type a request, the LLM doesn't try to write the music data itself. Instead, it identifies your intent and selects the right tool to do the job.
  3. Model Context Protocol (MCP): This is the "handshake" between the brain (LLM) and the hands (the DAW). The system exposes a set of Hierarchical Editing Primitives—commands like set_tempo, regenerate_track, or transpose_note.
  4. Safety & State Control: Before any change is made, a safety module validates the request (e.g., "Does 'Track 5' actually exist?"). If a change is successful, it’s committed to the history; if not, the system rolls back, ensuring the project never ends up in a corrupted state.
Figure 2: IteraSong Web DAW during a multi-round editing session. The arrangement window displays symbolic project content, while the agent panel shows natural-language requests and MCP tool execution.

Datasets

The paper doesn't focus on training a new generative model from scratch. Instead, it uses a lightweight rule-based pop generator as its "Initial Draft Provider." For the evaluation phase, the researchers used 5 symbolic pop projects generated by this pipeline, featuring 11–12 tracks and thousands of note events, to test how well the agent could handle complex editing workflows.

Key Insights and Ideas

  • Abstraction over Raw Data: By giving the LLM a "hierarchical action space" (see Figure 3 below) rather than asking it to manipulate raw MIDI bytes, the authors significantly reduced errors. The LLM thinks in terms of "sections" and "instruments," which is exactly how humans think about music.
  • The "Undo" is Essential: Because the system tracks "Revision History," users can experiment fearlessly. This transforms the AI from a black box into a reliable tool.
  • Deterministic vs. Generative: The system smartly distinguishes between "deterministic" edits (like transposing a key) and "generative" ones (like rewriting a melody). This allows for surgical precision where needed and creative flair where requested.
A breakdown of the editing primitives available at different levels of the musical hierarchy.

Key Results

The researchers put IteraSong through its paces with 20 ten-turn sessions (200 total interactions) covering both Chinese and English requests.

  • Task Completion: The system achieved a 90.63% success rate in executing complex editing tasks.
  • Safety: It boasted a 100% safe rejection rate, meaning it never attempted an impossible or ambiguous edit.
  • Consistency: It maintained 100% state consistency, proving that the "SongProject" structure is robust enough for multi-round professional use.
A sample session showing how the system handles undos, rejections, and successful mutations over ten turns.

Limitations and Future Work

While IteraSong is a massive step toward a "Siri for Songwriting," it has its limits. Currently, the backend is rule-based and focused on pop music, which limits the "soul" and complexity of the initial drafts.

The authors acknowledge that they haven't yet done a deep dive into how professional musicians feel about the interface or the "perceptual quality" of the generated music. Future versions aim to integrate more powerful generative backends (like transformer-based models) and expand the "action space" to include even more nuanced musical controls.

Summary updated

Abstract

Music creation is inherently iterative, yet many symbolic generation systems still center on producing or regenerating isolated outputs. We present IteraSong, an interactive web-based Digital Audio Workstation (DAW) for LLM-guided iterative symbolic music creation. Unlike one-shot generation systems, IteraSong supports a generate-audition-edit-refine loop over a persistent multi-track project. Users initialize a fully labeled pop draft, then progressively refine it through natural-language instructions. The LLM maps requests to a hierarchical action space of editing primitives exposed via Model Context Protocol (MCP) tools, spanning global, track, section, and bar/note scopes. The demo enables attendees to edit multi-track compositions in natural language, apply deterministic and generative edits, and undo/redo changes in real time.
BibTeX
@misc{lu2026iterasong,
  author = {Di Lu and Xinran Zhang and Yan Gao and Yuan Zhang and Xiaoqing Wang and Qingwen Zhou and Xiaobing Li and Maosong Sun},
  title = {{IteraSong: LLM-Guided Iterative Symbolic Music Creation in a Web DAW}},
  year = {2026},
  eprint = {2611.29225},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29225},
}
Figure