I've been using the string bending snippets as found on the following link:
https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending
... and have just produced a strange error that I don't understand. The error
says:
Drawing systems...../../benddefs.ily:203:24: In procedure ly:event-property in
expression (ly:event-property (event-cause right-bound) (quote pitch)):
../../benddefs.ily:203:24: Wrong type argument in position 1 (expecting
Stream_event): #f
I've no idea what this means - and I can only reproduce it with quite a large
excerpt from my score. The following produces the error, but if I remove any
one of the bars everything functions fine. This seems rather strange to me.
Any ideas what is causing this or what I should do?
Martyn
----CODE THAT PRODUCES ERROR-----
\version "2.18.2"
\include "definitions.ily" % Load guitar bending definitions file
\language "english"
\layout {
\context {
\Staff
\override VerticalAxisGroup #'default-staff-staff-spacing =
#'((padding . 4))
}
}
music = {
\set restrainOpenStrings = ##t
\set TabStaff.minimumFret = #12
\relative a' {
r2 c16 ( \glissando b )
\bendOn \bendGrace g' ( a8 ) ( \bendGrace g ) ( a ) \bendGrace g ( a ) |
\bendGrace g ( a4 ) \bendGrace \preBendHold g ( a16 ) ( g8 )
\bendGrace g ( \holdBend a16 ) ~ a8 ( g16 ) e
d ( e ) g \bendGrace \preBendHold d ( e ) ( |
d8 ) \bendOff c16 ( \hideNotes \grace d ) \unHideNotes
\bendOn d ( e ) g \bendGrace \preBendHold d ( e ) ( d )
c4 \bendGrace \preBendHold a ( c16 ) ( a )
\bendOff g ( \hideNotes \grace a ) \unHideNotes a |
}
}
\score {
<<
\new Staff {
\clef "treble_8"
\key a \minor \numericTimeSignature \time 4/4
\tempo 4 = 58
\music
}
\new TabStaff {
\clef moderntab
\music
}
>>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user