Thanks to everyone who responded! I appreciate it.
I think I might have some followup questions - like, how come the graceBend slurs are always facing down in the output when it says “up” in the definitions file? - but I’ll see if I can get the openlilylib files to work first.
Although I want this score to have a TabStaff, the main reason I was using Stephen MacNeil’s code library is because in general I need bend slurs without the TabStaff. Thanks for that, Stephen!
-Devon.
On Sun, Apr 24, 2016 at 3:18 PM Federico Bruni <
address@hidden> wrote:
On Sun, Apr 24, 2016 at 11:38:31PM +0200, Thomas Morley wrote:
> 2016-04-24 17:13 GMT+02:00 Stephen MacNeil <address@hidden>:
> >
> > It was written by Marc Hohl I just adapted it to have no tab since I don't
> > use tab
> >
> >
> > see
> >
> > https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending
> >
For the records, this is the new home:
https://github.com/openlilylib/snippets/tree/master/ly/tablature
(the file is the same as in the old one, but future updates will be
pushed to the new location.. unless Urs wants to keep the old
in sync)
> > Line breaks over bending notes are not supported and they are currently
> > disabled, because otherwise the file would not compile as soon as page
> > formatting decisions create such a situation.
>
>
>
> Manual inserting \noBreak or \break will probably not enough, without
> \layout { \autoLineBreaksOff }
>
> Opposed to what is claimed in the quote from openlilylib above,
> disabling line-breaks do not work sufficiently.
I can add this to the README on github.
> See the out put from:
> \include "definitions.ily"
>
> \displayLilyMusic
> \relative c'' {
> \bendOn
> c1( d)
> c1( d)
> }
>
> It returns in terminal:
>
> { { \override Voice.Slur.stencil = #slur::draw-pointed-slur
> \override TabVoice.Slur.stencil = #slur::draw-bend-arrow
> c''1( \noBreak } d''1) c''1( d''1) }
>
> The overrides last until the end, but the \noBreak occurs only once!!
>
True. Better to avoid these (likely) errors and use manual breaks.
Minimal example reworked in the new openlilylib style:
\version "2.19.40"
\include "openlilylib"
\useLibrary Tablature
% Workaround for issue #136 at
% https://github.com/openlilylib/snippets/issues/136
#(display "")
\useModule tablature.bending
% Hack needed until issue #136 is fixed:
% https://github.com/openlilylib/openlilylib/issues/136
#(ly:message "loaded")
music = \relative c'' {
\displayLilyMusic
\bendOn
c1( d)
c1( d)
c1( d)
c1( d)
c1( d)
c1( d)
c1( d)
c1( d)
c1( d)
c1( d)
c1( d)
c1( d)
}
\new StaffGroup <<
\new Voice \music
\new TabVoice \music
>>
% comment this line and it won't compile
\layout { \autoLineBreaksOff }
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user