lilypond-user
[Top][All Lists]
Advanced

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

Re: Break within measure in polyphony


From: David Kastrup
Subject: Re: Break within measure in polyphony
Date: Sun, 22 Sep 2013 10:45:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nick Payne <address@hidden> writes:

> I'm attempting to reproduce the engraving of a baroque prelude which
> is without barlines (although it appears to be in 12/8, as the bass
> voice has some dotted whole notes), and at one point the original
> engraving has put a line break two thirds of the way through a dotted
> half note in the bass voice. The solution given in the NR for forcing
> a line break in the middle of a measure
> (http://www.lilypond.org/doc/v2.17/Documentation/notation/line-breaking)
> doesn't work here - Lilypond puts a warning in the log "forced break
> was overridden by some other event, should you be using bar checks?",
> and ignores the forced break. Is there any way to force a break at
> this point? This example demonstrates what happens (I'm using
> 2.17.26):
>
> {
>   << {
>   \repeat unfold 10 { c''4 }
>   \bar "" \break
>   \repeat unfold 10 { c''4 }
>   }
>   \\
>   { \repeat unfold 5 { c1 }
>   } >>
> }

I give no guarantees that it will work for longer than you want, but it
seems like
{
  << {
  \repeat unfold 10 { c''4 }
  \once\set Score.forbidBreak = ##f \bar "" \break
  \repeat unfold 10 { c''4 }
  }
  \\
  { \repeat unfold 5 { c1 }
  } >>
}

would do the trick.  No idea whether this is "permitted".  What _is_
permitted, though, should be something like

{
  << \new Voice \with { \voiceOne }
     {
       \repeat unfold 10 { c''4 }
       \bar "" \break
       \repeat unfold 10 { c''4 }
     }
     \new Voice \with { \remove "Forbid_line_break_engraver" \voiceTwo }
     { \repeat unfold 5 { c1 }
  } >>
}


-- 
David Kastrup




reply via email to

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