lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A staff change and phrasing slur problem


From: Urs Liska
Subject: Re: A staff change and phrasing slur problem
Date: Tue, 14 Feb 2017 14:37:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0


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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]