Am 14.02.2017 um 14:27 schrieb Robert Blackstone:
> Dear all,
>
> I have been struggling for many hours with a pianoscore in which the mostly 
> polyphonic text regularly switches between the treble staff and the bass 
> staff.
> There should be (phrasing-) slurs joining the beamed groups of notes.
> Sometimes these slurs do not appear, as in the upper voice  between b.2 an 
> b.3 in the ME.
> Probably I do something wrong but I have not been able to find out what.
>
> Can someone help me out?

The actual problem is that the notes are encapsulated in different Voice
expressions and therefore can't be connected by spanners such as slurs
or \< \! etc.

When you write
c' << { d'' } // { d' } >> c'
LilyPond creates two temporary voices for the d-s (and make them
\voiceOne and \voiceTwo implicitly), while the original voice is
suspended during the polyphonic section.

In order to connect notes from inside the polyphonic section to the
outside you'd write

c' << { \voiceOne d'' } \new Voice { \voiceTwo d' } >> \oneVoice c'

This way the main voice is continued through c' d'' c' while only the d'
is wrapped in an implicit temporary voice.

With this information you should be able to disentangle your example.
Actually I would really not create temporary polyphony for each measure
as this makes things *very* complicated. But of course this may be
related to your real-world example.

HTH
Urs

>
> Thanks in advance.
>
> Best regards,
>
> Robert Blackstone
>
>
> %%%%%%%%%%%%%%%%% 
> \version "2.18.2"
>
> upper  = {
>   \clef treble
>   \time 3/8
> s8 s8 s8 | %1
> s8 s8 s8 | %2
> s8 s8 s8  | %3  
>  }
>
> lower = {
>   \clef bass
>   \time 3/8
>   << { a8 [ b ]  \( c' [  \)  }  \\ {\stemDown  c8 [ d ]\( e [ \)  } >> | %1
> << { d'8 ] \( \change Staff = "upper" e' \) [ f' ] \(  }  \\ { \stemDown f8 
> \(  ] g \)  [ a  ]  \(   } >> | %2
> << { \change Staff = "upper"  g' \)  [ a' b' ]   }  \\ { \change Staff = 
> "upper" \stemDown b \)  [ c' d'  ]  } >> | %3  
> }
>
> \score {
>   \new PianoStaff 
>   }
>   <<
>     \new Staff = "upper" \upper
>     \new Staff = "lower"  \lower
>   >>
>   \layout { }
> }
> %%%%%%%%%%%%%%%%%%%%
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to