traditional vocal beaming
I loaded the 'traditional vocal beaming' plugin into MuseScore 4. When I try to use it on a musescore score it closes. Any remedy or..wait patiently?
Ho caricato il plugin "traditional vocal beaming" in MuseScore 4. Quando cerco di usarlo su di una partitura musescore si chiude. Qualche rimedio o..attendere pazientemente?
Comments
Seems some porting is needed
You need to replace "Qt.quit" with "quit" (and add title)
Does this work?
In reply to You need to replace "Qt.quit… by graffesmusic
Perfect, works, thanks.
In reply to You need to replace "Qt.quit… by graffesmusic
See https://github.com/heuchi/traditionalVocalBeaming/pull/1
In reply to See https://github.com… by Jojo-Schmitz
Just for my understanding: why should we use === instead of ==
In reply to Just for my understanding:… by graffesmusic
The latter could result in unwanted type conversions
In reply to Just for my understanding:… by graffesmusic
=== in ECMAScript is called "strict comparison" and doesn't type coerce its arguments, which makes it slightly faster and in most scenarios also a bit safer
== tries to coerce both sides into a comparable object representation before it does the comparison
1 === "1" : false (Number is not a String)
1 == "1" : true (Both are converted to Strings first)
In reply to === in ECMAScript is called … by jeetee
The Plugin works but not correctly. It divides all the beams without taking the actual hyphenation into account.
In reply to The Plugin works but not… by frirobi48
You're talking about the MS4 version of it, correct?
Does it differ from how it works in MS3?
In reply to You're talking about the MS4… by jeetee
Yes, that's right (Esattamente)
In reply to Yes, that's right … by frirobi48
Could you test this one?
(i never do lyrics - i am not sure how this is supposed to look)
In reply to Could you test this one? (i… by graffesmusic
Here are three tests. Much better but still some flaws. I hope it is clear 1-3-5 plugin result.
2-4-6 as expected.
In reply to Here are three tests. Much… by frirobi48
Seems to happen only with last notes of the selection/score?
In reply to Seems to happen only with… by graffesmusic
It seems so.
In reply to Could you test this one? (i… by graffesmusic
Difference to my PR being:
As far as I can tell that's not a 4.x bug though?
In reply to Difference being: diff -… by Jojo-Schmitz
But beams are behaving differently in v4.
Assuming that:
BeamMode::AUTO, "auto" }, = 0
BeamMode::BEGIN, "begin" }, = 1
BeamMode::MID, "mid" }, = 2
BeamMode::END, "end" }, = 3
BeamMode::NONE, "no" }, = 4
(just based on the order in sourcecode)
So beamMode = 0 would be auto and 1 would be begin. (which works in v3 but not in v4)
In reply to But beams are behaving… by graffesmusic
Wouldn't this then work in MuseScore 3 and 4?
In reply to Wouldn't this then wortk in… by Jojo-Schmitz
It works is v3 but not in v4.
In v4, this:
if (lyrics.length === 0) {
if (lastChord != null && hasLyrics) {
// set last chord to "BEGIN", if it existed
- lastChord.beamMode = 1;
+ lastChord.beamMode = Beam.BEGIN;
}
// don't change anything for this chord
lastChord = null;
must be set to AUTO.
This works, except for the very last note of the selection/score depending on what is selected or not
In reply to It works is v3 but not in v4… by graffesmusic
OK, so it could be made version dependant
In reply to It works is v3 but not in v4… by graffesmusic
Hi, sorry to bump a over-a-month-old thread, but are there any new developments on the status of the plugin in MS4? I would love to help resolving the issues, I just lack the skills unfortunately...
In reply to Hi, sorry to bump a over-a… by odie16
My PR hasn't been accepted yet,
But try this
In reply to Hi, sorry to bump a over-a… by odie16
Outch, that of course is a different plugin.
Try this