Skip to content

Commit

Permalink
Implementation for issue humdrum-tools/verovio-humdrum-viewer#835
Browse files Browse the repository at this point in the history
  • Loading branch information
craigsapp committed Sep 19, 2023
1 parent 6938832 commit 4030f53
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/iohumdrum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11859,6 +11859,11 @@ bool HumdrumInput::fillContentsOfLayer(int track, int startline, int endline, in
insertMidMeasureKeySignature(staffindex, elements, pointers, token);
}

bool isTimeSignature = layerdata[i]->isTimeSignature();
if (notAtStart && isTimeSignature) {
insertMeterSigElement(elements, pointers, layerdata, i);
}

bool forceClefChange = false;
if (token->isClef() || (*token == "*")) {
if (!(token->isMensLike() && notAtStart)) {
Expand Down Expand Up @@ -11974,9 +11979,7 @@ bool HumdrumInput::fillContentsOfLayer(int track, int startline, int endline, in
}
}
if (token->isTimeSignature()) {
// Now done at the measure level. This location might
// be good for time signatures which change in the
// middle of measures.
// Now done further above.
// insertMeterSigElement(elements, pointers, layerdata, i);
processDirections(token, staffindex);
}
Expand Down

0 comments on commit 4030f53

Please sign in to comment.