On Wed, 2017-08-30 at 14:22 -0400, Kieren MacMillan wrote:

> Hi Graham,
> 
> > This technique, however, feels really clumsy by Lilypond standards.
> > Have I overlooked a better way?
> 
> Maybe something like
> 
> %%%  SNIPPET BEGINS
> \version "2.19.40"
> 
> \layout {
>   indent = 0
>   ragged-right = ##t
>   \context {
>     \Staff
>     \RemoveEmptyStaves
>   }
> }
> 
> cantusVoice = {
>   c''1 \break R1 \break
>   c''\breve*1/2 \once \omit Staff.BarLine s1
> }
> 
> altusVoice = {
>   c'1 1 1 1
> }
> 
> \score {
>   \new ChoirStaff <<
>     \new Staff { \cantusVoice }
>     \new Staff { \altusVoice }
>   >>
> }
> %%%  SNIPPET ENDS

Thanks Kieren,
that's much neater.  Staff.BarLine was the thing I had missed.

And I can use a tag to generate reasonable MIDI output.

kind regards
-- Graham
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to