r/musicprogramming • • 4d ago

JavaScript library for interactive music notation basic editing?

I’m working on a React music practice app and need a library that handles interactive notation editing: dragging/dropping notes, changing pitches and durations, time signatures, measures, etc. Just the very basics, nothing complicated.

VexFlow and OSMD seem focused on rendering rather than editing. I’d rather not build all these interactions from scratch.

Open-source or paid solutions are both ok.

Anyone using something that works well?

1 Upvotes

3 comments sorted by

3

u/_AACO 4d ago

Editing musicxml is one of the planned features of something I'm working on, and after some search I found 2 libraries that supposedly do it. 

I haven't tried them yet.

https://github.com/tan-z-tan/musicxml-io/

https://github.com/stringsync/musicxml

1

u/dietcheese 4d ago

Thanks! These seem more for manipulating MusicXML data then for editing. I’m looking for something that handles dragging notes onto a staff, changing pitches, etc…without having to build the UI interactions myself.

Appreciate it though.

1

u/ivanhoe90 4d ago

A few years ago, I made www.jampea.com in Javascript, which can open, render and play all existing notation file formats (MusicXML, Musescore, Guitar Pro, ...). I am thinking about remaking it into a notation editor. So, if you implement it as a library, let me know!