lilypond-user
[Top][All Lists]
Advanced

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

Re: Reverting to atonal or open key


From: David Kastrup
Subject: Re: Reverting to atonal or open key
Date: Sat, 31 Aug 2013 23:05:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Micah Walter <address@hidden> writes:

> In Lilypond, there is a distinction between specifying \key c \major and
> leaving the key blank.

Not really.

> In the former case, transposing instruments will change the key
> signature accordingly, while in the latter case, no key signature will
> be added. Using \transpose c d, for instance, will add two sharps if
> \key c \major is listed, but not when no key is listed.
>
> What happens when I go from an ‘open key’ section to a tonal section, and
> back to ‘open key’? I've tried\revert \key, but this seems to be bad
> syntax. Is there a way to revert to a key-free area?
>
> Minimal example, which should have a key signature of one flat in the
> second section but no sharps or flats elsewhere:
>
> \transpose c d {
>   % Open key
>   c8 e f g e d des c
>
>   \key c \minor
>   c es g es f d c b
>
>   % How to return to open key??
>   c8 e f g e d des c
> }

Well, you could do something like

\withMusicProperty #'untransposable ##t \key c\major

It's not terribly fabulous, but possibly will do the trick.

-- 
David Kastrup




reply via email to

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