lilypond-devel
[Top][All Lists]
Advanced

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

maximumFretStretch in TabStaff?


From: Thomas Morley
Subject: maximumFretStretch in TabStaff?
Date: Fri, 26 Jan 2018 22:56:23 +0100

Hi,

while thinking about a nice lsr-snippet demonstrating usage of
`maximumFretStretch', I first thought to use the most extrem case for
the classical guitar I know of.
(Code below.)
But it more or less worked out of the box. It took a while before I
understood why:
`maximumFretStretch' is read in Tab_Voice_ not TabStaff. Does not make
much sense to me.

Any hint how to make it work in TabStaff?

Cheers,
  Harm


Here the code (not tiny, though)

\header {
  title = "Choro da saudade (excerpt)"
  subtitle = "Agustin Barrios Mangore"
}

one = {
  \key g \minor
  \override Beam.positions = #'(5.5 . 5.5)
  \set fingeringOrientations = #'(left)
  <fis,-2>16 <c'-3 d'-1 a'-4>8 <c' d' a'>16
  <f,-1>16 <c'-3 dis'-2 a'-4>8 <c' d' a'>16
  \override Beam.positions = #'(6 . 6)
  <e,-1>16 <g-2 cis'-3\3 bes'-4>8 <g cis'\3 bes'>16
  <ees,-1>16 <g-2 cis'-3\3 bes'-4>8 <g cis'\3 bes'>16
  d,16[ \set stemRightBeamCount = 1 <d' g' bes'>8]
}

two = {
  fis, 4
  f,
  e,!
  ees,
  d,
}

<<
  \new Staff
    \with { \omit StringNumber }
    <<
        <>_\markup \column { \line { \circle 5 -> G } \line { \circle 6 -> D } }
      \new Voice { \clef "G_8" \voiceOne \one }
      \new Voice { \clef "G_8" \voiceTwo \two }
    >>
  \new TabStaff
    \with { stringTunings = \stringTuning <d, g, d g b e'> }
    <<
      \new TabVoice { \voiceOne \one }
      \new TabVoice { \voiceTwo \two }
    >>
>>

Attachment: atest-66.png
Description: PNG image


reply via email to

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