<<inline: Barrégreep.png>>
You can find the tread here:<http://www.nabble.com/How-to-do-a-Barré-in-guitar-music--to15530453.html#a15530453 > This type of drawing used for a `small' type of barré. Daniel Tonda helpt me out wonderfully back then. I now want to take his solution a step further. His solution was to use the arpeggioBracket on hiddenNotes in a chord. I want to create a function that automates this. However, I seem to be missing something, because the arpeggioBracket is missing from the output of this function.Am I heading in the correct direction? Am I missing something?
Kind Regards,
Arjan Bos
\version "2.12.0"
barreBracket = #(define-music-function (parser location chord)
(ly:music?)
#{ \hideNotes
\arpeggioBracket
\voiceThree
\once \override Arpeggio #'padding = #-1.5
$chord #(make-music (quote ArpeggioEvent))
\unHideNotes
#})
\score {
\context Staff <<
\context Voice {
{ \time 4/4 \key c \major
{ \barreBracket <a' d''>4 } a'4 d''4
}
}
>>
}
On 18 feb 2008, at 06:09, Arjan Bos wrote:
On 17 feb 2008, at 19:24, Daniel Tonda wrote:2008/2/17, Daniel Tonda <[email protected]>: You're absolutely right, I forgot about the accidentals, but they should also be transparent.:)Even better, remove the accidental and the barre will be a bit closer to the notes.Thanks a lot! I never thought to mis-use the arpeggio for this. Works like a charm!A.J. _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
