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

Question: Compose Music View from "slices" #601

Open
uliska opened this issue Jan 28, 2015 · 4 comments
Open

Question: Compose Music View from "slices" #601

uliska opened this issue Jan 28, 2015 · 4 comments

Comments

@uliska
Copy link
Collaborator

uliska commented Jan 28, 2015

Considering options for a way to enable partial recompilation I have a question that is related to the point-and-click implementation (which I don't really know yet).

I'm experimenting with modifying lilypond-book-preamble.ly to generate a score as a set of one-system files. The idea is to have an alternative Music View compose its representation from such slices. That way it would become possible to (automatically) recompile only the "current" system, which would dramatically increase the responsiveness of editing scores with Frescobaldi.

Before thinking any further I'd have to know how this would affect point-and-click.
It is easy to produce these sliced PDFs with point-and-click links, so this part of the game would probably be unproblematic: If a Music View is composed of individual PDF files the links should still work as expected. My question is if it would be problematic to have the links from source to score work correctly in such a scenario.
How are these links generated anyway? It seems reasonable to assume that the links from the PDF files are being read and that the structure linking between source and score is produced from that process. Then I think it should be more or less straightforward to add information about which file the current item is in?

@uliska
Copy link
Collaborator Author

uliska commented Jan 28, 2015

Maybe an alternative - less intrusive - approach would be to add a panel that displays the current system only. This could be used for automatic recompilation, so the full score doesn't have to be recompiled in total (and doesn't automatically reflect the latest changes), but the user has a close-to-immediate visual feedback for the line currently edited.

@wbsoft
Copy link
Collaborator

wbsoft commented Jan 28, 2015

It is no problem to display pages from multiple pdfs in the music view in one go.

I deliberately designed qpopplerview so that only the Page object has the notion of a pdf document. Also the links are collected per-document.

The convenience method 'load' of qpopplerview.View just adds pages to a layout, but you can easily add pages from different pdf documents to a layout.

@uliska
Copy link
Collaborator Author

uliska commented Jan 28, 2015

OK, I'll look into that. Maybe I'll see myself (which would be the preferred way ;-) )

@wbsoft
Copy link
Collaborator

wbsoft commented Jan 28, 2015

I want to make qpopplerview.Page generic so that it even could display any other graphic instead of a page from a pdf. (issue #508)

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

No branches or pull requests

2 participants