|
| From: | Jonathan Kulp |
| Subject: | Re: French viol/lute tablature |
| Date: | Sat, 29 Nov 2008 13:22:04 -0600 |
| User-agent: | Thunderbird 2.0.0.18 (X11/20081125) |
Kim Shrier wrote:
I have letters working after a fashion. I have added letter-tablature-format and bass-viol-tuning, tenor-viol-tuning, and treble-viol-tuning to my copy ofoutput-lib.scm. This is a very simplistic implementation of using lettersthat uses the same font, font size, and alignment that the numbers use. Theresults are not very pleasing and I will need to tweak it to make it look better. I am still pondering how I want to organize the code for the other aspects of French tab. Kim
Ok I got a file from this site:
http://www.musicolibre.eu/spip.php?article134
that has a scheme hack to make letters but it's not working right.
Here's the scheme:
#(define (letter-tablature-format str tuning pitch)
(make-whiteout-markup
(make-vcenter-markup
(string (integer->char
(+ (char->integer #\a)
(- (ly:pitch-semitones pitch)
(list-ref tuning (- str 1)))))))))
The problem line is apparently the next-to-last where it says
"pitch-semitones pitch". When I try to run the file I get errors saying
"Wrong type argument in position 1 (expecting Pitch). Can you see
what's wrong with it? Or better yet, would you mind sharing a small
example of your own that does work? I'm interested in this. Thanks,
Jon -- Jonathan Kulp http://www.jonathankulp.com
| [Prev in Thread] | Current Thread | [Next in Thread] |