lilypond-user
[Top][All Lists]
Advanced

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

Re: Tablature (Pedal Steel again) - Change lines


From: address@hidden
Subject: Re: Tablature (Pedal Steel again) - Change lines
Date: Tue, 13 Jan 2015 21:00:32 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 2015-01-13 20:17, Pierre Perol-Schneider wrote:
How about :

\version "2.19.11"

\header {
   title="Pedal Steel Guitar - E9th"
}


PSGE-tuning = \stringTuning <
   c,,,% this tune's only to show one more string
   b, d e fis gis b e' gis' dis' fis'>

Notes = \transpose c c' { <e a cis'>2 e'4}

psgNotes = {
   %%\set TabStaff.minimumFret = #8
   \set TabStaff.restrainOpenStrings = ##t
   %%\override StringNumber #'transparent = ##t
   <<
     e'2\6
      \tweak TabNoteHead.stencil #(lambda (grob)
           (grob-interpret-markup grob #{ \markup\lower #.6 "8A" #}))
     g'2\5
     \tweak TabNoteHead.stencil #(lambda (grob)
           (grob-interpret-markup grob #{ \markup\lower #.6 "8F" #}))
     c''2\4
   >>
   e''4\4
}

\score {
   <<
     \new Staff { \clef "G" \key a \major \time 3/4 \Notes }
     \new TabStaff \with
     { stringTunings = \PSGE-tuning }
     {
       \psgNotes
     }
   >>
   \layout {
     \context {
       \TabVoice
       \override TabNoteHead.extra-offset = #'(0 . -.5)
       \override TabNoteHead.font-size = #-3
       \override TabNoteHead.whiteout = ##f
     }
   }
}
Hello Pierre,

Is it possible to make the same effect using the \rightHandFinger method you showed before?
That method was the simplest so I want to use it.

I have tried with adding c,,, to the tuning and this to the layout
\layout {
    \context {
      \TabVoice
      \consists New_fingering_engraver
      \override StrokeFinger.side-axis = #0
      \override StrokeFinger.X-offset = #1.1
      \override StrokeFinger.Y-offset = #-.1
      \override StrokeFinger.font-size = #-3
      \override StrokeFinger.whiteout = ##f
      \override StrokeFinger.extra-offset = #'(0 . -.5)
    }
  }

But only the letters are put between the lines the tab note is on the line.

// Anders
--
English isn't my first language.
So any error or strangeness is due to the translation.
Please correct my English so that I may become better.

Attachment: rightHandFinger.ly
Description: Text Data


reply via email to

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