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 optional repeats expansion on MIDI output #3733

Open
fernandoherreradelasheras opened this issue Jul 19, 2024 · 2 comments
Open

Implement optional repeats expansion on MIDI output #3733

fernandoherreradelasheras opened this issue Jul 19, 2024 · 2 comments

Comments

@fernandoherreradelasheras
Copy link
Contributor

This should take into consideration elements, section level and all supported measure-level repetition elements.

Also, if a group of measures to be repeated contains n verses the repeat should be expanded n-times using the n-th verse on each of those expansions.

@Muromi-Rikka
Copy link

This is a requirement that has not been refined for a long time. It is possible that the developers consider it insignificant for rendering, which is why this issue has not been resolved.
as #235

@lpugin
Copy link
Contributor

lpugin commented Aug 1, 2024

As explained here, you can do this with an <expand> element indicating the succession of repeats. This allows for complex repetitions patterns to be properly represented, both in visually and in MIDI. You need to pass the option --expand for this to be triggered.

If you need only the MIDI repeated but the not visually, you simply need to render it twice, once with --expand for the MIDI and once without for the visual output.

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

No branches or pull requests

3 participants