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