[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unusual key signatures in lilypond
From: |
Michael Vanier |
Subject: |
Re: unusual key signatures in lilypond |
Date: |
Wed, 3 Jan 2001 13:16:25 -0800 (PST) |
> From: Han-Wen Nienhuys <address@hidden>
>
> 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))
>
This is a good idea.
> > \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.
>
OK, but it doesn't work in 1.3.120. I get b-flat and f-flat regardless of
what I specify in the alist (even an empty alist!). I believe this is a bug.
> > 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.
>
This works. Thanks.
Mike