Thank you, Tyler. Sorry, my previous reply, I accidentally sent only Trevor. Your solution works good in version 2.18.2. But on the advice of Trevor, I downloaded version 2.19.82 and in it my example compiles well without any changes.


09.01.2019, 08:47, "Tyler Mitchell" <[email protected]>:

On Tue, Jan 08, 2019 at 04:49:21PM +0300, Павел Буданов wrote:

 Hello everyone!
 Look for my example from Bach's chorale. Syllable positioning is incorrect
 where is the second between soprano and alto. Can you help me?
  
 sopranonotes = \relative c'' { a g2 f4 }
 altonotes = \relative c'' { g8[ f] f[( e16 d] e4) c }
 aligner = \relative c'' { a8[ a] g( g16 g g8 g) f4 }
 lyric = \lyricmode { Weh -- kla -- gen, }
 \new Staff
 <<
   \clef mezzosoprano
   \new Voice { \voiceOne \sopranonotes }
   \new Voice { \voiceTwo \altonotes }
   \new NullVoice = "aligner" { \autoBeamOff \aligner }
   \new Lyrics \lyricsto "aligner" { \lyric }
 >>


I'm not exactly sure what positioning you're looking for -- I think
the usual way to handle this case is to put the lyrics with the
Soprano voice.

Maybe you want the left-alignment of the melismas to match the
soprano line, in which case you do:


sopranonotes = \relative c'' { a g2 f4 }
altonotes = \relative c'' { g8[ f] f[( e16 d] e4) c }
aligner = \relative c'' { a8[ a] g( g16 g g8 g) f4 }
lyric = \lyricmode { Weh -- kla -- gen, }
\new Staff
<<
  \clef mezzosoprano
  % Put the "aligner" voice first:
  \new NullVoice = "aligner" { \autoBeamOff \aligner }
  \new Voice { \voiceOne \sopranonotes }
  \new Voice { \voiceTwo \altonotes }
  \new Lyrics \lyricsto "aligner" { \lyric }




The order of the voices is important.

If that's not what you want, please describe what is wrong with the
positioning.

Cheers,
Tyler

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to