1.1.42 KeyChangeEvent

Change the key signature.

Syntax: \key name scale

Event classes: key-change-event, music-event and StreamEvent.

Accepted by: Key_engraver and Key_performer.


name (symbol):


Name of this music object.

to-relative-callback (procedure):

#<procedure 7f5a913f89f8 at /build/out/share/lilypond/current/scm/lily/define-music-types.scm:327:33 (x p)>

How to transform a piece of music to relative pitches.

types (list):
'(key-change-event event)

The types of this music object; determines by what engraver this music expression is processed.

LilyPond – Internals Reference v2.23.82 (development-branch).