Skip to content

Commit

Permalink
New <measure> for blank files in neume notation
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Dec 12, 2023
1 parent e847556 commit fe3a052
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/iomei.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4467,6 +4467,13 @@ bool MEIInput::ReadSectionChildren(Object *parent, pugi::xml_node parentNode)
LogWarning("Unsupported '<%s>' within <section>", current.name());
}
}

// New <measure> for blank files in neume notation
if (!unmeasured && parent->Is(SECTION) && (m_doc->m_notationType == NOTATIONTYPE_neume)) {
unmeasured = new Measure(false);
m_doc->SetMensuralMusicOnly(true);
parent->AddChild(unmeasured);
}
return success;
}

Expand Down

0 comments on commit fe3a052

Please sign in to comment.