humdrum-tools / verovio-humdrum-viewer

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

Cross-staff stem displacement for chords #168

Open jacekiwaszko1 opened 5 years ago

jacekiwaszko1 commented 5 years ago

When a cross staff chord contains a note that forms a second with a note/chord in the other staff, the note is moved out of the way correctly, but the stem and other notes of the chord on its home staff are not moved:

detached-stem-1

**kern  **kern
*clefF4 *clefG2
4c> 4A  4d
4B  4d 4c<
=   =
*-  *-
!!!RDF**kern: > = above
!!!RDF**kern: < = below

Here is the expected rendering of the example:

detached-stem-target

craigsapp commented 2 years ago

Still wrong in verovio, but getting closer:

Screen Shot 2022-05-04 at 12 56 10 PM

Related to issue https://github.com/rism-digital/verovio/issues/2808