humdrum-tools / verovio-humdrum-viewer

Verovio Humdrum Viewer
http://verovio.humdrum.org
38 stars 9 forks source link

Cross staff beaming #250

Closed AlexT2612 closed 2 years ago

AlexT2612 commented 5 years ago

Hi !

I've been trying to change the orientation of cross staff beams. Is there any mean to add such a fonction to vhv ? I'd be soo much grateful.

Thanks !! crossstaff

craigsapp commented 5 years ago

This feature is dependent on having such beaming implemented in verovio. It has already been requested as a feature in issue https://github.com/rism-ch/verovio/issues/98, but note that the request was in 2015, so there is no time-frame projected for implementing the feature 😉

Cross-staff beaming is allowed in verovio, as you may have noticed, but the limitation is that the stems currently have to go on the same side fo the beam, not on opposite sides as in your example. One complication for implementing opposite-side beaming is what angle to give to the beam. In your example one beam is angled down and the other is straight. The second style would probably be hard to predict. But there are stem length controls in verovio that can allow adjustment of the beam angles so that will not be too much of a problem if it needs to be adjusted manually.

AlexT2612 commented 5 years ago

Thank you for your answer, as usual :) I'll take another chance: do you know why the space between the staves is increasing when there is cross staff beaming ?

craigsapp commented 5 years ago

do you know why the space between the staves is increasing when there is cross staff beaming ?

I have noticed that problem for quite a while (so I have been used to it and ignored it). Looking in the verovio issues, I could not find any entry for it, so I just created one: https://github.com/rism-ch/verovio/issues/1187

The problem looks like it is simple to fix, so this problem should be more likely to be fixed sooner rather than later.

craigsapp commented 2 years ago

This example is now possible:

Screen Shot 2022-04-02 at 9 01 43 AM
**kern  **kern
*clefF4 *clefG2
*M3/8   *M3/8
=1  =1
*   *^
4.AA/ 4.AAA 8.cL    16c\LK
.   .   8E</J
*   *v  *v
.   16d 16F<
.   16e 16G<
.   16g 16B<J
=2  =2
*   *^
4D/ 4DD (8fL    16f\LL
.   .   16A\
.   8dJ)    16d\
.   .   16F</JJ
*   *v  *v
=-  =-
*-  *-
!!!RDF**kern: < = below