Menu

#5543 Support single-moment horizontal brackets.

Started
None
needs_work
Enhancement
2019-08-28
2019-07-28
No

Support single-moment horizontal brackets.

This change also documents in detail the algorithm used to implement
horizontal brackets.

Also add documentation and extend regression test.

http://codereview.appspot.com/544870043

Discussion

  • Anonymous

    Anonymous - 2019-07-28
    • Description has changed:

    Diff:

    
    
    • assigned_to: Werner LEMBERG
    • Needs: -->
    • Patch: new --> review
     
  • Anonymous

    Anonymous - 2019-07-28

    Passes make, make check and a full make doc.

     
  • Anonymous

    Anonymous - 2019-07-30
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2019-07-30

    Patch on countdown for Aug 1

     
  • David Kastrup

    David Kastrup - 2019-08-01

    Can we keep this on hold yet? I haven't gotten myself to a more in-depth review of this yet and think this is going into a direction that is going to make more consistent behavior harder to provide at a later point of time.

     
    • Malte Meyn

      Malte Meyn - 2019-08-01

      And it contradicts issue [#5240]. You cannot have both—single moment brackets and adjacent brackets—with the current input syntax.

       

      Related

      Issues: #5240

      • Werner LEMBERG

        Werner LEMBERG - 2019-08-01

        Well, I implemented the easiest solution, and I don't see a contradiction. What issue #5240 talks about could be accomplished with something similar to overlapping slurs (i.e., using tags).

        Of course, I won't do a commit without David's approval since he has the best eye IMHO for syntax things.

         
        • David Kastrup

          David Kastrup - 2019-08-01

          That's part of what is troubling me: with slurs we can have immediately adjacent slurs and need to use spanner-id (using \=) for overlaps. Your proposed solution does one form of overlaps by default and would require some \=-like mechanism for immediate adjacency. I am not sure if "immediate adjacency" is the correct description for brackets both including the same note, though. And some special mechanism might be needed for disentangling the brackets: I have to do a few experiments to get a good hang of the current situation with regard to code and user interface and see how this fits in.

          If I can't find a definite way to move forward, part of the reason we have unstable releases is to test drive such changes and get further feedback. It just becomes harder to dial them back once people have gotten to rely on them.

           
  • Anonymous

    Anonymous - 2019-08-01
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2019-08-01

    Patch counted down - please push

     
  • Anonymous

    Anonymous - 2019-08-10

    Patch counted down - please push

     
  • David Kastrup

    David Kastrup - 2019-08-10
    • Patch: push --> review
     
  • David Kastrup

    David Kastrup - 2019-08-10

    I'm going to get myself look at this topic thoroughly this weekend.

     
  • Anonymous

    Anonymous - 2019-08-13
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2019-08-13

    Patch on countdown for Ausgut 15th

     
  • Anonymous

    Anonymous - 2019-08-16
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2019-08-16

    Patch counted down - please push.

     
  • Werner LEMBERG

    Werner LEMBERG - 2019-08-22

    David, did you have a chance to look at the issue?

     
    • David Kastrup

      David Kastrup - 2019-08-22

      No shortage in chances here. Am still trying to get a hang of how this kind of nestedness fits with what we do elsewhere. At least the current form of brackets makes it infeasible to stop and start a bracket at the same time. I am not sure that banking on this is a good idea. At any rate, I still need to get a hang of what code would appropriately reflect a consistent design. As mentioned, we usually don't rely on order of events in engravers. I am not sure that the nesting of brackets is likely different here: after all they can start/end at the same moment and be labelled differently.

       
  • Anonymous

    Anonymous - 2019-08-25

    I'll leave tihs another countdown

     
  • Anonymous

    Anonymous - 2019-08-28
    • Patch: push --> needs_work
     
  • Anonymous

    Anonymous - 2019-08-28

    I am going to move this back to 'needs_work' (but feel free to change that if it is in appropriate).