"Double Time" 2.0.2 limited to 32 measures
The "new" Double Time 2.0.2 plugin (https://musescore.org/en/node/81641#comment-453686) gives pretty good results (with known limitations, voices, tuplets eg) without having to go through the xml format -> 1.3 version -> return in 2. version, and so on. A good time saver. It's appreciated.
However, I encounter an unexpected difficulty. Indeed, on this file for example, the plugin cuts all the measures that exceed the number 16 (16X2 = 32): Duke Milan.mscz
See:
And so, I get a truncated score, and I have to split my score and re-begin another operation to get the full result.
I do not know how to edit these plugins. Could anyone help me to modify this variable of 32 measures (and bring it eg to the double: 64, or more if possible?)
Thanks in advance.
Comments
You may just replace that number in the .qml file using a text editor and then restart musescore (so it reloads the plugin with the new value). Allowed values are anything that is also allowed in the Create New Score wizard.
The long-term update would be to detect how many measures we've started from and then use that info to generate the new score with just as many measures as required; but that takes a little bit more time than I have to spare currently.
In reply to You may just replace that by jeetee
Thanks for the reply jeetee.
Yes, that's what I wanted to do with Libre Office. I change the value 32 to 64, but I have to save this change. And so, at that time, Libre Office offers me to either use the Text (.txt) format or the ODF (.odt) format.
I do not see how to save in the .qml format
In reply to Thanks for the reply by cadiz1
Save as TXT, rename to QML.
In reply to Thanks for the reply by cadiz1
Use a decent plain text editor, like notepad++ or vi/vim
Or use the editor built into MuseScore
In reply to Thanks for the reply by cadiz1
What they said :)
In reply to What they said :) by jeetee
Yeah, I succeeded! Happy man :)
I do not really know how!! I saved in .txt format with LibreOffice, and apparently the update was done automatically in the original .qml file? Not sure...
Then, you must remove the first plugin before adding the update one. Otherwise, it did not work.
And so thank you all for your help. From now on, I will do the operation in one go. To obtain for example this kind of file (with the English style "Dowland" ... thanks Miwarre ...!): 5) Duke english style.mscz
Very useful for upgrading facsimiles that have lived a little ...
In reply to Yeah, I succeeded! Happy man by cadiz1
FYI, "TXT" isn't really a special format, it just means an ordinary text file. Any form of XML (including HTML, MusicXML, QML, and lots of other formats) are really just ordinary text files. Thus they can be edited in Notepad or any other text editing program. You choose the TXT optiowhen saving, but name it whatever you like. Some programs will insist on adding ".txt" to the name you specify; if so, just change it afterwards.
In reply to FYI, "TXT" isn't really a by Marc Sabatella
Okay, it was a bit technical for me. Thanks for explanations.
"Or use the editor built into MuseScore"
Where do you find this?
In reply to Okay, it was a bit technical by cadiz1
See https://musescore.org/en/handbook/plugins#createeditrun-plugins
In reply to See by Jojo-Schmitz
Ah yes, I succeed also by this way. Thanks.
In reply to Ah yes, I succeed also by by cadiz1
Next step... (maybe?)
So, I increased the number of measures (the default was 32) and the instrument (for guitar, which saves me from having to remove the bass clef staff).
Now, the appetite comes by eating ... -;)
Without threatening the stability of these plugins Half and Double Time (until now, it holds ...), what should I modify, add, subtract as text, to have a chance that these plugins preserve at least two voices (1 and 2) ?
Thanks.
halftime_v2_0_2.qml and doubletime_v2_0_2.qml
In reply to Next step... (maybe?) So, I by cadiz1
That code Loops thru all 4 voices. Of you want it to keep voice 1 and 2 and only modify voice 3 and 4, just change `var voice = 0` to `var voice = 2`
In reply to That code Loops thru all 4 by Jojo-Schmitz
I change this:
Unfortunately, it doesn't work. Notes in voice 2 are always lost. :(
In reply to I change this: by cadiz1
Read again what I wrote :-)
What you did was to modify voice 1 and 2, but keep voice 3 and 4
In reply to Read again what I wrote by Jojo-Schmitz
Eg, modify voice 1 and 2, how?
Could you re-write exactly all the text (the whole sentence) please? Between ('var voice = 0 and voice++) ?
I'm completely newbie for plugins... It's gibberish here!
In reply to Eg, modify voice 1 and 2, by cadiz1
Make the line read
for ( var voice = 2; voice < 4; voice++) { // each voice
In reply to Eg, modify voice 1 and 2, by cadiz1
This skips voice 1 and 2 and works on voice 3 and 4:
for (var voice = 2; voice < 4; voice++)
This works on voice 1 and 2 and skips voice 3 and 4:
for (var voice = 0; voice < 2; voice++)
In reply to This skips voice 1 and 2 and by Jojo-Schmitz
"This works on voice 1 and 2 and skips voice 3 and 4:
for (var voice = 0; voice < 2; voice++)"
Well, it was I have exactly changed, right ? (see the link below of previous message) With failure here. Or I misses something?
https://musescore.org/en/node/194181#comment-715681
New try tomorrow.
In reply to "This works on voice 1 and 2 by cadiz1
Right and was what you didn't want, you want to keep voice 1 and 2 untouched, I think