]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/de/user/percussion.itely
Correct 'Y-extent overrides in percussion stave examples.
[lilypond.git] / Documentation / de / user / percussion.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*-
2 @c This file is part of lilypond.tely
3 @ignore
4     Translation of GIT committish: 19fc0f930f921ca2609e0e60aa26f9d980771b97
5
6     When revising a translation, copy the HEAD committish of the
7     version that you are working on.  See TRANSLATION for details.
8 @end ignore
9
10 @c \version "2.11.62"
11
12 @node Percussion
13 @section Percussion
14
15 @untranslated
16
17
18 @menu
19 * Common notation for percussion::
20 @end menu
21
22 @node Common notation for percussion
23 @subsection Common notation for percussion
24
25 Rhythmusnotation wird vor allem für Schlaginstrumente eingesetzt, 
26 aber hiermit kann auch der Rhythmus einer Melodie dargestellt werden.
27
28
29 @menu
30 * References for percussion::
31 * Basic percussion notation::
32 * Percussion staves::
33 * Ghost notes::
34 @end menu
35
36 @node References for percussion
37 @unnumberedsubsubsec References for percussion
38
39 @untranslated
40
41 @node Basic percussion notation
42 @unnumberedsubsubsec Basic percussion notation
43
44 @cindex Percussion
45 @cindex Drums
46 @cindex Schlagzeug
47
48
49 Schlagzeug-Noten können im @code{\drummode}-Modus notiert werden, 
50 der sich ähnlich verhält wie der Standardmodus für die Noteneingabe. 
51 Jedes Schlagzeuginstrument hat einen langen Namen und eine Abkürzung,
52 und beide können nebeneinander benutzt werden.
53
54 @lilypond[quote,ragged-right,verbatim]
55 \drums {
56   hihat hh bassdrum bd
57 }
58 @end lilypond
59
60 Eine vollständige Liste der Schlagwerk-Bezeichnungen findet sich in 
61 der Datei @file{ly/@/drumpitch@/-init@/.ly}.
62 @c TODO: properly document this.
63
64 @seealso
65
66 Programmreferenz:
67 @rinternals{note-event}.
68
69
70 @node Percussion staves
71 @unnumberedsubsubsec Percussion staves
72
73 @cindex Perkussion
74 @cindex Schlagzeug
75
76 Ein Schlagzeug-System besteht üblicherweise aus einem Notensystem 
77 mit mehreren Linien, wobei jede Linie ein bestimmtes Schlagzeug-Instrument 
78 darstellt.
79
80 Um die Noten darstellen zu können, müssen sie sich innerhalb von 
81 einem @rinternals{DrumStaff}- und einem 
82 @rinternals{DrumVoice}-Kontext befinden.
83
84 @lilypond[quote,ragged-right,verbatim]
85 up = \drummode { crashcymbal4 hihat8 halfopenhihat hh hh hh openhihat }
86 down = \drummode { bassdrum4 snare8 bd r bd sn4 }
87   \new DrumStaff <<
88     \new DrumVoice { \voiceOne \up }
89     \new DrumVoice { \voiceTwo \down }
90   >>
91 @end lilypond
92 Das Beispiel zeigt ausdrücklich definierte mehrstimmige Notation. Die 
93 Kurznotation für mehrstimmige Musik, wie sie im Abschnitt 
94 @ref{Basic polyphony} beschrieben wird, kann auch verwendet werden, 
95 wenn die @rinternals{DrumVoice} (Schlagzeugstimmen) am Anfang explizit 
96 initialisiert werden.
97
98 @lilypond[quote,ragged-right,fragment,verbatim]
99 \new DrumStaff <<
100   \new DrumVoice = "1" { s1 *2 }
101   \new DrumVoice = "2" { s1 *2 }
102   \drummode {
103     bd4 sn4 bd4 sn4
104     <<
105       { \repeat unfold 16 hh16 }
106       \\
107       { bd4 sn4 bd4 sn4 }
108     >>
109   }
110 >>
111 @end lilypond
112
113 Es gibt auch weitere Layout-Einstellungen. Um diese zu verwenden, 
114 muss die Eigenschaft @code{drumStyleTable} im 
115 @rinternals{DrumVoice}-Kontext entsprechend eingestellt werden. 
116 Folgende Variablen sind vordefiniert:
117
118 @table @code
119 @item drums-style
120 Das ist die Standardeinstellung. Hiermit wird ein typisches 
121 Schlagzeug-System auf fünf Notenlinien erstellt.
122
123 @lilypond[quote,line-width=10.0\cm]
124 nam = \lyricmode {
125   cymc cyms cymr hh hhc hho hhho hhp
126   cb hc bd sn ss tomh tommh tomml toml tomfh tomfl }
127 mus = \drummode {
128   cymc cyms cymr hh hhc hho hhho hhp \break
129   cb hc bd sn ss tomh tommh tomml toml tomfh tomfl s16 }
130 \score {
131   << \new DrumStaff \with {
132        \remove Bar_engraver
133        \remove Time_signature_engraver
134        \override Stem #'transparent = ##t
135        \override Stem #'Y-extent = ##f
136        \override VerticalAxisGroup #'minimum-Y-extent = #'(-4.0 . 5.0)
137      } \mus
138      \new Lyrics \nam
139   >>
140   \layout {
141     \context {
142       \Score
143       \override LyricText #'font-family = #'typewriter
144       \override BarNumber #'transparent =##T
145     }
146   }
147 }
148 @end lilypond
149 Die Schlagzeugdefinitionen unterstützen sechs unterschiedliche 
150 Tom Toms. Falls eine geringere Anzahl verwendet wird, kann man 
151 einfach die Tom Toms auswählen, deren Notation man haben will. 
152 Tom Toms auf den drei mittleren Linien werden mit den Bezeichnungen 
153 @code{tommh}, @code{tomml} und @code{tomfh} notiert.
154
155 @item timbales-style
156 Hiermit werden Timbale auf zwei Notenlinien gesetzt.
157
158 @lilypond[quote,ragged-right]
159 nam = \lyricmode { timh ssh timl ssl cb }
160 mus = \drummode { timh ssh timl ssl cb s16 }
161
162 <<
163   \new DrumStaff \with {
164     \remove Bar_engraver
165     \remove Time_signature_engraver
166     \override Stem #'transparent = ##t
167     \override Stem #'Y-extent = ##f
168     \override StaffSymbol #'line-count = #2
169     \override StaffSymbol #'staff-space = #2
170     \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
171     drumStyleTable = #timbales-style
172   } \mus
173   \new Lyrics {
174     \override LyricText #'font-family = #'typewriter
175     \nam
176   }
177 >>
178 @end lilypond
179
180 @item congas-style
181 Hiermit werden Congas auf zwei Linien gesetzt.
182
183 @lilypond[quote,ragged-right]
184 nam = \lyricmode { cgh cgho cghm ssh cgl cglo cglm ssl }
185 mus = \drummode { cgh cgho cghm ssh cgl cglo cglm ssl s16 }
186
187 <<
188   \new DrumStaff \with {
189     \remove Bar_engraver
190     \remove Time_signature_engraver
191     drumStyleTable = #congas-style
192     \override StaffSymbol #'line-count = #2
193
194     %% this sucks; it will lengthen stems.
195     \override StaffSymbol #'staff-space = #2
196     \override Stem #'transparent = ##t
197     \override Stem #'Y-extent = ##f
198   } \mus
199   \new Lyrics {
200     \override LyricText #'font-family = #'typewriter
201     \nam
202   }
203 >>
204 @end lilypond
205
206 @item bongos-style
207 Hiermit werden Bongos auf zwei Linien gesetzt.
208
209 @lilypond[quote,ragged-right]
210 nam = \lyricmode { boh boho bohm ssh bol bolo bolm ssl }
211 mus = \drummode { boh boho bohm ssh bol bolo bolm ssl s16 }
212
213 <<
214   \new DrumStaff \with {
215     \remove Bar_engraver
216     \remove Time_signature_engraver
217     \override StaffSymbol #'line-count = #2
218     drumStyleTable = #bongos-style
219
220     %% this sucks; it will lengthen stems.
221     \override StaffSymbol #'staff-space = #2
222     \override Stem #'transparent = ##t
223     \override Stem #'Y-extent = ##f
224   } \mus
225   \new Lyrics {
226     \override LyricText #'font-family = #'typewriter
227     \nam
228   }
229 >>
230 @end lilypond
231
232 @item percussion-style
233 Dieser Stil ist für alle einfachen Perkussionsinstrumente auf einer Notenlinie.
234
235 @lilypond[quote,ragged-right]
236 nam = \lyricmode { tri trio trim gui guis guil cb cl tamb cab mar hc }
237 mus = \drummode { tri trio trim gui guis guil cb cl tamb cab mar hc s16 }
238
239 <<
240   \new DrumStaff \with{
241     \remove Bar_engraver
242     drumStyleTable = #percussion-style
243     \override StaffSymbol #'line-count = #1
244     \remove Time_signature_engraver
245     \override Stem #'transparent = ##t
246     \override Stem #'Y-extent = ##f
247   } \mus
248   \new Lyrics {
249     \override LyricText #'font-family = #'typewriter
250     \nam
251   }
252 >>
253 @end lilypond
254 @end table
255
256 Wenn ihnen keine der vordefinierten Stile gefällt, können Sie auch eine 
257 eigene Liste der Positionen und Notenköpfe am Anfang ihrer Datei erstellen.
258
259 @lilypond[quote,ragged-right,verbatim]
260 #(define mydrums '(
261          (bassdrum     default   #f         -1)
262          (snare        default   #f         0)
263          (hihat        cross     #f         1)
264          (pedalhihat   xcircle   "stopped"  2)
265          (lowtom       diamond   #f         3)))
266 up = \drummode { hh8 hh hh hh hhp4 hhp }
267 down = \drummode { bd4 sn bd toml8 toml }
268
269 \new DrumStaff <<
270   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
271   \new DrumVoice { \voiceOne \up }
272   \new DrumVoice { \voiceTwo \down }
273 >>
274 @end lilypond
275
276
277 @seealso
278
279 Init-Dateien: @file{ly/@/drumpitch@/-init@/.ly}.
280
281 Programmreferenz: @rinternals{DrumStaff}, @rinternals{DrumVoice}.
282
283 @knownissues
284
285 Weil in den allgemeinen MIDI-Definitionen kein Rimshot enthalten ist, 
286 wird sidestick für diesen Zweck benutzt.
287
288
289 @node Ghost notes
290 @unnumberedsubsubsec Ghost notes
291
292 Geisternoten für Schlagzeug und Perkussion können mit dem 
293 Klammer- (@code{\parenthesize})-Befehl, beschrieben in @ref{Parentheses}, 
294 erstellt werden. Im Standard-@code{\drummode}-Modus ist aber 
295 das @code{Parenthesis_engraver}-Plugin nicht automatisch enthalten. 
296 Sie müssen das Plugin ausdrücklich in den Kontext-Definitionen 
297 laden, wie im Abschnitt @rlearning{Modifying context properties}
298 detailliert beschrieben.
299
300 @lilypond[quote,ragged-right,verbatim,fragment]
301 \new DrumStaff \with {
302   \consists "Parenthesis_engraver"
303 } <<
304   \context DrumVoice  = "1"  { s1 *2 }
305   \context DrumVoice  = "2" { s1 *2 }
306   \drummode {
307     <<
308       {
309         hh8[ hh] <hh sn> hh16
310         < \parenthesize sn > hh < \parenthesize
311         sn > hh8 <hh sn> hh
312       } \\ {
313         bd4 r4 bd8 bd r8 bd
314       }
315     >>
316   }
317 >>
318 @end lilypond
319
320 @noindent
321 Um jede Klammer-Definition (@code{\parenthesize}) müssen
322  zusätzlich die spitzen 
323 Klammern für Akkorde (@code{< >}) gesetzt werden.
324
325