1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.19.21
11 lsrtags = "contemporary-notation, pitches, really-cool, staff-notation, version-specific"
14 The commonly used @code{\\key} command sets the @code{keyAlterations}
15 property, in the @code{Staff} context.
17 To create non-standard key signatures, set this property directly. The
18 format of this command is a list:
20 @code{ \\set Staff.keyAlterations = #`(((octave . step) . alter) ((octave
21 . step) . alter) ...) } where, for each element in the list,
22 @code{octave} specifies the octave (0 being the octave from middle C to
23 the B above), @code{step} specifies the note within the octave (0 means
24 C and 6 means B), and @code{alter} is @code{,SHARP ,FLAT ,DOUBLE-SHARP}
25 etc. (Note the leading comma.)
28 Alternatively, for each item in the list, using the more concise format
29 @code{(step . alter)} specifies that the same alteration should hold in
33 For microtonal scales where a @qq{sharp} is not 100 cents, @code{alter}
34 refers to the alteration as a proportion of a 200-cent whole tone.
37 Here is an example of a possible key signature for generating a
41 doctitle = "Non-traditional key signatures"
47 \set Staff.keyAlterations = #`((6 . ,FLAT)