lilypond-user
[Top][All Lists]
Advanced

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

Re: tab


From: David Raleigh Arnold
Subject: Re: tab
Date: Fri, 6 Sep 2002 23:20:30 +0000

On Fri, 06 Sep 2002 23:35:27 Rune Zedeler wrote:
> 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

Thank you so much.  Everyone who wants to typeset banjo
music needs that.  It should be in the manual.  

I suppose the auto-string-selector would usually
save some typing, as long as it works with multiple
voices.  If it does anything, it will do the right
thing at least half the time won't it?  :-)
 
------------------------------------------------------------
Information is not knowledge.           Belief is not truth.
Indoctrination is not teaching.   Tradition is not evidence.
         David Raleigh Arnold   address@hidden



reply via email to

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