Re: [tablatures] Re: \set predefinedDiagramTable in a TabStaff

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




On 11/18/10 3:19 AM, "Patrick Schmidt" <p.l.schmidt@xxxxxx> wrote:

> 
> 
> Am 18.11.2010 um 05:36 schrieb Carl Sorensen:
> 
>>> I also wanted to show how I use your new
>>> function of different predefined diagram tables. BTW I have defined
>>> loads of "custom" chord shapes (not attached). Is there any chance
>>> that these predefined-diagram-table-files could become part of the
>>> LilyPond-package one day. They might reduce the need to define chord
>>> diagrams including fingering and barre indications for other users.
>> 
>> I've looked at your definitions, and they seem to me to be very
>> interesting.
>> I think they're also more complicated than I'd like them to be.
>> 
>> I've attached a revised version of your files that shows how I
>> think it
>> ought to work.  Of course it doesn't work now, because the notes in
>> the
>> regular staff don't match either the fretboard or the tablature.
> You seem to have forgotten to attach your revised version?!

Oh, I hate it when I do that.  It must be my advancing age (or maybe I'm
just an absent-minded professor).

>> 
>> I think it should be possible to modify the note-head-engraver so
>> that it
>> does the same thing the tablature engraver does, that is, if there's a
>> predefined fretboard for the chord in chordmode, it replaces the
>> notes that
>> came from the chord parser with the notes from the fretboard.  It
>> might be
>> difficult to do well, because of enharmonic spellings.  But it
>> would be
>> really nice in my opinion if we could just call it a C chord, and
>> let the
>> predefined fretboard in the desired table spit out the notes that
>> we need.
>> 
>> What do you think?
> Hm, on the one hand this sounds very user-friendly. On the other hand
> I am having difficulties to imagine how  LilyPond could possibly
> choose the desired fretboard diagram from various alternatives. Most
> chords (with the same pitches) can be fretted in at least two
> (sometimes even three) different ways on the guitar, e.g.:
> 
> Chords = \chordmode {
>    \set minimumFret = #2
>    e,1:1.5.8.10
>    \set minimumFret = #7
>    e,1:1.5.8.10
>    \set minimumFret = #12
>    e,1:1.5.8.10
> }
> 
> When I use fretboard diagrams I normally prefer to choose a specific
> chord shape (in this case either a d-, a- or e-shape). My definitions
> are based on the CAGED-system as all chords on the guitar can be
> derived from these five chord shapes. I admit that in some cases it's
> not always easy to "see" the underlying chord shape. So in the worst
> case my definitions might result in someone having to try out up to
> five chord shape commands to get the desired fret diagram. In the
> best case the definitions could be useful for users being familiar
> with the CAGED-system. [Of course this would mean brainless diligence
> for me. I have already defined c-shape-diagrams for powerchords, the
> four basic triads (in closed and open position, as well as inversions
> with three to six notes) and diagrams for the ten seventh chords. The
> c-shape-file is not finished, yet. I could add lots of alterations
> and I would still have to define all these chords for the other chord
> shapes as well.]

Right, but if you choose an a-shape C chord, it will be a five-note chord
with a certain set of pitches.  It's a pain to have to list all the pitches
(and remember them) when you're working on a particular chord.  Plus, the
set of pitches will mess up the chord namer.

If we could make it go:

\aShape
c1
\cShape
c1
\gShape
c1

and have the ChordNames context produce "C", the FretBoards context produce
the desired fret diagram, the Staff produce the pitches that correspond to
the fret diagram, and the TabStaff produce the tablature that corresponds to
the fret diagram, I think that would be the ideal.

Right now, as you can see in my revised example (which *is* attached this
time), we have that behavior for the ChordNames, the FretBoards, and the
TabStaff.

I *think* that this behavior could be added to the Staff, but there may be
some difficulties with getting the right enharmonic spelling.  And before I
jump into doing it, I'd like to see if it makes sense to you.

Thanks,

Carl

Attachment: fretboards-alternate-tables-cds.zip
Description: fretboards-alternate-tables-cds.zip



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