Hi, me again :)
I am trying to add line-breaks every 4 measures. From what I read on musicxml, I need the print new-system attribute. https://usermanuals.musicxml.com/MusicXML/Content/CT-MusicXML-print.htm
I am trying to create new systems like this (I have 6 measures right now).
for (size_t i = 0; i < part.measures.size(); i += 4) {
mx::api::SystemData system;
system.measureIndex = int(i);
score.systems.insert(system);
}
score.sort();
mx::DocumentManager& mgr = mx::DocumentManager::getInstance();
const int documentID = mgr.createFromScore(score);
But all I get is the first new-system, not the second. Any idea what I am doing wrong?
Thx
Hi, me again :)
I am trying to add line-breaks every 4 measures. From what I read on musicxml, I need the
printnew-systemattribute. https://usermanuals.musicxml.com/MusicXML/Content/CT-MusicXML-print.htmI am trying to create new systems like this (I have 6 measures right now).
But all I get is the first
new-system, not the second. Any idea what I am doing wrong?Thx