Re: tie from measure with one voice to a measure with two voices
Many thanks for your clarification. All best, jc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tie from measure with one voice to a measure with two voices
Hello Juan, If your read the manual on simultaneous voices carefully you will find that if you use the '\\' construct the tie will not go across, but if you use the \new Voice construct, then the first voice in the simultaneous music is a continuation of the current voice, and ties work. Thus: \score { \relative c'' { d2 e2~ << { \stemUp e f } \new Voice { c4 d e f } >> } } It's quite subtle admittedly, but fundamental to understanding lilypond. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tie from measure with one voice to a measure with two voices
Hello Hwaen, Thanks for your input. Yes, your example is simpler, but the problem is I am working on a much more complex score that requires voices to be created only at specific moments. Consider the following case. It seems odd to have to specify that a voice is empty for four measures in order to be able to place the tie correctly (example 1). I would like to be able to write it as example two, only writing voices when necessary. \version "2.18.2" %example 1 \score { \relative c'' { << { e1~ e~ e~ e~ e2 f } \\ { s1 s s s c4 d e f } >> } } %example 2 \score { \relative c'' { e1~ | e~ | e~ | e~ | << { e2 f } \\ { c4 d e f } >> } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tie from measure with one voice to a measure with two voices
Greetings JC, Well, this may not be as simple as what you are looking for, but it certainly would help to streamline your code> \score { \relative c'' { << { d2 e2~ e2 f } \\ { s1 c4 d e f } >> } } Hwaen Ch'uqi On 3/16/17, Juan Cristóbal Cerrillowrote: > Hello, > > I’m looking for a simpler way of being able to tie notes in a voice from a > measure with only one voice to a measure with two voices. The only way I > have managed to do so is to create an empty voice in the first measure (see > last example of snippet). Is there a simpler way of doing this? > > Any help would be greatly appreciated. > > jc > > \version "2.18.2" > %this is what I want in the first voice > \score { > \relative c'' > {d2 e2~ >e f > } > } > > > %this doesn’t work, no tie in first voice > \score { > \relative c'' > { > d2 e2~ > << > {e f} > \\ > {c4 d e f} > >> > } > } > > %this works but seems cumbersome > \score { > \relative c'' > { > << > {\voiceOne >d2 e2~ > } > \\ > {} > >> > | > << > {\voiceOne >% \voice principal > >e2 f > } > \\ > { > c4 d e f} > >> > } > } > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user