lilypond-user
[Top][All Lists]
Advanced

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

Re: Tuning description at beginning of TabStaff


From: Federico Bruni
Subject: Re: Tuning description at beginning of TabStaff
Date: Sun, 29 Jan 2023 23:12:31 +0100

Il giorno dom 29 gen 2023 alle 22:20:14 +0100, Stefan E. Mueller <stefan.e.mueller@gmx.de> ha scritto:
What I would like to know is whether it is possible to give the tuning
notes right before the first Tabstaff, vertically aligned to the tablature
lines. I tried accomplish this using "instrumentName", but it does not
align nicely:

Here's my saved list of alternative tunings:

% Dropped D
tuningDropD = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
   E B G D A D
 }
}

% Open G
tuningOpenG = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
   D B G D G D
 }
}

% Open D
tuningOpenD = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
D A \concat { F \override #'(font-name . "Emmentaler-16") \small ♯ } D A D
 }
}

% Open E
guitar-open-e-tuning = \stringTuning <e, b, e e b e'>
tuningOpenE = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
   E B E E B E
 }
}

% Open A add4
guitar-open-a-add-four = \stringTuning <e, a, d e a cis'>
tuningOpenAaddFour = \markup {
 \fontsize #-4
 \override #'(baseline-skip . 1.5)
 \column \override #'(font-name . "Arial Bold") {
\concat { C \override #'(font-name . "Emmentaler-16") \small ♯ } A E D A E
 }



And a simple example:

\new TabStaff \with {
 stringTunings = \guitar-open-g-tuning
 instrumentName = \markup { " " \tuningOpenG }
}
{
 d, g, d g b d'
}





reply via email to

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