KeyChangeEvent - LilyPond program-reference
Description: LilyPond program-reference

Next: LaissezVibrerEvent, Previous: HyphenEvent, Up: Music expressions

#### KeyChangeEvent

Change the key signature.

Syntax: `\key` name scale.

Music types: general-music, key-change-event and event

Accepted by: Key_engraver, Key_performer, Swallow_engraver and Swallow_performer

Properties:

`name` (symbol):
  `'KeyChangeEvent`

  Name of this music object

`to-relative-callback` (procedure):
  `#<procedure #f (x p)>`

  How to transform a piece of music to relative pitches

`types` (list):
  `'(general-music key-change-event event)`

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

This page is for LilyPond-2.8.8 (stable-branch).

Other languages: English.
Using automatic language selection.