Automatically changing note durations in a whole score

• Sep 21, 2011 - 12:29

Hi to everybody,
I was wondering if there is a way to, say, automatically double ALL the note durations in a whole score in Musescore (just like you can transport a whole part by a given interval).
Thanks

Didachus


Comments

In reply to by [DELETED] 5

Hi lasconic, I think that it could be done by exporting in xml and editing the file by modifying the <duration> and <type> attributes. Well, perhaps I would need some javascript to do this, but re-importing the xml in Musescore the result would be the desired one. Am I correct?

In reply to by didachus

I really doubt that would work. Each measure is defined in the XML, including the notes and voices in each measure. This would mean pulling the note info out, changing the lengths and putting them back into different measures as they would surely change what measures they were in. This also means changing the measure count of the file (doubling), requiring more work.

In reply to by schepers

True, getting a program to reflow the measures would be tricky (but not impossible). Sometimes, though, you might not want it to reflow the measures, like if you want to change from four quarters in 4/4 to four eighths in 2/4 or vice versa (a reasonably common transformation in notating Afro-Cuban or Brazilian music, as much of it traditionally has been done in 2/4, but modern American readers generally expect 4/4). So I could imagine even a "dumb" version of such a utility being useful.

Still, I think changing durations - with the option of reflow - is something MuseScore should eventually support directly.

Do you still have an unanswered question? Please log in first to post your question.