Re: [tablatures] harmonics in tablature

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


Patrick Schmidt schrieb:

Am 26.09.2010 um 10:37 schrieb Marc Hohl:


If this is solved, I'll have to adapt the fret number. Here I am not sure how to get this done -
I have some ideas, but didn't yet find the time to test it.
Hm, don't be offended by the naivety of my thoughts ;-): In the case of \harmonicByFret the fret number to be engraved should equal the value of \harmonicByFret, i.e. e.g. 7 in the following example:
\harmonicByFret #7 e,\6
This way the user can decide whether the finger should be placed e.g. over the 7th or 19th fret to get the second harmonic.
Yes, that's the way it should work. By now, the pich is transposed properly, so the tab note head engraver would calculate the fret for the transposed pitch, which is the 12th for the first harmonic, 19 for the second, 24 for the third, and so on. So the routine
I am trying to write should overwrite the tab number accordingly.
Or, simply said, I have to be able to set an arbitrary number as a tab note head.
Agreed! What I was aiming at is: Is it possible to define some conditions that should only apply to tablature such as:

if harmonicByFret = #7 than \transpose c g' {pitch} i.e. #(define fret-pitch (vector '(0 4 0))) if harmonicByFret = #19 than \transpose c g'' {pitch} i.e. #(define fret-pitch (vector '(1 4 0)))
The problem here is that:

a) I have different pitches for note heads and tab note heads and I don't know how to switch between them b) fret numbers like "2.3" are not reachable with these pitches (as far as as I know)

so I think the best way is to override the fret number stencil (somehow).

Marc



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