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: pls
Subject: Re: How do you tell Lilypond not to jump strings when sliding?
Date: Tue, 16 Sep 2014 20:55:15 +0200


On 16.09.2014, at 20:42, pls <address@hidden> wrote:

Jay,

there is actually a way to achieve what you want. I am not sure if it’s documented: pretend that your single notes are chords, put them in angled brackets and use the command for string numbers after the closing brackets, like so:

musicb = \relative c' {<e>2 <e>8\2\glissando (d16\glissando <e>16\2)}

This tells LilyPond to use the right strings in tablature and the string numbers don’t appear in the score.

hth
patrick
On 16.09.2014, at 19:09, Jay Vara <address@hidden> wrote:

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}

}        



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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