help-gnu-music
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unusual key signatures in lilypond


From: Han-Wen Nienhuys
Subject: unusual key signatures in lilypond
Date: Wed, 3 Jan 2001 10:32:23 +0100

address@hidden writes:
> but this no longer works (BTW why was it removed?).

Because I think that this case is so special that it does not warrant
a separate syntax. We might change still change the syntax, though,
because pitch objects have recently become Scheme-ized as well, so
maybe you will be able to do.

keySignature = #(map parse-pitch '(es ges bes))

>     \property keySignature = #'((2 . -1) (4 . -1) (6 . -1))
> 
> (BTW can anyone explain the syntax to me?) but when I do I get this error
> message:

it's a association list, ie. a scheme list of (KEY . VALUE) pairs. KEY
is a the note name (0 = C, 1 = D, etc), and VALUE The alteration. 

> tune1.ly:147:44: error: parse error, expecting `'.'':
>                     \property keySignature =
>                                              #'((2 . -1) (4 . -1) (6 . -1))
> 
> This is using the latest development version of Lilypond (1.3.119).

try setting Staff.keySignature.

-- 

Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]