The only way I see it would work currently is to search through your current track backwards and find the most recent Element of type TimeSig. I'm also unsure about how/where you'd find a/the difference between a local and a global TimeSig, as this will affect on which tracks you'll have to look for the TimeSig
Comments
The measure must be empty, drag from the palette the Time Signature see: https://musescore.org/en/handbook/time-signatures
In reply to The measure must be empty, by Shoichi
Thank you for trying to help me, but I ask about how to get existing time signature of a measure programmatically (that is in plugin development)...
In reply to Thank you for trying to help by Ales Tsurko
Excuse me (seemed strange to me) :(
In reply to Excuse me (seemed strange to by Shoichi
No problem! Thank you anyway:)
Currently you can't in a practical manner.
The only way I see it would work currently is to search through your current track backwards and find the most recent Element of type TimeSig. I'm also unsure about how/where you'd find a/the difference between a local and a global TimeSig, as this will affect on which tracks you'll have to look for the TimeSig
In reply to Currently you can't in a by jeetee
Thanks!
If I understand, Rt. click and select measure properties.
There's also the inspector but I am fuzzy on that.
In reply to If I understand, Rt. click by xavierjazz
Thank you, but my question about how to get it programmatically...
For those of you writing plugins for MuseScore 3.x:
If you have a
Measure
object, then use thetimesigActual
property.In reply to curMeasure.timesigActual by bb94
May not help the OP anymore though, 6 years later.
But I guess MuseScore 2.x had the same property.