bug-lilypond
[Top][All Lists]
Advanced

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

Re: [LSR} chord glissando in tablature: obsolete?


From: Federico Bruni
Subject: Re: [LSR} chord glissando in tablature: obsolete?
Date: Thu, 27 Feb 2014 23:46:49 +0100

2014-02-26 10:37 GMT+01:00 Pierre Perol-Schneider <
address@hidden>:

> 2014-02-26 9:52 GMT+01:00 Federico Bruni <address@hidden>:
>
> A snippet which says that you can use Staff and TabStaff together doesn't
>> make sense.
>>
>  I don't see what you mean. If that make sense or not is not the aim of
> this snippet.
>

My assumption was that the LSR should not contain basic snippets, such as
this one. But I'm probably wrong, because I've just found another simple
one about hammer-on and pull-off.
Anyway, I would change the description, because what is interesting about
this snippet is that Lilypond supports chord slides by default (it didn't
some time ago), not that glissando can appear in Staff and TabStaff. Of
course the description should be improved, I'm tired now and can't find
better sentences:

\header {
  texidoc = "Chord slides are supported. A glissando between two chords
draws a line between each matching note of each chord. It works in both
Staff and TabStaff. The slide in the TabStaff can be omitted."
}

myMusic = \relative c' {
  <c e g>1 \glissando <f a c>
  \override TabStaff.Glissando.stencil  = ##f
  <c e g>1 \glissando <f a c>
}

\score {
  <<
    \new Staff {
      \clef "treble_8"
      \myMusic
    }
    \new TabStaff {
      \myMusic
    }
  >>
}


 If you use slurs (aka hammer-on/pull-off in tablature) or glissando (aka
>> slides in tablature), they will appear on Staff and TabStaff by default;
>> this is what any user would expect.
>>
> I would not.
> If ever I had to use both Staff and TabStaff here's how I would write a
> glissando :
>
>
This is a matter of tastes. I don't like it at all, but this override may
be included in the snippet to show that the glissando can be removed (see
above).


> myMusic = \relative c' {
>
> <c e g>1 \glissando <f a c>
>
> }
>
> \score {
>
> <<
>
> \new Staff {
>
> \clef "treble_8"
>
> \myMusic
>
> }
>
> \new TabStaff \with { \override Glissando.style = #'none } {
>
> \myMusic
>
> }
>
> >>
>
> }
>
>
>
>


reply via email to

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