> -----Original Message----- > From: Thomas Morley <thomasmorle...@gmail.com> > Sent: Saturday, May 31, 2025 12:02 PM > To: li...@gabriel-striewe.de > Cc: lilypond-user <lilypond-user@gnu.org> > Subject: Re: tie bow within one voice in parallelMusic not displaying > > Am Fr., 30. Mai 2025 um 19:47 Uhr schrieb <li...@gabriel-striewe.de>: > > > > Dear List, > > > > I am trying to convert a composition of mine into notes using lilypond. I am > using \parallelMusic. In the right hand system I have two voices. The lower > voice (\voiceTwo) plays an E, which has to be bound to the same E in the > second bar. However, the tie bow isn’t displayed. Is my syntax wrong? Should > I try the development version and come back to the list? > > > > Thanks for your help > > > > Gabriel > > Said E is in different Voices, thus no Tie printed. Actually the same as with: > \new Staff { \new Voice { e~ } \new Voice { e } } > > While your code is fixable by using and refering to a named Voice for the > Voice holding said E, your current syntax makes no good use of the > \parallelMusic feature. > I suggest: > > \version "2.24.4" > > \header { > title = "Piece of Test" > } > > global = { > \time 3/4 > \key a \minor > } > > \parallelMusic right-up, right-down, left { > \voiceOne <gis d'>2 <a c'>4~ | > \voiceTwo e2.~ | > r4 \grace ais,16 b,4 r4 | > > <a c'>2 r4 | > e2 r4 | > \grace gis,16 a,4 r4 r | > } > > \score { > \new PianoStaff \with { instrumentName = "Piano" } > << > \new Staff { > \global > << > \new Voice \right-up > \new Voice \right-down > >> > } > \new Staff { > \global > \clef bass > \left > } > >> > \layout {} > } > > > HTH, > Harm
Hi, Yes, thanks, that helped. However, my structure is not as regular. The piece has bars without polyphony, some bars with polyphony in the left, and some in the right hand. In the end I came up with a solution using "\context" \version "2.24.3" \header { title = "Piece of Test" } global = { \time 3/4 \key a \minor } \parallelMusic right, left { gis'8. a'16 c''4. a'8 | << { \voiceOne r4 <e c'>4 <e c'>4 } \new Voice { \voiceTwo a,2. } >>| a'2.| a,,2. | << { \voiceOne <gis d'>2 <a c'>4~ } \context Voice = "voiceTwo"{ \voiceTwo e2.~ } >> | r4 \grace ais,16 b,4 r4 | << { \voiceOne <a c'>2 r4 } \context Voice = "voiceTwo" { \voiceTwo e2 r4 } >> | \grace gis,16 <a, a,,>4 r4 r4| \bar "|." } \score { \new PianoStaff \with { instrumentName = "Piano" } << \new Staff { \global \right } \new Staff { \global \clef bass \left } >> \layout {} }