Set the width of the measures
Hello,
I would like to create a plugins allowing to fix the width of the measures but I cannot find any documentation in French.
I imagine that it should take a few lines, but if you do not know QML which is my case, it is not simple.
Thanks for your help
Bonjour,
Je voudrais créer un plugin permettant de fixer la largeur des mesures mais je ne trouve aucune documentation en français.
J'imagine que cela devrait prendre quelques lignes, mais si vous ne connaissez pas QML qui est mon cas, ce n'est pas simple.
Comments
Such an option doesn't exist. Fixed measure width existed in MuseScore 1.x, but got removed as it caused more trouble than doing good
In reply to Such an option doesn't exist… by Jojo-Schmitz
Too bad, thank you for your answer
In reply to Such an option doesn't exist… by Jojo-Schmitz
in fact the solution is simply to put 18 in Format / style / Measuring width and 1 in spacing.
And I get a grid where all the measurements are equal. .
A measure has no width setting, so also no way to make it fixed; definitely not with "a few lines of QML".
In reply to A measure has no width… by jeetee
Too bad, thank you for your answer
In reply to Too bad, thank you for your… by lesmirons
I'm wondering what you're attempting to achieve though. Having equally sized measures makes it notoriously harder to keep track of where you are on a page when playing through the score. Many publishing standards and housed explicitly ask you to not make measures the same width and go out of there way to ensure that.
In reply to I'm wondering what you're… by jeetee
Still, there are a few special cases where it can be useful - certain educational contexts, etc. It's also something that people who grew up on handwritten leadsheets have become accustomed to, and even though it's a bad idea in general, it has some advantages where it comes to gauging the spacing of chord symbols specifically.
Rather than thinking about plugins, I'd highly recommend you consider actually getting into the MuseScore source code and implementing this feature again, It actually wouldn't be too hard as long as you don't mind living with the same limitations that MuseScore 1 had (eg, bad things happen if you try to squeeze too much onto a system). I and other would be available to help in the developer chat on Telegram.
In reply to Still, there are a few… by Marc Sabatella
It is really nice to answer me but I am not able to intervene on the source code.
In reply to I'm wondering what you're… by jeetee
My goal is simple as I indicated I want to create a grid and in a grid editor all the "boxes" are the same size
Look the file join please.
In reply to My goal is simple as I… by lesmirons
OK, so you're not entering any notes, but creating a chord chart. That makes more sense now indeed, and there lining up the measures is common practice.
Then indeed your solution using minimal measure width setting is a decent one. Be aware that this will stop working as soon as actual notes/rests are entered into the measures.
In reply to OK, so you're not entering… by jeetee
Yes, if I don't entering notes it's perfect.
Thank you for your reply.
In reply to Yes, if I don't entering… by lesmirons
BTW, other alternative is to enter a stream of rests of consistent duration and make them invisible. This can be useful to help balance the width of the empty and non-empty measures.
In reply to BTW, other alternative is to… by Marc Sabatella
Yes indeed it works too. Thank you
In reply to A measure has no width… by jeetee
in fact the solution is simply to put 18 in Format / style / Measuring width and 1 in spacing.
And I get a grid where all the measurements are equal. .