]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/applying-noteheads-styles-depending-on-the-step-of-the-scale.ly
1e93beee96afde36ef30bf96fceabe2ad94aff87
[lilypond.git] / input / lsr / applying-noteheads-styles-depending-on-the-step-of-the-scale.ly
1 %% Do not edit this file; it is auto-generated from LSR!
2 %% Tags: other
3 %%  Do not edit this file; it is auto-generated from LSR!
4 \version "2.11.35"
5
6 \header { texidoc = "
7 The shapeNoteStyles property gives you the ability to define various
8 note heads styles for each step of the scale (as defined by the key
9 signature or the \"tonic\" property).
10
11 This property requires a set of symbols, which can be purely arbitrary
12 (geometrical expressions such as triangle, cross, xcircle etc. are
13 allowed) or based on old American engraving tradition (you can use some
14 latin note names as well). 
15
16 That said, if you're trying to imitate old American song books, you may
17 also want to try LilyPond's predefined note heads styles, through
18 shortcut commands such as \aikenHeads or \sacredHarpHeads.
19
20 This exemple shows different ways to obtain shape note heads, and
21 demonstrates the ability to transpose a melody without losing the
22 correspondance between harmonic functions and note heads styles.
23 " }
24
25 fragment = {
26   \key c \major
27   c1 d e f g a b c
28   \break
29 }
30
31 \relative {
32           \set shapeNoteStyles = ##(do re mi fa #f la ti)
33           \fragment
34 }
35
36 %  temporary change help LSR integration -gp
37 %{
38 \transpose c d 
39   \relative {
40           \set shapeNoteStyles = ##(do re mi fa #f la ti)
41           \fragment
42 }
43
44 \relative {
45         \set shapeNoteStyles  = ##(cross triangle fa #f mensural xcircle diamond)
46         \fragment
47 }
48 %}
49