lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.18 release notes


From: Pavel Roskin
Subject: Re: 2.18 release notes
Date: Sat, 09 Nov 2013 23:35:06 -0500
User-agent: Internet Messaging Program (IMP) H3 (4.1.4)

Quoting James <address@hidden>:

The original diff is here:

https://codereview.appspot.com/11328043/diff/40001/Documentation/notation/vocal.itely

This gives an example I suppose we could add to the changes doc.

Actually, there are several examples there.

I don't really understand this function to be able to come up with
something else, but if you do feel free to email it and we can add a
patch to the changes.tely or something like that.

NullVoice is a voice that is not shown but that can accept lyrics. I really like that I can reuse an existing melodic line for the lyrics and it won't conflict with any visible voice.

The documentation shows examples with \partcombine, but both of them use a separate aligner variable, which may be good for advanced stuff, but doesn't show how simple things become in the common case.

I suggest something like this:

A new context called NullVoice has been added. It doesn't appear in the printed output, but it can be used to align lyrics. It can be used with the partcombine function.

soprano = \relative c' {
  c e g c
}

alto = \relative c' {
  a c e g
}

verse = \lyricmode {
  This is my song
}

\score {
  \new Staff <<
    \partcombine \soprano \alto
    \new NullVoice = "aligner" \soprano
    \new Lyrics \lyricsto "aligner" \verse
  >>
  \layout {}
}

--
Regards,
Pavel Roskin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]