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

Static SVG renderer #38

Closed
infojunkie opened this issue Sep 29, 2024 · 3 comments
Closed

Static SVG renderer #38

infojunkie opened this issue Sep 29, 2024 · 3 comments

Comments

@infojunkie
Copy link
Owner

There are use cases where the score does not need to be responsive, and thus can be rendered offline and displayed statically.

Create a new renderer that accepts an SVG and a map of graphic elements to time entries to allow the player to perform the same interactions as the current interactive renderers.

Examples of SVG renderers: Verovio CLI tool, Lilypond.

@infojunkie
Copy link
Owner Author

MuseScore has a similar system for its web platform, using a space+time map like the following: https://musescore.com/static/musescore/scoredata/g/f71d1977c4c104dd3b136b0d291d46bb71633e12/space.jsonp?revision=1612934314&no-cache=1728193068

@infojunkie
Copy link
Owner Author

Currently working on this at #43

@infojunkie
Copy link
Owner Author

infojunkie commented Oct 15, 2024

The MusicXML Player Demo now includes a sample called "Après un rêve" which features pre-rendered SVG + MIDI assets from MuseScore. These assets are directly loaded into the player for rendering and playback. The only requirement is that the asset metadata include both a timemap from timestamps to measures/notes, and a spacemap from coordinates to measures/notes.

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

1 participant