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