2014-06-11 23:48 GMT+02:00 Martyn Quick <martyn_qu...@yahoo.co.uk>:

> Just a quick final message - thanks for all the help several of you gave.
> I have managed to get to grips with the workaround for bends/pull-offs,
> etc., and also make the vibrato / textspanner thing work.
>
>
Great!
Just a final comment. You'd better save the music in a variable and copy it
in Staff and TabStaff conrtexts, so you don't have to do any copy&paste.
Also the \shape command can affect Staff and TabStaff separately:

 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

 \version "2.18.0"\include
"notation-snippets/guitar-string-bending/definitions.ily"
% Pull-off after a bend release
music = {
  \bendOn
  a'4 ( b' )( a' )
  \bendOff
  \shape #'((-1 . -1) (-0.8 . -1) (-0.7 . -1) (-1 . -1)) Voice.Slur
  \shape #'((-1 . 0) (-0.8 . 0.5) (-0.7 . 0.5) (-0.5 . 0)) TabVoice.Slur
  \slurUp \hideNotes \grace a' ( \unHideNotes g' ) |}
\score {
  \new StaffGroup
  <<
    \new Voice {
      \clef "treble_8"
      \music
    }
    \new TabVoice {
      \clef "moderntab"
      \music
    }
  >>
  \layout {
    indent = 0
    \context { \StaffGroup \override
StaffGrouper.staff-staff-spacing.padding = #5 }
  }}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to