lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond mandolin tablature?


From: Jérémie Lumbroso
Subject: Re: lilypond mandolin tablature?
Date: Sun, 1 Sep 2002 01:08:12 +0200

Hello Karl,

KB> I'm very glad to know this :), but, forgive my ignorance, I don't know
KB> how to translate this into what to type.

I agree that definition is a bit obscure for a beginner -- but
rewriting the manual is one of a few people's main goals right now,
so it should only get better.



KB> A concrete example would be helpful.  In particular, what I want
KB> to produce is tablature for mandolin, which has four (logical)
KB> strings, tuned e a d g (same as violin).

(bare in mind that I never used tablature in Lilypond, and that my
input might be incorrect)

  \context TabStaff <
    \outputproperty #(make-type-checker 'staff-symbol-interface)
                    #'line-count = #4
    \outputproperty #(make-type-checker 'Tab_note_heads_engraver)
                    #'stringTunings = #'(-20 - 15 -10 -5)
    
    \notes { a,4 c' a e' e c' a e' }
  >

The above example shows you how to set the TabStaff to four strings,
tuned as you asked. Here's the definition given by the manual (all is
relative to C):

  "stringTunings (list):
   The tablature strings tuning. Must be a list of the different
   semitons pitch of each string (starting by the lower one)."
   
   
Look at the TabStaff node to get correct properties (the interesting
lines are "Set grob-property line-count in StaffSymbol to 6" and
"Set translator property stringTunings to '(-20 -15 -10 -5 -1 4)"):
http://lilypond.org/stable/Documentation/user/out-www/lilypond-internals/TabStaff.html


And then at "Tuning per Grob" section of the refman, to understand how
to use outputproperty:
http://www.lilypond.org/stable/Documentation/user/out-www/lilypond/Tuning-per-grob.html



KB> From the input/test/tab-staff.ly file,

That file looks obsolete, and I propose that it be removed from the
package (am I wrong in assuming that it was created before the
TabStaff context was implemented in Lilypond?). You'd rather look in
input/test/tablature.ly file for any help.


-- 
Best regards,
 Jérémie                            mailto:address@hidden





reply via email to

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