lilypond-user
[Top][All Lists]
Advanced

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

Re: tab


From: Rune Zedeler
Subject: Re: tab
Date: Sat, 07 Sep 2002 01:35:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

David Raleigh Arnold wrote:

So how do I set up a banjo 5th string now? g'/1 = ----5--------
        ------------
        ----------
         -----------
g'/5 = ---0-----
gis'/1 =     ----6---------
            ---------------
             -------------
            -------------
gis'/5 = ----6-----

So iiuc what you need is to add 5 to the fret if you are on the 5th string, and not at fret 0?

This would need some scheme hacking, but

\property TabStaff.tablatureFormat =
#(lambda (string tuning pitch)
   (let ((num (string->number (fret-number-tablature-format
                               string tuning pitch))))
     (number->string (if (and (= 5 string) (> num 0)) (+ 5 num) num))
   )
 )

does it.

The auto-string-selector would not work correctly, but I don't suppose you would use it anyway.

-Rune





reply via email to

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