Claire,

 

Some suggestions.

Use only two voices, one in each staff.

The treble clef in the lower staff is a result of the “grace note bug.” A 
spacer grace note must be put in the lower staff aligned to the one in the 
upper staff.

If cross staff stems is necessary you can create a second voice in the upper 
staff and follow

http://lilypond.org/doc/v2.19/Documentation/notation/common-notation-for-keyboards

Attached is my setting of the piece.

 

Mark

 

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org] 
On Behalf Of Claire Meyer
Sent: Wednesday, August 26, 2020 11:42 AM
To: Lilypond-User Mailing List <lilypond-user@gnu.org>
Subject: Problem with cross-staff colliding notes

 

Hi,

 

I'm trying to reproduce a piano score that has a lot of cross-staff notes, some 
of them colliding. There are 3 voices : 

- one for the right hand on the upper staff, 

- one for the left hand on the lower staff, 

- and for the left hand on the upper staff. 

That last voice is the cross-staffed one. Because the right hand overlaps a bit 
with the left, some collisions happen because the overlapping notes are written 
on the same staff. 

 

In the snippet that I'm sharing, there are two problematic bars : 

- on the first bar, I "solved" the problem (the pair of Fs). I tried looking at 
lilypond examples to see for something matching, found something, applied it 
and it worked, but I have no idea why (and I'd be grateful for an explanation).

- then for the second bar, there are two pairs of F, and I'd like the same 
thing as for the first bar, but have not been successful in any attempt to do 
so (admittedly because I didn't understand how I solved my problem the first 
time around).

- in the snippet that I provide, I also seem to have a weird treble clef, and I 
don't why. I don't have it in my full score, it happened when I trimmed my 
score to provide the snippet, so it's not a big deal to me, but if someone can 
explain, I'm grateful too.

 

The snippet is on lilybin : http://lilybin.com/7w0cet/2

 

Thanks to anyone who can help!

Claire

 

\version "2.19.49"


\score {
  \new PianoStaff  <<
    
    \new Staff = "upper"
    \with {\remove "Time_signature_engraver"}
    \relative c'' {
    \key f \minor
    
    \slashedGrace aes8 g4 \slashedGrace g8 f4 f2 |
    \slashedGrace aes8 g4 \slashedGrace g8 f4 f2 |   
    }
       
       
    \new Staff = "lower" 
    \with {\remove "Time_signature_engraver"}
    \relative c {
    \clef bass 
    \key f \minor
    
    \slashedGrace s8 r4 \crossStaff
    <aes' c f>2 q4 |
    r q q2 | 
    }
    
  >>
  \layout{
    indent = #0
    
  }
  }
  
}

%{
convert-ly.py (GNU LilyPond) 2.19.80  convert-ly.py: Processing `'...
Applying conversion: 2.19.2, 2.19.7, 2.19.11, 2.19.16, 2.19.22,
2.19.24, 2.19.28, 2.19.29, 2.19.32, 2.19.40, 2.19.46, 2.19.49
%}

Reply via email to