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

[Neon staging] Inserting a clef into a toggled syllable causes mayhem #1243

Open
JoyfulGen opened this issue Oct 14, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@JoyfulGen
Copy link
Contributor

To reproduce:

  1. Make a long syllable that spans two staves (so the second staff starts with a toggled syllable);
  2. Check the pitches of the neumes after the clef on the second staff--they should be correct;
  3. Select the clef at the beginning of the second staff and insert it into the nearest syllable;
  4. Check the pitches of the neumes again--they should now be a third too low;
  5. Now move that same clef up or down a line--the neumes following should jump down a third;
  6. Try to move those neumes--they will not want to.

Here's a demo, where I created a long syllable to test this. You can see that at the beginning the pitches of the orange podatus are F-A, which is correct. When I insert the clef into the toggled syllable, the neumes don't move, but the pitches become D-F (a third too low). When I move the clef, the neumes all jump down a third and can't be moved anymore.

Inserting.a.clef.in.a.toggle.mov

I can think of two solutions to this:

  1. Normally, if a clef is in the middle of a syllable it has to be inserted into that syllable, otherwise the pitches following it will be wrong. However, in this specific instance, because there's a staff break and a toggled syllable, the pitches aren't wrong, so it's not technically necessary to insert that clef into the syllable for MEI reasons. So I suppose a solution would be to prevent the user from doing so, and maybe adding a friendly message saying "Inserting that clef isn't necessary!"
  2. It could also be friendly to let the user insert the clef into the syllable if they want to, in which case I guess the solution is fixing those little bugs.

@yinanazhou what do you think? I guess it'll depend on what the MEI likes best. I'm happy with either solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant