lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More questions about using Lilypond for guitar music


From: Federico Bruni
Subject: Re: More questions about using Lilypond for guitar music
Date: Thu, 12 Jun 2014 13:44:12 +0200

2014-06-11 23:48 GMT+02:00 Martyn Quick <address@hidden>:
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 }
  }
}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]