lilypond-devel
[Top][All Lists]
Advanced

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

Re: Is Anyone Working on a Better Tablature Algorithm?


From: Thomas Morley
Subject: Re: Is Anyone Working on a Better Tablature Algorithm?
Date: Sun, 4 Dec 2016 17:55:23 +0100

2016-12-04 17:20 GMT+01:00 Carl Sorensen <address@hidden>:
>
>
> On 12/3/16 1:56 PM, "lilypond-devel on behalf of christopher-heckman"
> <address@hidden on behalf of
> address@hidden> wrote:
>
>>I've been coding this up, on and off for the past three weeks, and I have
>>a
>>workable program. This should probably be called chTab 0.1. (ch either
>>stands for Chuanjun He (who developed the algorithm) or Christopher
>>Heckman
>>(who implemented it in Scheme/Lilypond) ... Take your pick.)
>>
>>It does not recognize ties or glissandos, and does not attempt to
>>incorporate harmonics into the tablature.
>>
>>This algorithm can be tuned quite extensively; max-fret, hand-width,
>>use-open-strings, use-harmonics, and track-tabs can be set to various
>>values.
>>
>>Other tweaks are possible, and that's where I'd like to have some
>>feedback.
>>If you play guitar, enter something and test the tablature for
>>playability.
>>If you feel the playability is bad for some reason, let me know.
>
> Is there any reason not to replace the current tablature algorithm with
> this algorithm?

Too  much TODOs currently
Already mentioned in chTab.ly, probably more.

Too many errors, here two examples (in the second LilyPond-default
comes out wrongly as well, but not aborting):

vl = {
  e,16 g\4 cis bes g\4 e'\2 bes e' e'\2 e' bes e'\2 g\4 bes cis g\4
}

<<
  \new Staff { \clef "G_8" \vl }
  \new TabStaff \vl
  \new TabStaff
    \with { stringTunings = #guitar-tuning }
    { \chTab { \vl } #guitar-tuning  }
>>



mI = { b4 c' d' }
mII = { g a b }

ms = <<
  \mI
  \\
  \mII
>>

<<
  \new Staff { \clef "G_8" \ms }
  \new TabStaff \ms
  \new TabStaff
    \with {
      stringTunings = #guitar-tuning
      instrumentName = "chTab"
    }
    { \chTab \ms #guitar-tuning  }
>>

> It seems that we'd just need to add the properties to the
> context properties of the TabStaff.

This would be likely one of the TODOs.


Cheers,
  Harm



reply via email to

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