The \hideNotes and \unHideNotes is to achieve the work-around for mixing 
bending strings with hammer-on and pull-offs (which are engraved using normal 
slurs).  This is just an excerpt of what I was trying to engrave... and I think 
it is minimal, in the sense that if you remove any one part of it then Lilypond 
runs fine and produces what I expected.

Martyn



________________________________
 From: Federico Bruni <fedel...@gmail.com>
To: Martyn Quick <martyn_qu...@yahoo.co.uk> 
Cc: "lilypond-user@gnu.org" <lilypond-user@gnu.org> 
Sent: Wednesday, 30 July 2014, 23:07
Subject: Re: Strange problem with guitar bends
 






2014-07-30 21:19 GMT+02:00 Martyn Quick <martyn_qu...@yahoo.co.uk>:

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 |
>  }
>}
There's no error if you comment either minimumFret or \unHideNotes. I don't 
know why.
I can't understand why you are using \hideNotes here.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to