Re: [tablatures] harmonics in tablature |
[ Thread Index |
Date Index
| More lilynet.net/tablatures Archives
]
- To: Patrick Schmidt <p.l.schmidt@xxxxxx>
- Subject: Re: [tablatures] harmonics in tablature
- From: Marc Hohl <marc@xxxxxxxxxx>
- Date: Sun, 26 Sep 2010 15:49:57 +0200
- Cc: "tablatures@xxxxxxxxxxx" <tablatures@xxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1285508999; l=1727; s=domk; d=hohlart.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:CC:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=6PmDSWD+ohwbeC1K2y6uumasEpE=; b=cWs1+//ZXnSdCsHt39Ci8we6UVTqe2aCFW+tRAAiiW8kabnTp9LwWXGqDJYj8vZ/4WQ Kc18F1AORER33HjDZHLFsjh0IyIzXWDExmy4BZtsobW2ad/oyPncBT87rDbhT0K+0eOzh 9Ae7dyAOje2hFkWH2wmQiLEWKWJrzgiNtMw=
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