Fwd: [PATCH]: -- Revised tablature implementation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Fwd: [PATCH]: -- Revised tablature implementation

Valentin Villenave
For archival purposes, I am forwarding to the tablatures list some
previous discussions that may have taken place privately or on the
LilyPond-user mailing list.

- Valentin

Forwarded conversation
Subject: [PATCH]: -- Revised tablature implementation

From: Carl D. Sorensen <[hidden email]>
Date: 2009/6/10
To: lilypond-devel <[hidden email]>
Cc: Marc Hohl <[hidden email]>

Please review Mark Hohl's patch for improved tablature.

It's available at




lilypond-devel mailing list
[hidden email]

From: Carl D. Sorensen <[hidden email]>
Date: 2009/6/10
To: lilypond-devel <[hidden email]>
Cc: Marc Hohl <[hidden email]>


I have a few comments on the patch:

1) I think you should create a new file: scm/tablature.scm.

This file would contain









It could also contain all of the tunings definitions moved from
scm/output-lib.scm.  I've always thought that ouitput-lib.scm was a funny
place for tunings, but I didn't have a better place to put them.  I think we
do now.

2) I think that some of the functions listed above should be renamed, so
they start with tablature:: or tablature-item::.  This kind of name would
make it more obvious that you should look in tablature.scm for those
functions.  So instead of clef::print-modern-tab-if-set, it could be
something like  tablature::print-desired-tab-clef.  I realize that this
differs from the standard grob-name:: naming convention; but I think it may
be the right thing to do here.

As an alternative to the renaming proposed above, the functions should be
placed in appropriate .scm files related to the the grobs, rather than
related to the tablature, it seems to me.

But I'm not an expert on this, which is why I waited to post to the -devel
list for this comment, rather than giving it to you directly.

3) parenthesize-fret-nr should probably be renamed; "nr" is an abbreviation.
parenthesize-fret-number or parenthesize-fret seem to be better names to me.
Actually, I think I most prefer parenthesize-tab-note-head

4) I think you should put empty lines between all of your functions (e.g.
before deadNotesOff, before the comments for palmMUte, before palmMuteOff,

From: Carl Sorensen <[hidden email]>
Date: 2009/6/23
To: [hidden email]

This is a second request for feedback on Marc's patch.

Tablature users are anxious for this to become part of LilyPond.