Developer builds browser-based collaborative sheet music editor using AI and CRDTs
A solo developer built ScoreTail, a browser-based sheet music editor designed to enable real-time collaborative score editing, similar to how Google Docs handles text. Around 90% of the code was written using AI tools, with the developer focusing on architecture decisions and defining correctness through a test suite of roughly 250 real-world scores. One of the biggest technical challenges was implementing MusicXML's backup and forward elements, which require parsers to track timeline position independently of document order across multiple voices and staves. For real-time collaboration, the project uses Yjs, a CRDT library that allows edits from multiple clients to converge automatically without server-side conflict resolution. The editor enforces musical validity on every operation, ensuring that users without formal notation knowledge still produce structurally correct scores.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in