]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/non-traditional-key-signatures.ly
Split WWW target in two stages WWW-1 and WWW-2
[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.46"
4
5 \header {
6   lsrtags = "pitches, staff-notation"
7
8   texidoc = "
9 The commonly used @code{\\key} command sets the @code{keySignature}
10 property, in the @code{Staff} context.
11
12 To create non-standard key signatures, set this property directly. The
13 format of this command is a list:
14
15 @code{ \\set Staff.keySignature = #`(((octave . step) . alter) ((octave
16 . step) . alter) ...) } where, for each element in the list,
17 @code{octave} specifies the octave (0 being the octave from middle C to
18 the B above), @code{step} specifies the note within the octave (0 means
19 C and 6 means B), and @code{alter} is @code{,SHARP ,FLAT ,DOUBLE-SHARP}
20 etc. (Note the leading comma.)
21
22
23 Alternatively, for each item in the list, using the more concise format
24 @code{(step . alter)} specifies that the same alteration should hold in
25 all octaves.
26
27
28 Here is an example of a possible key signature for generating a
29 whole-tone scale: 
30
31 "
32   doctitle = "Non-traditional key signatures"
33 } % begin verbatim
34 \relative c' {
35   \set Staff.keySignature = #`(((0 .  3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
36   c4 d e fis
37   aes4 bes c2
38 }
39