Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generates unrolledTempomap from RepeatList and original graphical TempoMap #2133

Closed
wants to merge 1 commit into from

Conversation

ericfont
Copy link
Contributor

@@ -10,6 +10,7 @@
// the file LICENCE.GPL
//=============================================================================

#include <QtCore/QtDebug>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not needed. It's already included in all.h.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, please remove it then. For some reason debug mode failed in eclipse when I first ran the original master branch.

@ericfont
Copy link
Contributor Author

In light of the revelation that section breaks can occur on non-measure frames, I'm canceling this earlier pull request. Also another thing I now need to be aware of is: if a section ends on a fine, then it doesn't have a section break immediately after it, and hence would incorrectly not incur a pause when should actually have one. I will open up a new PR, and will probably implement my initially suggested "tick shift" method. Once #2172 gets merged, the modified unwind() will only produce RepeatSegments that never cross SECTION_BREAK boundaries. Therefore, I think I just would need to make a note during unwinding about which RepeatSegments start on a section break (could be a boolean variable in RepeatSegment, such as "isAfterSectionBreak"). Those RepeatSegments and their measures will have their initial tick value be increased by one, which could probably be handled when RepeatList::update() is called.

I will not try to generate an unrolled tempomap for my next PR...I'll leave that for another feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants