lilypond-user
[Top][All Lists]
Advanced

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

Re: selectively suppressing barlines?


From: Graham King
Subject: Re: selectively suppressing barlines?
Date: Wed, 30 Aug 2017 20:13:57 +0100

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
reply via email to

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