How to create a new bar #141
Answered
by
webern
pedrojuarezrossello
asked this question in
Q&A
-
Hey, I'm recently built the library and I can't manage to create a new bar - I'm able to write one following the example, but I'm stuck when creating another one. Can someone help out please? |
Beta Was this translation helpful? Give feedback.
Answered by
webern
May 25, 2023
Replies: 1 comment 2 replies
-
Did you forget to add your example? The example in the readme uses this code to add a measure. You could do this multiple times to add multiple measures: part.measures.emplace_back( MeasureData{} );
auto& measure = part.measures.back(); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
pedrojuarezrossello
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you forget to add your example?
The example in the readme uses this code to add a measure. You could do this multiple times to add multiple measures:
part.measures.emplace_back( MeasureData{} ); auto& measure = part.measures.back();