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

Implement HalfPageView #247

Closed
cecilios opened this issue Jul 6, 2020 · 0 comments · Fixed by #248
Closed

Implement HalfPageView #247

cecilios opened this issue Jul 6, 2020 · 0 comments · Fixed by #248

Comments

@cecilios
Copy link
Member

cecilios commented Jul 6, 2020

Its need was discussed in #233.

It will have a double behaviour:

  • In normal mode (no playback) it will behave as SinglePageView: a single page as high as necessary to contain all the score.
  • When entered in playback mode, the bitmap to be rendered in the application window is split horizontally in two halves, originating two virtual vertical windows, one at top and the other at bottom. In the top window it is displayed the first score chunk and the second chunk is displayed in the bottom window. When playback enters in the bottom window the top window is updated with the third chunk. Next, when the playback enters again in the top window, the bottom window is updated with the next chunk, and so on.
  • When playback is finished (because the end of the score is reached or because the app stops playback  -- but not when paused --) the display returns automatically to SinglePageView.

This view allows to solve the problem of repetition marks and jumps: when the window being played has a jump, the other window is updated with the next logical system positioned at right measure instead of with the next chunk. The behaviour for the user is simple: when the user finds a jump he/she will know that it is necessary to jump to the other half window, unless the repetition is over and the music should continue from that point.

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 a pull request may close this issue.

1 participant