[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Harmonica tablature notation
From: |
Carl Sorensen |
Subject: |
Re: Harmonica tablature notation |
Date: |
Tue, 27 Oct 2009 21:11:19 -0600 |
On 10/27/09 7:11 PM, "bradford powell" <address@hidden> wrote:
> On Mon, Oct 26, 2009 at 4:12 PM, Robin Bannister <address@hidden> wrote:
>> #(define* (draw hole #:optional (bends 0)) (markup (make-line-markup
>> (make-list bends #:flat )) #:circle hole))
>>
>> The make-list result is not itself a markup; for that, it must be passed to
>> something like #:line. And then the restriction at the end of NR 6.4.1
>> applies.
>> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Markup-construction
>> -in-Scheme
>>
>
> When I try that (with something like (draw "4" 1)), I still get:
> error: make-line-markup: Invalid argument in position 1. Expect:
> list of markups, found: (#:flat)
>
> I guess I could just hard-code the different degrees of bending, but
> it seems like there should be a way to do this.
Why are you using make-line-markup, which needs an argument of a list of
markups? Don't you just need a markup.
i.e. couldn't you just do
(markup (draw "4" 1))?
HTH,
Carl