mei-friend / mei-friend

The mei-friend Web Application: Editing MEI in the Browser
https://mei-friend.mdw.ac.at
GNU Affero General Public License v3.0
32 stars 18 forks source link

Easier measure editing #99

Open Brathenning opened 5 months ago

Brathenning commented 5 months ago

Splitting and joining measures is a tedious task in mei-friend, since all <layer/>s, <staff/>s and <measure/> have to be split or joined individually including adding notes with ties when splitting.

One shortcut that splits measures behind a selected note or rest and one that joines two or more selected neighbouring measures would be great. The splitting option would have to create notes and ties to accomedate for split notes. The joining option would have to use @n to join layers and staffs and fill up additional layers with <space/>. If @n isn't used it probably shouldn't work.

wergo commented 5 months ago

Thank you @Brathenning for your suggestion.

We should think about ways how to ease your task, but yet providing very general functionality. Joining and splitting measures sounds very special (even MuseScore does not have this function).

What about thinking more of deleting and inserting new measures and providing some graphical way of selecting and copying content (notes, slurs, etc) to a new position? Would that help as well?

Brathenning commented 5 months ago

Thanks for the answer! I can understand if it's to specific but when you edit pieces changing the measure layout might be necessary, especially if you're editing lute music and maybe contemporary music where equal measure length are uncommen, OMR might also misplace bar lines (btw MuseScore has this function under tools > measures)

The process of copying notes is quite easy in the editor but I can see uses for that. Especially if it manages xml:id which are always a danger when copying elements. Inserting and deletig measures would be great though (if they change the @n of measures dynamically)