Skip to content

Commit

Permalink
y
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed Aug 20, 2024
1 parent fc321fa commit 57b6180
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions importexport/musicxml/importmxmlpass2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3276,6 +3276,7 @@ void MusicXMLParserDirection::direction(const QString& partId,
else
skipLogCurrElem();
}
handleTempo();
handleRepeats(measure, track, tick + _offset);
handleNmiCmi(measure, track, tick + _offset, delayedDirections);
handleChordSym(track, tick + _offset, harmonyMap);
Expand Down Expand Up @@ -3617,7 +3618,7 @@ void MusicXMLParserDirection::directionType(QList<MusicXmlSpannerDesc>& starts,

textToDynamic(nextPart);
textToCrescLine(nextPart);
handleTempo(nextPart);
//handleTempo(nextPart);
_wordsText += nextPart;
}
else if (_e.name() == "rehearsal") {
Expand Down Expand Up @@ -4391,7 +4392,7 @@ void MusicXMLParserDirection::handleChordSym(const int track, const Fraction tic
_wordsText.clear();
}

void MusicXMLParserDirection::handleTempo(QString& wordsString)
void MusicXMLParserDirection::handleTempo(/*QString& wordsString*/)
{
// Pick up any tempo markings which may have been exported from Sibelius as <words>
// eg. andante (q = c. 90)
Expand Down
2 changes: 1 addition & 1 deletion importexport/musicxml/importmxmlpass2.h
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class MusicXMLParserDirection {
void handleRepeats(Measure* measure, const int track, const Fraction tick);
QString matchRepeat() const;
void handleNmiCmi(Measure* measure, const int track, const Fraction tick, DelayedDirectionsList& delayedDirections);
void handleTempo(QString& wordsString);
void handleTempo(/*QString& wordsString*/);
void handleChordSym(const int track, const Fraction tick, HarmonyMap& harmonyMap);
bool isLikelyFingering(const QString& fingeringStr) const;
bool isLikelyCredit(const Fraction& tick) const;
Expand Down

0 comments on commit 57b6180

Please sign in to comment.