Re: [tablatures] harmonics in tablature

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


Patrick Schmidt schrieb:
Hi Marc,
Am 23.09.2010 um 21:27 schrieb Marc Hohl:

Hi Patrick, hi tablature users,

just a short sign of life - I am still working on the problem. For now, lilypond computes the correct pitches and transposes the notes accordingly, but I didn't manage to get
the 'HarmonicEvent on the right place within the music expression.
I'm not sure it it's relevant here but the IR (1.1.28 HarmonicEvent) states:
Not accepted by any engraver.

The simplest case

\harmonicByRatio #1/2 e,,4
(All ratios for the defined partials work!)
Great to hear!

would work, but neither

\harmonicByRatio #1/2 { e,,4 a, } nor
\harmonicByRatio #1/2 { < d g >4 }

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.

Marc



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