[Top][All Lists]

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

Re: using lilypond tab for "chords"

From: Jan Nieuwenhuizen
Subject: Re: using lilypond tab for "chords"
Date: 23 May 2003 20:51:08 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Laura Conrad <address@hidden> writes:

> Now it says:

Try this for 1.6

% lilypond 1.6.x
\version "1.6.10"

#(define (fret-letter-tablature-format string tuning pitch)
   (make-string 1 (integer->char
    (+ (char->integer #\a)
    (- (pitch-semitones pitch)
       (list-ref tuning (- string 1)))))))
tablature =         \notes {
%lutes are tuned g c f a d g
    \property TabStaff.stringTunings =  #'(7 0 -7 -15 -22 -29)
%let's not print the stems here
\property TabStaff.Stem \override #'transparent = ##t
%use letters instead of numbers for the fret names
\property TabStaff.tablatureFormat = #fret-letter-tablature-format
    <g'4\1 c'4\2 g4\3 b,4\4> <g'8\1 c'8\2 g8\3 b,8\4>  <g'8\1 c'8\2 g8\3 b,8\4>
<g'4.\1 c'4.\2 g4.\3 b,4.\4> <g'8\1 c'8\2 g8\3 b,8\4> <g'2.\1 c'2.\2 g2.\3 
b,2.\4> <g'4\1 c'4\2 g4\3 b,4\4> 

\score { 
\context TabStaff< \tablature>



Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter       |

reply via email to

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