In Lilypond, there is a distinction between specifying \key c \major and
leaving the key blank. 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
}

P.S. I've added this question to Stack Exchange; if anyone would like
credit for the answer there, it's at
http://stackoverflow.com/questions/18476344/lilypond-is-it-possible-to-revert-to-atonal-key
.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to