]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/non-traditional-key-signatures.ly
Removed a number of engravers from the definition DrumVoice
[lilypond.git] / input / lsr / non-traditional-key-signatures.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.38"
4
5 \header {
6   lsrtags = "pitches, staff-notation"
7  texidoc = "
8 The commonly used @code{\\key} command sets the @code{keySignature}
9 property, in the @code{Staff} context. However, non-standard key
10 signatures can be specified by setting this property directly. The
11 format of this command is a list: @code{ \\set Staff.keySignature =
12 #'(((octave . step) . alter) ((octave . step) . alter) ...) } where,
13 for each element in the list, octave specifies the octave (0 being the
14 octave from middle C to the B above), step specifies the note within
15 the octave (0 means C and 6 means B), and alter is ,SHARP ,FLAT
16 ,DOUBLE-SHARP etc. (Note the leading comma.)
17
18 However, for each item in the list, you can also use the alternative
19 format (step . alter), which specifies that the same alteration should
20 hold in all octaves.
21
22
23 Here is an example of a possible key signature for generating a
24 whole-tone scale: 
25 " }
26 % begin verbatim
27 \relative c' {
28   \set Staff.keySignature =
29     #`(((0 .  3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
30   c d e fis aes bes c2
31 }
32