LibMusicXML 3.22
|
Public Types | |
typedef std::tuple< double, int, int, int > | VoicedTimePosition |
typedef std::vector< VoicedTimePosition > | TimePositionList |
Public Member Functions | |
MusicXMLTimePositions (const MusicXMLTimePositions &p1) | |
void | addTimePosition (std::string measure, double positionInMeasure, const MusicXML2::notevisitor &nv) |
float | getDxForElement (MusicXML2::xmlelement *element, double position, std::string onMeasure, int voice, int staff, double xmlOffset) |
float | getDxRelativeToMeasureForElement (MusicXML2::xmlelement *element, std::string onMeasure, int voice, double xmlOffset) |
Finds Guido Dx for XML Directions whose default horizontal position is from the Beginning of the Measure, such as Words and Tempo. | |
size_t | size () |
float getDxForElement | ( | MusicXML2::xmlelement * | element, |
double | position, | ||
std::string | onMeasure, | ||
int | voice, | ||
int | staff, | ||
double | xmlOffset ) |
Finds appropriate Guido Dx based on default-x of a musicXML element by overlooking all elements in measure based on position and voice number
element | the MusicXML element |
position | musical position in measure |
onMeasure | measure number (from musicXML) |
voice | voice number |
staff | staff number |
xmlOffset | MusicXML offset of the element if any |