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

Fixed: Specification of clef, keysig, timesig changes #91

Merged
merged 1 commit into from
May 23, 2024

Conversation

ahankinson
Copy link
Contributor

No description provided.

@ahankinson ahankinson requested a review from lpugin May 23, 2024 15:09
Copy link

github-actions bot commented May 23, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-05-23 15:56 UTC

@ahankinson ahankinson added the Type: Spec Clarification Clarifications to existing content in the spec label May 23, 2024
v2/index.html Show resolved Hide resolved
@ahankinson
Copy link
Contributor Author

ahankinson commented May 23, 2024

Comment about this change from @lpugin on the errant commit of this section on another branch:

This [not permitting a space within the c/t/k change section] is not what Verovio currently expects. I think it would be clearer to require a space after every individual change.

I thought about that. My reasoning is this: We do not permit a space in any other part of the "Music notation" section. The clef / timesig / keysig (c/t/k) section is the only place where we permit spaces.

There are a few factors I considered:

  1. Most of the time, only one of the c/t/k changes will be required. So the issue of having multiple ones together affects a small proportion of the incipits.
  2. When more than one change is required, the field delimiters are unique enough that you can use them as separators
  3. A lot of the characters in the 'change' section can mean something different in the musical section, so visually I find I can confuse the "/" in $xFC @3/2 GAB with a barline. $xFC@3/2 GAB makes it clearer that the / is associated with the change block.

So the idea with a single space is to create a sort-of "header" or "scoreDef" section that is clearly separate from the "music notation" section. This is already the case with the "real" c/t/k sections, that they are set apart from the notation. If we allow (or even require) spaces between each of the "changes" too, it will be harder to tell what part is the change, and what part is the notation.

And, for what it's worth, Verovio already handles this correctly even though it flags it with a warning.

@lpugin
Copy link
Contributor

lpugin commented May 23, 2024

OK. Having no space would make it consistent with the single-line input, so I think you are right. We need a ticket or label to remember we need to fix Verovio.

@ahankinson
Copy link
Contributor Author

Done rism-digital/verovio#3692

@lpugin lpugin force-pushed the fixed-change-of-clef-etc branch from 4329ff2 to 30fdb86 Compare May 23, 2024 15:55
@lpugin lpugin merged commit d9a1745 into main May 23, 2024
1 check passed
@lpugin lpugin deleted the fixed-change-of-clef-etc branch May 23, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Spec Clarification Clarifications to existing content in the spec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants