[tablatures] Fwd: [PATCH]: -- Revised tablature implementation

[ Thread Index | Date Index | More lilynet.net/tablatures Archives ]


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 <c_sorensen@xxxxxxx>
Date: 2009/6/10
To: lilypond-devel <lilypond-devel@xxxxxxx>
Cc: Marc Hohl <marc@xxxxxxxxxx>


Please review Mark Hohl's patch for improved tablature.

It's available at

<http://codereview.appspot.com/67174>


Thanks,

Carl



_______________________________________________
lilypond-devel mailing list
lilypond-devel@xxxxxxx
http://lists.gnu.org/mailman/listinfo/lilypond-devel

----------
From: Carl D. Sorensen <c_sorensen@xxxxxxx>
Date: 2009/6/10
To: lilypond-devel <lilypond-devel@xxxxxxx>
Cc: Marc Hohl <marc@xxxxxxxxxx>


Marc,

I have a few comments on the patch:

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

This file would contain

x-tab-format

tab-note-head::whiteout-if-style-set

clef::print-modern-tab-if-set

glissando::calc-tab-extra-dy

parenthesize-fret-nr

parentheses-item::calc-tabstaff-parenthesis-stencils

tie::handle-tab-tie

repeat-tie::parenthesize-tab

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,
etc.

----------
From: Carl Sorensen <c_sorensen@xxxxxxx>
Date: 2009/6/23
To: lilypond-devel@xxxxxxx


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

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




--
Regards,
Valentin



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/