On 2019-04-10 5:37 am, Sandro Santilli wrote:
On Wed, Apr 10, 2019 at 10:18:43PM +1000, Andrew Bernard wrote:
Hi Sandro,

LSR 184.

Hi Andrew, that snippet only works if the bar is not followed
by a break, otherwise I get:

  warning: forced break was overridden by some other event, should you
be using bar checks?

And the break does NOT occur.

The use of the candenza section in the snippet seems incorrect, as it messes with the timing.

Here's my take using scaled durations and some additional tweaks:

%%%%
\version "2.19.82"
\paper { ragged-right = ##t }
\fixed c' {
  \time 3/4
  | c'4 c'
    c'4*1/2-\tweak style #'zigzag \glissando
    \single \hideNotes
    \tweak X-offset #2 \tweak X-extent #'(0 . 0)
    c4*1/2
    \break
  | c'4 c' c
}
%%%%

And here's the same approach applied to your scenario:

%%%%
\version "2.19.82"
\paper { ragged-right = ##t }
\fixed e' {
  | e8 [ e8 e8 d8 ] g4 ^^ e4 ~ \bar ":|."
  | \mark #1
    e4*1/2-\tweak style #'zigzag \glissando
    \single \hideNotes
    \tweak X-offset #2 \tweak X-extent #'(0 . 0)
    e,4*1/2
    r4 r2
}
%%%%

The issue with the unterminated tie can be resolved by being explicit about voice creation:

%%%%
\version "2.19.82"
\paper { ragged-right = ##t }
\new Voice = "foo" \fixed e' {
  | e8 [ e8 e8 d8 ] g4 ^^ e4 ~ \bar ":|."
  <<
    \context Voice = "foo" { | e4 b4\rest b2\rest }
    \new Voice {
      \voiceTwo \hideNotes
      | \tweak X-offset #-1.5 e2 -\tweak style #'zigzag \glissando e,2
    }
  >>
}
%%%%

-- Aaron Hill

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to