lilypond-user
[Top][All Lists]
Advanced

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

Re: How do you tell Lilypond not to jump strings when sliding?


From: Phil Burfitt
Subject: Re: How do you tell Lilypond not to jump strings when sliding?
Date: Tue, 16 Sep 2014 20:09:54 +0100

----- Original Message ----- From: "Jay Vara" <address@hidden>
To: <address@hidden>
Sent: Tuesday, September 16, 2014 6:09 PM
Subject: Re: How do you tell Lilypond not to jump strings when sliding?


I'm not top posting.

I spoke too soon. Setting the minimumFret does fix the
restrainOpenStrings issue, but not the jumping strings during slide
issue as seen in the code below.

There should be some way to tell lilypond not to jump strings during
slides.

\version "2.18.2"

musica = \relative c'' {g8\glissando e8 g8\glissando (e16\glissando
g16)}
musicb = \relative c' {e2 e8\glissando (d16\glissando e16)}
musicc = \relative c' {e2 e8\2\glissando (d16\glissando e16\2)}

\score { \new StaffGroup

        <<
          \new Staff {\musica \musicb \musicc  \musica \musicb \musicc}
          \new TabStaff {

                      \set TabStaff.restrainOpenStrings = ##t
                      \tabFullNotation
                      \musica \musicb \musicc
          % setting minimumFret to a number, say #1, prevents the
jumping strings during sliding for the second measure (as seen in the
fourth measure) but
          % introduces the jump problem for the 1st measure (as seen in
the 3rd measure)
                      \set TabStaff.minimumFret = #1
                      \musica \musicb \musicc}
        >>
}




Jay,

You'll need to indicate string numbers. They can be hidden with "\omit StringNumber" if you do not want the circled numbers to appear.

Btw, guitar music is usually written an octave higher than it sounds. You should use \clef "treble_8" in the \new Staff section.

Hope that helps.

Phil.







reply via email to

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