]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/note-head-style.ly
release: 1.3.153
[lilypond.git] / input / regression / note-head-style.ly
1 \version "1.3.146"
2 \header{
3 texidoc="
4 Note head shapes are settable.  The stem endings should be adjusted
5 per note head.  If you want different note head styles on one stem,
6 you must create a special context called Thread.
7
8 Harmonic notes have a different shape and different
9 dimensions. Nevertheless, noteheads in both styles can be combined, on
10 either up or down stems.
11 "
12 }
13
14 \score { \notes \relative c''{
15 % \property Voice.Stem \override #'thickness = #5.0
16 \property Voice.NoteHead \set #'style = #'default
17 c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
18 \property Voice.NoteHead \set #'style = #'diamond
19 c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
20 \property Voice.NoteHead \set #'style = #'transparent
21 c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
22 \property Voice.NoteHead \set #'style = #'cross
23 c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
24 \property Voice.NoteHead \set #'style = #'xcircle
25 c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
26 \property Voice.NoteHead \set #'style = #'slash
27 c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
28 \property Voice.NoteHead \set #'style = #'mensural
29 c4 c2 c8  c16 c16  c1 c\breve c\longa b4 b2 b8  b16 b16 b1 b\breve b\longa \break
30 \property Voice.NoteHead \set #'style = #'harmonic
31 c4 c2 c8  c16 c16 c1 c\breve b4 b2 b8  b16 b16 b1 b\breve \break
32 \property Voice.NoteHead \set #'style = #'baroque
33 c4 c2 c8  c16 c16  c1 c\breve c\longa b4 b2 b8  b16 b16 b1 b\breve b\longa \break
34
35
36    \context Voice = another <
37     \context Thread = TA
38       {
39         \property Thread.NoteHead \set #'style = #'cross
40         \property Voice.Stem \set #'direction = #1
41         c16
42        }
43     \context Thread = TB
44       { \property Thread.NoteHead \set #'style = #'default a16  }
45
46     \context Thread = TC
47       { \property Thread.NoteHead \set #'style = #'mensural d16 }
48
49   >
50
51
52    \context Voice <
53      \context Thread = TA {
54        \property Thread.NoteHead \set #'style = #'cross
55        c4 c4 c4 c4 }
56      \context Thread = TB {
57        \property Thread.NoteHead \set #'style = #'mensural
58        c'4 \stemDown c
59        \property Thread.NoteHead \set #'style = #'slash
60        \stemUp c4 \stemDown c
61 } >
62
63 }
64
65     \paper {}
66 }