Neon icon indicating copy to clipboard operation
Neon copied to clipboard

Neon won't allow you to create an oblique bigger than a fifth

Open JoyfulGen opened this issue 2 years ago • 3 comments

The normal behaviour for creating an oblique is as follows:

  • Select two consecutive puncta with the neume component tool;
  • Click on "toggle ligature";
  • The two puncta become an oblique;
  • The end.

However, I've just come across an oblique that covers an interval of a sixth and I'm having some problems. Here's how to reproduce that:

  • Input two new puncta that are at least 6 notes apart, and group them with the neume and neume component tools;
  • Select the two neume components and click on "toggle ligature";
  • No oblique will appear. Instead, the lower punctum should hop to align vertically with the upper one. If you move either puncta around, the other will hop up one pitch. Here's a demo:

https://user-images.githubusercontent.com/83373378/225623422-cd0a4895-f27d-4576-927c-edb9322227e4.mov

Additional fact: in the MEI file, the two neume components are ligated. They just don't show up as such in Neon.

This bug is very uncommon (I'd never seen such a long oblique before), but when it happens I have no way to work around it.

JoyfulGen avatar Mar 16 '23 12:03 JoyfulGen

How weird! Also, haven't we seen this vertical alignment and/or hopping behaviour in some bug before? (t might have a related solution, if I could only think of what it was!)

annamorphism avatar Mar 16 '23 16:03 annamorphism

Puncta within an oblique hopping around were first recorded wayyyyyyy back, when we couldn't toggle a ligature that had already been toggled once. Ungrouping a neume that contained an oblique would result in the oblique becoming un-ligated and the lower punctum hopping to align with the upper one, as is happening here. This is detailed here: https://github.com/DDMAL/Neon/issues/641#issuecomment-856943308.

Something apparently identical also happened in the times when we couldn't group an oblique with puncta on either side of it: https://github.com/DDMAL/Neon/issues/792.

Finally, something similar happened when we couldn't have two obliques in a row: https://github.com/DDMAL/Neon/issues/741. In this case however, puncta and obliques would behave much more erratically, so I don't know if it's the same thing.

JoyfulGen avatar Mar 17 '23 10:03 JoyfulGen

I've checked smufl. It doesn't have the font for obliques bigger than a fifth. This is why neon acts weird when the user tries to create one. One possible solution would be adding a check before creating a new ligature.

yinanazhou avatar Apr 11 '23 19:04 yinanazhou