[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Woodwind Fingerings
From: |
Neil Puttock |
Subject: |
Re: Woodwind Fingerings |
Date: |
Mon, 12 Apr 2010 23:27:27 +0100 |
On 12 April 2010 22:57, Bernardo Barros <address@hidden> wrote:
> nor this one. If someone made it works tell me.
>
> #(define-markup-command (fing layout props finger1 finger2 finger3 finger4
> finger5 finger6)
> (boolean? boolean? boolean? boolean? boolean? boolean?)
You'll have to put the booleans in a list, since you're passing too
many arguments: LilyPond will only accept three scheme types in a row
for a markup command.
#(define-markup-command (fing layout props fingers)
(list?)
If you pass your markup through \displayMusic, it'll give you the
scheme version which you can then use for the markup command:
(markup
#:line
(#:override
(baseline-skip . 1.5)
(#:halign
1
(#:column
(#:line
(#:simple
" "
#:override
(font-size . -3)
(#:natural))
#:simple
" "
#:simple
" "
#:line
(#:override (font-size . -2) "g# "))))
#:override
(baseline-skip . 1.5)
(#:column
(#:draw-circle
0.5
0.1
#t
#:draw-circle
0.5
0.1
#t
#:draw-circle
0.5
0.1
#t
#:draw-circle
0.5
0.1
#t
#:draw-circle
0.5
0.1
#t
#:draw-circle
0.5
0.1
#t
#:override
(font-size . -2)
" D#"))))
You just need to replace the `#t' in the draw-circle commands with the
relevant entry from the list,
(first fingers)
...
(sixth fingers)
and ensure the #:override pairs are quoted properly,
#:override '(font-size . -2)
Regards,
Neil
- Re: Woodwind Fingerings, (continued)
- Re: Woodwind Fingerings, Mark Polesky, 2010/04/12
- Re: Woodwind Fingerings, Mark Polesky, 2010/04/12
- Re: Woodwind Fingerings, Bernardo Barros, 2010/04/12
- Re: Woodwind Fingerings, Bernardo Barros, 2010/04/12
- Re: Woodwind Fingerings, Bernardo Barros, 2010/04/12
- Re: Woodwind Fingerings,
Neil Puttock <=
- Re: Woodwind Fingerings, Bernardo Barros, 2010/04/12
- Re: Woodwind Fingerings, Bernardo Barros, 2010/04/12
- Re: Woodwind Fingerings, Neil Puttock, 2010/04/12
- Re: Woodwind Fingerings, Bernardo Barros, 2010/04/12
- Re: Woodwind Fingerings, Carl Sorensen, 2010/04/12
- Re: Woodwind Fingerings, Bernardo Barros, 2010/04/12
- Re: Woodwind Fingerings, Bernardo Barros, 2010/04/12
- Re: Woodwind Fingerings, Mark Polesky, 2010/04/12
- Re: Woodwind Fingerings, Bernardo Barros, 2010/04/12
Re: Woodwind Fingerings, Mark Polesky, 2010/04/13