[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tie bow within one voice in parallelMusic not displaying
From: |
Thomas Morley |
Subject: |
Re: tie bow within one voice in parallelMusic not displaying |
Date: |
Sat, 31 May 2025 12:02:10 +0200 |
Am Fr., 30. Mai 2025 um 19:47 Uhr schrieb <linux@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