lilypond-user
[Top][All Lists]
Advanced

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

Re: Guitar bend at end of bar with linebreak [was: Strange problem with


From: Federico Bruni
Subject: Re: Guitar bend at end of bar with linebreak [was: Strange problem with guitar bends]
Date: Mon, 4 Aug 2014 00:25:38 +0200

Oh, that was tricky to find because there is no explicit line break. It's a known problem, mentioned in the Readme on github:

Line breaks are not supported. If a bending is broken by a line break, the file won't compile: the workaround is using \noBreak

Il 03/ago/2014 20:01 "Martyn Quick" <address@hidden> ha scritto:

I've finally worked out what is causing the problem with the guitar bends.  It is when the engraver is trying to implement a linebreak and bending up from one note to the other at the end of the bar.

The following code gives a simple example of it going wrong.  Any ideas how to fix this? - I guess manually inserting a \break the bar beforehand should at least avoid it!

Martyn


\version "2.18.2"

\include "definitions.ily"

\layout {
  \context {
    \Staff
    \override VerticalAxisGroup #'default-staff-staff-spacing =
    #'((padding . 4))
  }
}

music = {
  \relative a' {
    \bendOn
    c4 c c c ( | d ) d d d ( |
    e ) e e e ( | f ) f f f ( |
    g ) g g g ( | a ) a a a ( |
    b ) b b b ( | c ) c c c ( |
    d ) d d d ( | e ) e e e |
  }
}

\score {
  <<
  \new Staff {
    \clef "treble_8"
    \numericTimeSignature \time 4/4
    \music
  }
  \new TabStaff {
    \music
  }
  >>
}

reply via email to

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