There were a couple of errors in the snippet you posted - the version number 
should be in inverted commas "", and you have "arpeggi" which I assume should 
be arpeggio.

Correcting these gives a score which compiles, but with a lot of errors.  See 
the attached log file.  The slurs in the output have a lot of space to cross, 
and to my eye LilyPond does a fair job of fitting them in.

--
Phil Holmes


  ----- Original Message ----- 
  From: 胡海鹏 - Hu Haipeng 
  To: lilypond-user 
  Sent: Sunday, October 03, 2010 12:09 PM
  Subject: bad cross-staff slurs


  Hello,
    A person reported that in the following harp passage of mine, the slurs are 
blurred with the notes. He read the score generated by 2.13.24, so: Is it still 
wrong in 2.13.35? How to solve the issue?
  Regards
  Haipeng
  \version 2.13.35
  headsOn = \sequential {
    \override Dots #'transparent = ##t
    \override Stem #'transparent = ##t
    \override Beam  #'transparent = ##t
  }
  headsOff = \sequential {
    \revert Dots #'transparent
    \revert Stem #'transparent
    \revert Beam #'transparent
  }
  str = \change Staff = rh
  stl = \change Staff = lh
    harprh = \relative c'' {
      \clef treble \key ees \major \time 4/4
      \showStaffSwitch
    % rehearsal 6, bars 83-99
      s1*6 |
      s2 <c a e>4\arpeggio r |
      s1*8 |
      <bes aes f d>2\arpeggio r_\markup { \harp-pedal #"--^|^--^" } |
      r \stl \headsOn bes,,8\glissando \str f''\glissando \stl bes,4\glissando |
    % rehearsal 7, bars 100-108
      \str \headsOff bes'''4 r r2 |
    }
    harplh = \relative c {
      \clef bass \key ees \major
    % rehearsal 6, bars 83-99
      \set tupletSpannerDuration = #(ly:make-moment 1 4)
      \times 2/3 { ges([ des' ges] \str bes[ des ees] bes'[ ges ees] \stl des[ 
bes ges)] } |
      \times 2/3 { f,([ des' f] \str bes[ des f] des'[ bes f] \stl bes,[ f 
bes,)] } |
      \times 2/3 { a([ e' a] \str cis[ e fis] cis'[ a fis] \stl e[ cis a)] } |
      \times 2/3 { gis,([ e' gis] \str cis[ e gis] e'[ cis gis] \stl e[ b e,)] 
} |
      \times 2/3 { a,([ e' a] \str c[ e a] c[ a e] \stl c[ a e)] } |
      \times 2/3 { g,([ e' a] \str c[ e a] c[ a e] \stl c[ a e)] } |
      \times 2/3 { fis,([ e' a] \str c[ e a)] } \stl <fis, c'>4\arpeggio f,4 |
      \times 2/3 { e8([ b' e] \str a[ b e)] \stl e,([ b' e] \str gis[ b e)] } |
      \stl \times 2/3 { g,,,([ d' g] \str b[ d e] b'[ g e] \stl d[ b g)] } |
      \times 2/3 { fis,([ d' fis] \str ces'[ d fis] d'[ ces fis,] \stl ces[ 
fis, ces)] } |
      \times 2/3 { bes([ f' bes] \str d[ f g] d'[ bes g] \stl f[ d bes)] } |
      \times 2/3 { a,([ f' a] \str d[ f a] f'[ d a] \stl f[ c f,)] } |
      \times 2/3 { bes,([ f' bes] \str des[ f bes)] \stl a,,([ f' bes] \str 
des[ f bes)] } |
      \stl \times 2/3 { aes,,([ f' bes] \str des[ f bes)] \stl g,,([ f' bes] 
\str des[ f bes)] } |
      \stl \times 2/3 { ges,,([ f' bes] \str des[ f bes)] \stl f,,([ des' bes'] 
\str des[ f bes)] } |
      \stl <e, aes bes>2\arpeggi r |
      r s |
    % rehearsal 7, bars 100-108
      R1 |
    }
    dynamics = {
    % rehearsal 6, bars 83-99
      s1*2 | s\< | s\!\mf\< | s1\!\f\> | s2 s\!\mp |
      s1*2 | s\< | s\!\mf\< | s2 s\!\> | s1\!\mp | s2 s\f |
    % rehearsal 7, bars 100-108
      s1 |
    }
    \score {
      \new PianoStaff = "harp" <<
        \set PianoStaff.instrumentName = "Harp"
        \set PianoStaff.shortInstrumentName = "Hrp."
        \set PianoStaff.connectArpeggios = ##t
        \new Staff = "rh" { \harprh }
        \new Dynamics { \dynamics }
        \new Staff = "lh" { \harplh }
      >>
      \layout { }
    }






------------------------------------------------------------------------------
  全国最低价,天天在家冲照片,24小时发货上门! 


------------------------------------------------------------------------------


  _______________________________________________
  lilypond-user mailing list
  [email protected]
  http://lists.gnu.org/mailman/listinfo/lilypond-user

Attachment: CrossStaffSlurs.Log
Description: Binary data

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to