Re: I don't understand this output
Yes, I cannot get your example to compile at all, even with Mr. Morley's suggested fix. On Sat, Jul 20, 2019 at 3:23 AM Thomas Morley wrote: > > The ">" at \oneVoice> above prevents the example from compiling with > every ly-version. > Please check before posting ;) > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: I don't understand this output
Thanks. Unfortunately, my mail client uses > to delineate threading in conversations, so even if I copy/paste code that compiles, my client mangles it. And somehow, I knew this was the solution, because it was in the manual for like 2.10, but I haven't used this construction in so long, I'd forgotten it. Thanks for the reminder. James > On Jul 20, 2019, at 10:22 AM, Thomas Morley wrote: > > Am Sa., 20. Juli 2019 um 08:29 Uhr schrieb james via lilypond-user > : >> >> Hello, I don't understand why this results in the output it does. >> I wanted to have the second voice instantiated in the beginning because it >> is used later and I would like to have the lyrics align vertically. >> Alternatively, I thought to use \addlyrics after each little section of >> lyrics, but the polyphony is skewed after that. >> Is the only possibility to use spacer rests? >> >> \version "2.18.2" >> >> \score { >> << >> \new Staff << >> \new Voice = "testII" { s1*2 } >> \new Voice = "testI" \relative c'' { >> c4 b <<{\voiceOne d8 b } \context Voice = "testII" {\voiceTwo >> a4} \context Lyrics = "testIIText" \lyricsto "testII" \lyricmode { di } >> >> \oneVoice> > > The ">" at \oneVoice> above prevents the example from compiling with > every ly-version. > Please check before posting ;) > >> f4 e d c >> } >> \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum dum dum >> dum } >> \layout {} >> } >> >> \score { >> << >> \new Staff { >> \new Voice = "testI" \relative c'' { >>c4 b <<{\voiceOne d8 b } \new Voice = "testII" {\voiceTwo a4} >> \new Lyrics = "testIIText" \lyricsto "testII" \lyricmode { di } >> \oneVoice >> g4 >>f4 e d c >> } >> } >> \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum dum dum >> dum } >> \layout {} >> } >> >> \score { >> << >> \new Staff << >> \new Voice = "testI" \relative c'' { >>c4 b \voiceOne d8 b \oneVoice g4 >>f4 e \voiceOne a8 g \oneVoice c,4 >> } >> \new Voice = "testII" \relative c'' { >>\voiceTwo >>s2 a4 s4 >>s2 d,4 s4 >> } >> \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum dum dum >> dum } >> \new Lyrics \lyricsto "testII" \lyricmode { di dee } >> \layout {} >> } > > > Anyway, I can't explain the (buggy) 2.18.2-behaviour. > Though, more recent versions compile correctly (after removing the ">" > and running convert-ly) > > Thus I'd recommend to use 2.19.83 (the most recent one) > If you need to stay with 2.18.2 I've found below working: > > \version "2.18.2" > > \score { > << > \new Staff << > \new Voice = "testII" { \voiceTwo s1*2 } > \new Voice = "testI" > \relative c'' { > c4 b > << > { \voiceOne d8 b } > \context Voice = "testII" { a4 } >>> > \oneVoice > g > | > f4 e > << > { \voiceOne a8 g } > \context Voice = "testII" { d4 } >>> > c4 > | > } >>> > \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum > dum dum dum } > \context Lyrics = "testIIText" \lyricsto "testII" \lyricmode { di dee } >>> > \layout {} > } > > > Cheers, > Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: I don't understand this output
Thomas Morley writes: > Am Sa., 20. Juli 2019 um 08:29 Uhr schrieb james via lilypond-user > : >> >> Hello, I don't understand why this results in the output it does. > > Anyway, I can't explain the (buggy) 2.18.2-behaviour. > Though, more recent versions compile correctly (after removing the ">" > and running convert-ly) Could be 2.19.16: commit b12ee555e33d483eed0832d8502ad7a282ef9796 Author: David Kastrup Date: Mon Oct 6 00:31:58 2014 +0200 Issue 2010: \lyricsto may turn into a voice-mangling zombie The problem here was that the simultaneous iterator might keep rerhythmed lyrics around when the associated voice has died already, blocking the simultaneous iterator. The solution is that when removing the last regular iterator to remove all remaining lyric-combined iterators at the same time. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: I don't understand this output
Am Sa., 20. Juli 2019 um 08:29 Uhr schrieb james via lilypond-user : > > Hello, I don't understand why this results in the output it does. > I wanted to have the second voice instantiated in the beginning because it is > used later and I would like to have the lyrics align vertically. > Alternatively, I thought to use \addlyrics after each little section of > lyrics, but the polyphony is skewed after that. > Is the only possibility to use spacer rests? > > \version "2.18.2" > > \score { ><< > \new Staff << > \new Voice = "testII" { s1*2 } > \new Voice = "testI" \relative c'' { >c4 b <<{\voiceOne d8 b } \context Voice = "testII" {\voiceTwo > a4} \context Lyrics = "testIIText" \lyricsto "testII" \lyricmode { di } >> > \oneVoice> The ">" at \oneVoice> above prevents the example from compiling with every ly-version. Please check before posting ;) >f4 e d c > } > >> > \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum dum dum > dum } >>> >\layout {} > } > > \score { ><< > \new Staff { > \new Voice = "testI" \relative c'' { > c4 b <<{\voiceOne d8 b } \new Voice = "testII" {\voiceTwo a4} > \new Lyrics = "testIIText" \lyricsto "testII" \lyricmode { di } >> \oneVoice > g4 > f4 e d c > } > } > \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum dum dum > dum } >>> >\layout {} > } > > \score { ><< > \new Staff << > \new Voice = "testI" \relative c'' { > c4 b \voiceOne d8 b \oneVoice g4 > f4 e \voiceOne a8 g \oneVoice c,4 > } > \new Voice = "testII" \relative c'' { > \voiceTwo > s2 a4 s4 > s2 d,4 s4 > } > >> > \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum dum dum > dum } > \new Lyrics \lyricsto "testII" \lyricmode { di dee } >>> >\layout {} > } Anyway, I can't explain the (buggy) 2.18.2-behaviour. Though, more recent versions compile correctly (after removing the ">" and running convert-ly) Thus I'd recommend to use 2.19.83 (the most recent one) If you need to stay with 2.18.2 I've found below working: \version "2.18.2" \score { << \new Staff << \new Voice = "testII" { \voiceTwo s1*2 } \new Voice = "testI" \relative c'' { c4 b << { \voiceOne d8 b } \context Voice = "testII" { a4 } >> \oneVoice g | f4 e << { \voiceOne a8 g } \context Voice = "testII" { d4 } >> c4 | } >> \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum dum dum dum } \context Lyrics = "testIIText" \lyricsto "testII" \lyricmode { di dee } >> \layout {} } Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
I don't understand this output
Hello, I don't understand why this results in the output it does. I wanted to have the second voice instantiated in the beginning because it is used later and I would like to have the lyrics align vertically. Alternatively, I thought to use \addlyrics after each little section of lyrics, but the polyphony is skewed after that. Is the only possibility to use spacer rests? \version "2.18.2" \score { << \new Staff << \new Voice = "testII" { s1*2 } \new Voice = "testI" \relative c'' { c4 b <<{\voiceOne d8 b } \context Voice = "testII" {\voiceTwo a4} \context Lyrics = "testIIText" \lyricsto "testII" \lyricmode { di } >> \oneVoice> f4 e d c } >> \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum dum dum dum } >> \layout {} } \score { << \new Staff { \new Voice = "testI" \relative c'' { c4 b <<{\voiceOne d8 b } \new Voice = "testII" {\voiceTwo a4} \new Lyrics = "testIIText" \lyricsto "testII" \lyricmode { di } >> \oneVoice g4 f4 e d c } } \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum dum dum dum } >> \layout {} } \score { << \new Staff << \new Voice = "testI" \relative c'' { c4 b \voiceOne d8 b \oneVoice g4 f4 e \voiceOne a8 g \oneVoice c,4 } \new Voice = "testII" \relative c'' { \voiceTwo s2 a4 s4 s2 d,4 s4 } >> \new Lyrics \lyricsto "testI" \lyricmode { du du da da du dum dum dum dum } \new Lyrics \lyricsto "testII" \lyricmode { di dee } >> \layout {} } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user