lilypond-user
[Top][All Lists]
Advanced

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

Re: what did I wrong?


From: bb
Subject: Re: what did I wrong?
Date: Sat, 3 Jun 2017 17:35:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

I just found that did not remove the line for Banjo, that is responsible for the additional fifth on the (shorter) fifths string!

    tablatureFormat = #fret-number-tablature-format-banjo

Sotrry for the noise! ThanksĀ  for answering anyway!

have a nice weekend,

BB


Am 03.06.2017 um 17:15 schrieb bb:

I wanted to show that a transposition does show the error as well. But wrote the opposite! Sorry for that!


Am 03.06.2017 um 17:11 schrieb bb:
Thank you for answering.

I confirm, that the Banjo TABs will show correctly, I used it quite
often in the past in g tuning and different tunings as well. I. e. the
usual old time sawmill tuning   
sawmill = \stringTuning < g' c g c' d' >.

I need TABs for a Guitar tuned in perfect fourth  
fourth = \stringTuning < e a d' g' c'' f'' > .
In the example I used   
oud = \stringTuning < f a d' g' c'' f'' >,
the usual  tuning of the arabic Oud. There are turkish variants as well,
that differ with a third step on different positions. Actually not a topic.

Anyway, obviously there is a bug(?) as the a on the a string will show
correctly in the TAB, but  for b, c .... will be added a fifth. If I
transpose the example an octave, it will be show correctly.
  
\version "2.18.2"

#(set-global-staff-size 27)             %%% System
  
   fourth =  \stringTuning < f a d' g' c'' f'' >
  
   Scale= {
          %\relative c
    \override Score.BarNumber.break-visibility = ##(#t #t #t)
    \time 4/4
   {
    \transpose f, f
    {
     f, g, a, b, | c d e f | 
    a d e f |   % with string definition
    }

         \bar "|."
    }
   }
   
    \new TabStaff \with {
    \tabFullNotation
    \stemDown
    tablatureFormat = #fret-number-tablature-format-banjo
    stringTunings = #fourth 
    }
    {
      \Scale
  }




Am 03.06.2017 um 16:47 schrieb David Kastrup:
bb <address@hidden> writes:

the b and c should be 2 and 3 on string 5. Instead they show 7 and 8,
even with predefined string 5.

I  kindly ask for help.

Kind regards BB

  
\version "2.18.2"

#(set-global-staff-size 27)             %%% System
  
   fourth = \stringTuning < f, a, d g c' f' >
  
   Scale= {
          \relative c'
    \override Score.BarNumber.break-visibility = ##(#t #t #t)
    \time 4/4
   {f, g, a, b, | c d e f | 
    c\5 d e f |   % with string definition
     g a b c' |  d' e' f' g' | a' b' c'' d'' |
     e'' f'' g''  a''
         \bar "|."
    }
   }
   
    \new TabStaff \with {
    \tabFullNotation
    \stemDown
    tablatureFormat = #fret-number-tablature-format-banjo
    stringTunings = #fourth 
    }
    {
      \Scale
  }
Banjo tablatures
................

LilyPond has basic support for the five-string banjo.  When making
tablatures for five-string banjo, use the banjo tablature format
function to get correct fret numbers for the fifth string:

     music = {
       g8 d' g'\5 a b g e d' |
       g4 d''8\5 b' a'\2 g'\5 e'\2 d' |
       g4
     }

     <<
       \new Staff \with { \omit StringNumber }
       { \clef "treble_8"  \music }
       \new TabStaff \with {
         tablatureFormat = #fret-number-tablature-format-banjo
         stringTunings = #banjo-open-g-tuning
       }
       { \music }
     >>


The definition is:

(define-public (fret-number-tablature-format-banjo
                context string-number fret-number)
  (make-vcenter-markup
   (number->string (cond
                    ((and (> fret-number 0) (= string-number 5))
                     (+ fret-number 5))
                    (else fret-number)))))

So this is intentional (don't know how to play the banjo).  What kind of
6-string banjo do you actually use here?


      



reply via email to

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