#include <MeasureMC.h>
Inheritance diagram for MeasureMusic:

|
|
By default a measure will have at least 1 staff Build a measure with n staves |
|
|
This add a timed attibutes |
|
|
This set the measure current position back of the quantity specified in duration I had the following prevention to illogical behavior that if the current position computed is lower than 0 I set it to 0 if the value of the backup is -1 like it happens when it is empty we do the same thing
|
|
|
This method display the stemGroups of a measure it is usefull for a debbugging purpose |
|
||||||||||||||||
|
This set the measure current position forward of the quantity specified in duration
|
|
|
|
|
|
This function is used when parsing time attributes. In that case we must know the position of the last note appended.
|
|
|
Used for the retrieving the current shit clef from the preceding measure
|
|
|
|
|
|
Get the implicit atleration pitch |
|
|
If total divisions is 0 this mean we have no time measure attribute defined so we get the maximum time among the sorted notes. |
|
|
|
|
|
See why the method is called twice
|
|
|
|
|
|
In that method we introduce the rules for building StemGroups. There are many rules
At last we append the tuplets and other special stem group forms |
|
|
|
|
|
If total divisions is 0 this mean we have no time measure attribute defined so we get the maximum time among the sorted notes. |
|
|
The weight is :
|
|
|
return true if the mesure has some attributes |
|
||||||||||||
|
Insert the note music m at staff staff. This method perform some specials for :
Traitement des alterations If note belongs to a chord then it has the same startPosition as the las note we have inserted |
|
|
This insert a direction |
|
|
Make the attributes not displayed |
|
|
|
|
|
This set the attributes of the measure.
|
|
|
Used for the setting the current shit clef from the next measure |
|
|
Set the measure Id. The id should be sequentially correct. For instance, a measure 2 cannot be played before a measure of id 1 Warning : The id of the measure does not correspond to the id. property specified in the XML. This is beacuse the id of the XML hjas no constraint to be sequential. |
|
|
Set the implicit atleration pitch |
|
|
This sets the measure section Index Also we set the measure section index of all the note in the measure because the measure is appended AFTER all the notes has been appended to the measure |
|
|
This set the number of staves in the measure Maybe the staves container will be deprecated So we'd better try some day to see if commenting this whole method change the rendering. |
|
|
Starts a tuplet for use with the insert function |
|
|
Ends a tuplet, for use whith the tuplet function. |
|
|
Make the attributes not displayed |
|
|
String representation of the measure
|
1.3.6