[frogs] [PATCH:] Harmonics and ties in tablature |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: "frogs@xxxxxxxxxxx" <frogs@xxxxxxxxxxx>, Federico Bruni <fedelogy@xxxxxxxxx>
- Subject: [frogs] [PATCH:] Harmonics and ties in tablature
- From: Marc Hohl <marc@xxxxxxxxxx>
- Date: Sun, 13 Jun 2010 10:34:38 +0200
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1276418081; l=1181; s=domk; d=hohlart.de; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=fejZeA8zeKRrh6Bm9VOakTO6jlE=; b=n1PexVPlRwsabqgVYGTQjjXMyPU0DgT3NvZik/YTlIzC0aD8agYtBCFxQ1bQDqC+B7H s2yLpHrs4p0fID+dd2w0UHl7XT6ccZwmCoQ5HWlG2P9CGL3kROhmM6CMyC9CheV6V7SfO lDOLxYY+HFTc2msGNcwOM2C8rGj4hZnPftY=
Hello all,
I just uploaded a patch concerning harmonics and ties to rietveld:
http://codereview.appspot.com/1669041
Just some comments:
I changed the hard-coded values for the harmonic parentheses
to grob properties and added 'whiteout, because the tab note heads can
be drawn
with or without 'whiteout, so the harmonic brackets should be able to
adapt this behavior.
Thanks to Neil, I found a solution for tied tab note heads that are
invisible.
I use the HarmonicParenthesesItem 'after-line-breaking callback, because the
visibility of fret numbers (and therefore for the <>s) depends on the
final position.
The patch isn't 100% correct yet. If you compile the new regression
file, the
fret number disappears in the second line. In larger documents, the number
seems to (dis)appear at random - I don't know why this happens.
Thanks in advance for your comments!
PS: for personal clarification: Since I am not a native speaker, I am
not sure
when I should use "parentheses" or "brackets". These () are parentheses,
and these <> are angled parentheses, isn't it? What's the difference to
brackets,
or can I use this as a synonym?
Marc
---
----
Join the Frogs!