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

Incremental abc compilation starting at voice level #11

Closed
ciacob opened this issue Mar 22, 2024 · 1 comment
Closed

Incremental abc compilation starting at voice level #11

ciacob opened this issue Mar 22, 2024 · 1 comment
Labels
enhancement New feature or request imported

Comments

@ciacob
Copy link
Owner

ciacob commented Mar 22, 2024

Tests have proven that the largest portion of CPU time is spent compiling the abc mark-up that is to be sent as input to the abc2ps renderer.

However, there is no reason for the whole score to be re-compiled each time a note pitch is altered, for example. Instead, an incremental compilation method needs to be devised, where cue points are maintained in the resulting abc mark-up, that point to specific structures in the data model, starting at voice level. As the user will most often work to change a voice's content, having only the abc needed to render that voice compiled at a time will GREATLY improve performance. After compiling the fragment, it is inserted in the existing abc mark-up based on the cues location (and the subsequent cues' position will be updated as needed, to remain true to the structures they represent).

Unfortunately, it is unclear, for the time being if similar optimizations can be employed to the SVG rendering process.

@ciacob ciacob added imported enhancement New feature or request labels Mar 22, 2024
@ciacob
Copy link
Owner Author

ciacob commented Feb 13, 2025

A new score renderer/editor/engine is being worked on, which makes this score rendering optimization proposal obsolete.

@ciacob ciacob closed this as completed Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request imported
Projects
None yet
Development

No branches or pull requests

1 participant