]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/bagpipes.itely
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / Documentation / user / bagpipes.itely
1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore
3     Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
4
5     When revising a translation, copy the HEAD committish of the
6     version that you are working on.  See TRANSLATION for details.
7 @end ignore
8
9 @node Bagpipes
10 @section Bagpipes
11
12 This section includes extra information for writing for bagpipes.
13
14 @menu
15 * Bagpipe sections::            
16 @end menu
17
18
19 @node Bagpipe sections
20 @subsection Bagpipe sections
21
22 @menu
23 * Bagpipe definitions::         
24 * Bagpipe example::             
25 @end menu
26
27 @node Bagpipe definitions
28 @unnumberedsubsubsec Bagpipe definitions
29
30 LilyPond contains special definitions for music for the Scottish
31 highland bagpipe; to use them, add
32
33 @example
34 \include "bagpipe.ly"
35 @end example
36
37 @noindent
38 at the top of your input file.  This lets you add the special gracenotes
39 common to bagpipe music with short commands.  For example, you could
40 write @code{\taor} instead of
41
42 @example
43 \grace @{ \small G32[ d G e] @}
44 @end example
45
46 @code{bagpipe.ly} also contains pitch definitions for the bagpipe
47 notes in the appropriate octaves, so you do not need to worry about
48 @code{\relative} or @code{\transpose}.
49
50 @lilypond[ragged-right,verbatim,quote,notime]
51 \include "bagpipe.ly"
52 { \grg G4 \grg a \grg b \grg c \grg d \grg e \grg f \grA g A }
53 @end lilypond
54
55 Bagpipe music nominally uses the key of D Major (even though that
56 isn't really true).  However, since that is the only key that can be used,
57 the key signature is normally not written out.  To set this up correctly,
58 always start your music with @code{\hideKeySignature}.  If you for some
59 reason want to show the key signature, you can use @code{\showKeySignature}
60 instead.
61
62 Some modern music use cross fingering on c and f to flatten those notes.
63 This can be indicated by @code{cflat} or @code{fflat}.  Similarly, the
64 piobaireachd high g can be written @code{gflat} when it occurs in light
65 music.
66
67
68 @node Bagpipe example
69 @unnumberedsubsubsec Bagpipe example
70
71 This is what the well known tune Amazing Grace looks like in bagpipe
72 notation.
73
74 @lilypond[verbatim,quote]
75 \include "bagpipe.ly"
76 \layout {
77   indent = 0.0\cm
78   \context { \Score \remove "Bar_number_engraver" }
79 }
80
81 \header {
82   title = "Amazing Grace"
83   meter = "Hymn"
84   arranger = "Trad. arr."
85 }
86
87 {
88   \hideKeySignature
89   \time 3/4
90   \grg \partial 4 a8. d16
91   \slurd d2 \grg f8[ e32 d16.]
92   \grg f2 \grg f8 e
93   \thrwd d2 \grg b4
94   \grG a2 \grg a8. d16
95   \slurd d2 \grg f8[ e32 d16.]
96   \grg f2 \grg e8. f16
97   \dblA A2 \grg A4
98   \grg A2 f8. A16
99   \grg A2 \hdblf f8[ e32 d16.]
100   \grg f2 \grg f8 e
101   \thrwd d2 \grg b4
102   \grG a2 \grg a8. d16
103   \slurd d2 \grg f8[ e32 d16.]
104   \grg f2 e4
105   \thrwd d2.
106   \slurd d2
107   \bar "|."
108 }
109 @end lilypond
110
111
112
113
114