Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(46)

Side by Side Diff: Documentation/notation/percussion.itely

Issue 1242044: Doc: NR: Reformat ly code. (Closed)
Patch Set: Make changes requested by Graham. Created 13 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 @c -*- coding: utf-8; mode: texinfo; -*- 1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore 2 @ignore
3 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH 3 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
4 4
5 When revising a translation, copy the HEAD committish of the 5 When revising a translation, copy the HEAD committish of the
6 version that you are working on. For details, see the Contributors' 6 version that you are working on. For details, see the Contributors'
7 Guide, node Updating translation committishes.. 7 Guide, node Updating translation committishes..
8 @end ignore 8 @end ignore
9 9
10 @c \version "2.12.0" 10 @c \version "2.12.0"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 @cindex clef, percussion 93 @cindex clef, percussion
94 @cindex percussion clef 94 @cindex percussion clef
95 95
96 Note that the normal notation of pitches (such as @code{cis4}) in a 96 Note that the normal notation of pitches (such as @code{cis4}) in a
97 @code{DrumStaff} context will cause an error message. Percussion clefs 97 @code{DrumStaff} context will cause an error message. Percussion clefs
98 are added automatically to a @code{DrumStaff} context but they can also 98 are added automatically to a @code{DrumStaff} context but they can also
99 be set explicitly. Other clefs may be used as well. 99 be set explicitly. Other clefs may be used as well.
100 100
101 @lilypond[quote,ragged-right,verbatim] 101 @lilypond[quote,ragged-right,verbatim]
102 \drums { 102 \drums {
103 \clef treble 103 \clef "treble"
104 hh4 hh hh hh 104 hh4 hh hh hh |
105 \break 105 \break
106 \clef percussion 106 \clef "percussion"
107 bd4 bd bd bd 107 bd4 bd bd bd |
108 } 108 }
109 @end lilypond 109 @end lilypond
110 110
111 111
112 There are a few issues concerning MIDI support for percussion 112 There are a few issues concerning MIDI support for percussion
113 instruments; for details please see @ref{Percussion in MIDI}. 113 instruments; for details please see @ref{Percussion in MIDI}.
114 114
115 115
116 @seealso 116 @seealso
117 Notation Reference: 117 Notation Reference:
(...skipping 14 matching lines...) Expand all
132 quarter notes or longer the three slashes are shown explicitly, 132 quarter notes or longer the three slashes are shown explicitly,
133 eighth notes are shown with two slashes (the beam being the 133 eighth notes are shown with two slashes (the beam being the
134 third), and drum rolls shorter than eighths have one stem slash to 134 third), and drum rolls shorter than eighths have one stem slash to
135 supplement the beams. This is achieved with the tremolo notation, 135 supplement the beams. This is achieved with the tremolo notation,
136 @code{:32}, as described in @ref{Tremolo repeats}. Here is an 136 @code{:32}, as described in @ref{Tremolo repeats}. Here is an
137 example of some snare rolls: 137 example of some snare rolls:
138 138
139 @lilypond[quote,verbatim] 139 @lilypond[quote,verbatim]
140 \drums { 140 \drums {
141 \time 2/4 141 \time 2/4
142 sn16 sn8 sn16 sn8 sn8:32 ~ 142 sn16 sn8 sn16 sn8 sn:32~ |
143 sn8 sn8 sn4:32 ~ 143 sn8 sn sn4:32~ |
144 sn4 sn8 sn16 sn16 144 sn4 sn8 sn16 sn |
145 sn4 r4 145 sn4 r |
146 } 146 }
147 @end lilypond 147 @end lilypond
148 148
149 Sticking can be indicated by placing @code{^"R"} or @code{^"L"} 149 Sticking can be indicated by placing @code{^"R"} or @code{^"L"}
150 after the note. The @code{staff-padding} property may be 150 after the note. The @code{staff-padding} property may be
151 overridden to achieve a pleasing baseline. 151 overridden to achieve a pleasing baseline.
152 152
153 @lilypond[quote,verbatim] 153 @lilypond[quote,verbatim]
154 \drums { 154 \drums {
155 \repeat unfold 2 { 155 \repeat unfold 2 {
156 sn16 ^"L" sn^"R" sn^"L" sn^"L" sn^"R" sn^"L" sn^"R" sn^"R" 156 sn16^"L" sn^"R" sn^"L" sn^"L" sn^"R" sn^"L" sn^"R" sn^"R"
157 } 157 }
158 } 158 }
159 @end lilypond 159 @end lilypond
160 160
161 161
162 @seealso 162 @seealso
163 Snippets: 163 Snippets:
164 @rlsr{Percussion}. 164 @rlsr{Percussion}.
165 165
166 166
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 @end lilypond 208 @end lilypond
209 209
210 The above example shows verbose polyphonic notation. The short 210 The above example shows verbose polyphonic notation. The short
211 polyphonic notation, described in @rlearning{I'm hearing Voices}, 211 polyphonic notation, described in @rlearning{I'm hearing Voices},
212 can also be used. 212 can also be used.
213 For example, 213 For example,
214 214
215 @lilypond[quote,verbatim] 215 @lilypond[quote,verbatim]
216 \new DrumStaff << 216 \new DrumStaff <<
217 \drummode { 217 \drummode {
218 bd4 sn4 bd4 sn4 218 bd4 sn bd sn |
219 << { 219 << {
220 \repeat unfold 16 hh16 220 \repeat unfold 16 { hh16 }
221 } \\ { 221 } \\ {
222 bd4 sn4 bd4 sn4 222 bd4 sn bd sn
223 } >> 223 } >> |
224 } 224 }
225 >> 225 >>
226 @end lilypond 226 @end lilypond
227 227
228 There are also other layout possibilities. To use these, set the 228 There are also other layout possibilities. To use these, set the
229 property @code{drumStyleTable} in context @code{DrumVoice}. The 229 property @code{drumStyleTable} in context @code{DrumVoice}. The
230 following variables have been predefined: 230 following variables have been predefined:
231 231
232 @c TODO: decide what to do about this table. (ie verbatim or not) 232 @c TODO: decide what to do about this table. (ie verbatim or not)
233 @table @code 233 @table @code
234 234
235 @item drums-style 235 @item drums-style
236 This is the default. It typesets a typical drum kit on a 236 This is the default. It typesets a typical drum kit on a
237 five-line staff: 237 five-line staff:
238 238
239 @lilypond[quote,line-width=10.0\cm] 239 @lilypond[quote,line-width=10.0\cm]
240 nam = \lyricmode { 240 nam = \lyricmode {
241 cymc cyms cymr hh hhc hho hhho hhp 241 cymc4 cyms cymr hh hhc hho hhho hhp
242 cb hc bd sn ss tomh tommh tomml toml tomfh tomfl } 242 cb hc bd sn ss tomh tommh tomml toml tomfh tomfl }
243 mus = \drummode { 243 mus = \drummode {
244 cymc cyms cymr hh hhc hho hhho hhp \break 244 cymc4 cyms cymr hh hhc hho hhho hhp \break
245 cb hc bd sn ss tomh tommh tomml toml tomfh tomfl s16 } 245 cb hc bd sn ss tomh tommh tomml toml tomfh tomfl s16 }
246 \score { 246 \score {
247 << \new DrumStaff \with { 247 << \new DrumStaff \with {
248 \remove Bar_engraver 248 \remove Bar_engraver
249 \remove Time_signature_engraver 249 \remove Time_signature_engraver
250 \override Stem #'transparent = ##t 250 \override Stem #'transparent = ##t
251 \override Stem #'Y-extent = ##f 251 \override Stem #'Y-extent = ##f
252 \override VerticalAxisGroup #'minimum-Y-extent = #'(-4.0 . 5.0) 252 \override VerticalAxisGroup #'minimum-Y-extent = #'(-4.0 . 5.0)
253 } \mus 253 } \mus
254 \new Lyrics \nam 254 \new Lyrics \nam
(...skipping 10 matching lines...) Expand all
265 265
266 The drum scheme supports six different toms. When there are fewer 266 The drum scheme supports six different toms. When there are fewer
267 toms, simply select the toms that produce the desired result. For 267 toms, simply select the toms that produce the desired result. For
268 example, to get toms on the three middle lines you use 268 example, to get toms on the three middle lines you use
269 @code{tommh}, @code{tomml}, and @code{tomfh}. 269 @code{tommh}, @code{tomml}, and @code{tomfh}.
270 270
271 @item timbales-style 271 @item timbales-style
272 This typesets timbales on a two line staff: 272 This typesets timbales on a two line staff:
273 273
274 @lilypond[quote,ragged-right] 274 @lilypond[quote,ragged-right]
275 nam = \lyricmode { timh ssh timl ssl cb } 275 nam = \lyricmode { timh4 ssh timl ssl cb }
276 mus = \drummode { timh ssh timl ssl cb s16 } 276 mus = \drummode { timh4 ssh timl ssl cb s16 }
277 277
278 << 278 <<
279 \new DrumStaff \with { 279 \new DrumStaff \with {
280 \remove Bar_engraver 280 \remove Bar_engraver
281 \remove Time_signature_engraver 281 \remove Time_signature_engraver
282 \override Stem #'transparent = ##t 282 \override Stem #'transparent = ##t
283 \override Stem #'Y-extent = ##f 283 \override Stem #'Y-extent = ##f
284 \override StaffSymbol #'line-count = #2 284 \override StaffSymbol #'line-count = #2
285 \override StaffSymbol #'staff-space = #2 285 \override StaffSymbol #'staff-space = #2
286 \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0) 286 \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
287 drumStyleTable = #timbales-style 287 drumStyleTable = #timbales-style
288 } \mus 288 } \mus
289 \new Lyrics { 289 \new Lyrics {
290 \override LyricText #'font-family = #'typewriter 290 \override LyricText #'font-family = #'typewriter
291 \nam 291 \nam
292 } 292 }
293 >> 293 >>
294 @end lilypond 294 @end lilypond
295 295
296 @item congas-style 296 @item congas-style
297 This typesets congas on a two line staff: 297 This typesets congas on a two line staff:
298 298
299 @lilypond[quote,ragged-right] 299 @lilypond[quote,ragged-right]
300 nam = \lyricmode { cgh cgho cghm ssh cgl cglo cglm ssl } 300 nam = \lyricmode { cgh4 cgho cghm ssh cgl cglo cglm ssl }
301 mus = \drummode { cgh cgho cghm ssh cgl cglo cglm ssl s16 } 301 mus = \drummode { cgh4 cgho cghm ssh cgl cglo cglm ssl s16 }
302 302
303 << 303 <<
304 \new DrumStaff \with { 304 \new DrumStaff \with {
305 \remove Bar_engraver 305 \remove Bar_engraver
306 \remove Time_signature_engraver 306 \remove Time_signature_engraver
307 drumStyleTable = #congas-style 307 drumStyleTable = #congas-style
308 \override StaffSymbol #'line-count = #2 308 \override StaffSymbol #'line-count = #2
309 309
310 %% this sucks; it will lengthen stems. 310 %% this sucks; it will lengthen stems.
311 \override StaffSymbol #'staff-space = #2 311 \override StaffSymbol #'staff-space = #2
312 \override Stem #'transparent = ##t 312 \override Stem #'transparent = ##t
313 \override Stem #'Y-extent = ##f 313 \override Stem #'Y-extent = ##f
314 } \mus 314 } \mus
315 \new Lyrics { 315 \new Lyrics {
316 \override LyricText #'font-family = #'typewriter 316 \override LyricText #'font-family = #'typewriter
317 \nam 317 \nam
318 } 318 }
319 >> 319 >>
320 @end lilypond 320 @end lilypond
321 321
322 @item bongos-style 322 @item bongos-style
323 This typesets bongos on a two line staff: 323 This typesets bongos on a two line staff:
324 324
325 @lilypond[quote,ragged-right] 325 @lilypond[quote,ragged-right]
326 nam = \lyricmode { boh boho bohm ssh bol bolo bolm ssl } 326 nam = \lyricmode { boh4 boho bohm ssh bol bolo bolm ssl }
327 mus = \drummode { boh boho bohm ssh bol bolo bolm ssl s16 } 327 mus = \drummode { boh4 boho bohm ssh bol bolo bolm ssl s16 }
328 328
329 << 329 <<
330 \new DrumStaff \with { 330 \new DrumStaff \with {
331 \remove Bar_engraver 331 \remove Bar_engraver
332 \remove Time_signature_engraver 332 \remove Time_signature_engraver
333 \override StaffSymbol #'line-count = #2 333 \override StaffSymbol #'line-count = #2
334 drumStyleTable = #bongos-style 334 drumStyleTable = #bongos-style
335 335
336 %% this sucks; it will lengthen stems. 336 %% this sucks; it will lengthen stems.
337 \override StaffSymbol #'staff-space = #2 337 \override StaffSymbol #'staff-space = #2
338 \override Stem #'transparent = ##t 338 \override Stem #'transparent = ##t
339 \override Stem #'Y-extent = ##f 339 \override Stem #'Y-extent = ##f
340 } \mus 340 } \mus
341 \new Lyrics { 341 \new Lyrics {
342 \override LyricText #'font-family = #'typewriter 342 \override LyricText #'font-family = #'typewriter
343 \nam 343 \nam
344 } 344 }
345 >> 345 >>
346 @end lilypond 346 @end lilypond
347 347
348 @item percussion-style 348 @item percussion-style
349 To typeset all kinds of simple percussion on one line staves: 349 To typeset all kinds of simple percussion on one line staves:
350 350
351 @lilypond[quote,ragged-right] 351 @lilypond[quote,ragged-right]
352 nam = \lyricmode { tri trio trim gui guis guil cb cl tamb cab mar hc } 352 nam = \lyricmode { tri4 trio trim gui guis guil cb cl tamb cab mar hc }
353 mus = \drummode { tri trio trim gui guis guil cb cl tamb cab mar hc s16 } 353 mus = \drummode { tri4 trio trim gui guis guil cb cl tamb cab mar hc s16 }
354 354
355 << 355 <<
356 \new DrumStaff \with{ 356 \new DrumStaff \with{
357 \remove Bar_engraver 357 \remove Bar_engraver
358 drumStyleTable = #percussion-style 358 drumStyleTable = #percussion-style
359 \override StaffSymbol #'line-count = #1 359 \override StaffSymbol #'line-count = #1
360 \remove Time_signature_engraver 360 \remove Time_signature_engraver
361 \override Stem #'transparent = ##t 361 \override Stem #'transparent = ##t
362 \override Stem #'Y-extent = ##f 362 \override Stem #'Y-extent = ##f
363 } \mus 363 } \mus
364 \new Lyrics { 364 \new Lyrics {
365 \override LyricText #'font-family = #'typewriter 365 \override LyricText #'font-family = #'typewriter
366 \nam 366 \nam
367 } 367 }
368 >> 368 >>
369 @end lilypond 369 @end lilypond
370 @end table 370 @end table
371 371
372 372
373 @node Custom percussion staves 373 @node Custom percussion staves
374 @unnumberedsubsubsec Custom percussion staves 374 @unnumberedsubsubsec Custom percussion staves
375 375
376 If you do not like any of the predefined lists you can define your 376 If you do not like any of the predefined lists you can define your
377 own list at the top of your file. 377 own list at the top of your file.
378 378
379 @lilypond[quote,verbatim] 379 @lilypond[quote,verbatim]
380 #(define mydrums '( 380 #(define mydrums
381 (bassdrum default #f -1) 381 '((bassdrum default #f -1)
382 (snare default #f 0) 382 (snare default #f 0)
383 (hihat cross #f 1) 383 (hihat cross #f 1)
384 (halfopenhihat cross "halfopen" 1) 384 (halfopenhihat cross "halfopen" 1)
385 (pedalhihat xcircle "stopped" 2) 385 (pedalhihat xcircle "stopped" 2)
386 (lowtom diamond #f 3))) 386 (lowtom diamond #f 3)))
387 up = \drummode { hh8 hh hhho hhho hhp4 hhp } 387 up = \drummode { hh8 hh hhho hhho hhp4 hhp }
388 down = \drummode { bd4 sn bd toml8 toml } 388 down = \drummode { bd4 sn bd toml8 toml }
389 389
390 \new DrumStaff << 390 \new DrumStaff <<
391 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) 391 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
392 \new DrumVoice { \voiceOne \up } 392 \new DrumVoice { \voiceOne \up }
393 \new DrumVoice { \voiceTwo \down } 393 \new DrumVoice { \voiceTwo \down }
394 >> 394 >>
395 @end lilypond 395 @end lilypond
396 396
(...skipping 24 matching lines...) Expand all
421 421
422 \new DrumStaff { 422 \new DrumStaff {
423 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) 423 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
424 424
425 % with this you load your new drum style table 425 % with this you load your new drum style table
426 \woodstaff 426 \woodstaff
427 427
428 \drummode { 428 \drummode {
429 \time 2/4 429 \time 2/4
430 wbl8 wbl16 wbl wbh8-> wbl | 430 wbl8 wbl16 wbl wbh8-> wbl |
431 wbl8 wbl16 wbh-> ~ wbh wbl16 r8 | 431 wbl8 wbl16 wbh->~ wbh wbl16 r8 |
432 } 432 }
433 } 433 }
434 @end lilypond 434 @end lilypond
435 435
436 Note that in this special case the length of the barline must 436 Note that in this special case the length of the barline must
437 altered with @code{\override Staff.BarLine #'bar-size #number}. 437 altered with @code{\override Staff.BarLine #'bar-size #number}.
438 Otherwise it would be too short. And you have also to define the 438 Otherwise it would be too short. And you have also to define the
439 positions of the two stafflines. For more information about these 439 positions of the two stafflines. For more information about these
440 delicate things have a look at @ref{Staff symbol}. 440 delicate things have a look at @ref{Staff symbol}.
441 441
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 \override Staff.StaffSymbol #'line-positions = #'( 0 ) 474 \override Staff.StaffSymbol #'line-positions = #'( 0 )
475 \override Staff.BarLine #'bar-size = #3 475 \override Staff.BarLine #'bar-size = #3
476 \set DrumStaff.instrumentName = #"Tamtam" 476 \set DrumStaff.instrumentName = #"Tamtam"
477 } 477 }
478 478
479 \new DrumStaff { 479 \new DrumStaff {
480 \tamtamstaff 480 \tamtamstaff
481 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) 481 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
482 482
483 \drummode { 483 \drummode {
484 tt 1 \pp \laissezVibrer 484 tt1\pp\laissezVibrer
485 } 485 }
486 } 486 }
487 @end lilypond 487 @end lilypond
488 488
489 Two different bells, entered with @q{cb} (cowbell) and @q{rb} (ridebell) 489 Two different bells, entered with @q{cb} (cowbell) and @q{rb} (ridebell)
490 490
491 @lilypond[quote,verbatim] 491 @lilypond[quote,verbatim]
492 #(define mydrums '((ridebell default #t 3) 492 #(define mydrums '((ridebell default #t 3)
493 (cowbell default #t -2))) 493 (cowbell default #t -2)))
494 494
495 bellstaff = { 495 bellstaff = {
496 \override DrumStaff.StaffSymbol #'line-positions = #'(-2 3) 496 \override DrumStaff.StaffSymbol #'line-positions = #'(-2 3)
497 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) 497 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
498 \override Staff.BarLine #'bar-size = #3 498 \override Staff.BarLine #'bar-size = #3
499 \set DrumStaff.instrumentName = #"Different Bells" 499 \set DrumStaff.instrumentName = #"Different Bells"
500 } 500 }
501 501
502 \new DrumStaff { 502 \new DrumStaff {
503 \bellstaff 503 \bellstaff
504 \drummode { 504 \drummode {
505 \time 2/4 505 \time 2/4
506 rb8 rb cb cb16 rb-> ~ | 506 rb8 rb cb cb16 rb->~ |
507 rb16 rb8 rb16 cb8 cb | 507 rb16 rb8 rb16 cb8 cb |
508 } 508 }
509 } 509 }
510 @end lilypond 510 @end lilypond
511 511
512 Here a short example taken from Stravinsky's @q{L'histoire du Soldat}. 512 Here a short example taken from Stravinsky's @q{L'histoire du Soldat}.
513 513
514 @lilypond[quote,verbatim] 514 @lilypond[quote,verbatim]
515 #(define mydrums '((bassdrum default #t 4) 515 #(define mydrums '((bassdrum default #t 4)
516 (snare default #t -4) 516 (snare default #t -4)
517 (tambourine default #t 0))) 517 (tambourine default #t 0)))
518 518
519 global = { 519 global = {
520 \time 3/8 s4. 520 \time 3/8 s4. |
521 \time 2/4 s2*2 521 \time 2/4 s2*2 |
522 \time 3/8 s4. 522 \time 3/8 s4. |
523 \time 2/4 s2 523 \time 2/4 s2 |
524 } 524 }
525 525
526 drumsA = { 526 drumsA = {
527 \context DrumVoice << 527 \context DrumVoice <<
528 { \global } 528 { \global }
529 { \drummode { 529 { \drummode {
530 \autoBeamOff 530 \autoBeamOff
531 \stemDown sn8 \stemUp tamb s8 | 531 \stemDown sn8 \stemUp tamb s |
532 sn4 \stemDown sn4 | 532 sn4 \stemDown sn |
533 \stemUp tamb8 \stemDown sn8 \stemUp sn16 \stemDown sn \stemUp sn8 | 533 \stemUp tamb8 \stemDown sn \stemUp sn16 \stemDown sn \stemUp sn8 |
534 \stemDown sn8 \stemUp tamb s8 | 534 \stemDown sn8 \stemUp tamb s |
535 \stemUp sn4 s8 \stemUp tamb 535 \stemUp sn4 s8 \stemUp tamb |
536 } 536 }
537 } 537 }
538 >> 538 >>
539 } 539 }
540 540
541 drumsB = { 541 drumsB = {
542 \drummode { 542 \drummode {
543 s4 bd8 s2*2 s4 bd8 s4 bd8 s8 543 s4 bd8 | s2*2 | s4 bd8 | s4 bd8 s |
544 } 544 }
545 } 545 }
546 546
547 \layout { 547 \layout {
548 indent = #40 548 indent = #40
549 } 549 }
550 550
551 \score { 551 \score {
552 \new StaffGroup << 552 \new StaffGroup <<
553 \new DrumStaff { 553 \new DrumStaff {
554 \set DrumStaff.instrumentName = \markup { 554 \set DrumStaff.instrumentName = \markup {
555 \column { 555 \center-column {
556 "Tambourine" 556 "Tambourine"
557 "et" 557 "et"
558 "caisse claire s. timbre" 558 "caisse claire s. timbre"
559 } 559 }
560 } 560 }
561 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) 561 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
562 \drumsA 562 \drumsA
563 } 563 }
564 564
565 \new DrumStaff { 565 \new DrumStaff {
(...skipping 21 matching lines...) Expand all
587 Ghost notes for drums and percussion may be created using the 587 Ghost notes for drums and percussion may be created using the
588 @code{\parenthesize} command detailed in @ref{Parentheses}. 588 @code{\parenthesize} command detailed in @ref{Parentheses}.
589 However, the default @code{\drummode} does not include the 589 However, the default @code{\drummode} does not include the
590 @code{Parenthesis_engraver} plugin which allows this. 590 @code{Parenthesis_engraver} plugin which allows this.
591 591
592 @lilypond[quote,ragged-right,verbatim,fragment] 592 @lilypond[quote,ragged-right,verbatim,fragment]
593 \new DrumStaff \with { 593 \new DrumStaff \with {
594 \consists "Parenthesis_engraver" 594 \consists "Parenthesis_engraver"
595 } 595 }
596 << 596 <<
597 \context DrumVoice = "1" { s1 } 597 \context DrumVoice = "1" { s1 }
598 \context DrumVoice = "2" { s1 } 598 \context DrumVoice = "2" { s1 }
599 \drummode { 599 \drummode {
600 << 600 <<
601 { 601 {
602 hh8[ hh] <hh sn> hh16 602 hh8[ hh] <hh sn> hh16 <\parenthesize sn>
603 < \parenthesize sn > hh 603 hh16 <\parenthesize sn> hh8 <hh sn> hh
604 < \parenthesize sn > hh8 <hh sn> hh 604 } \\ {
605 } \\
606 {
607 bd4 r4 bd8 bd r8 bd 605 bd4 r4 bd8 bd r8 bd
608 } 606 }
609 >> 607 >>
610 } 608 }
611 >> 609 >>
612 @end lilypond 610 @end lilypond
613 611
614 @noindent 612 @noindent
615 Also note that you must add chords (@code{< >} brackets) 613 Also note that you must add chords (@code{< >} brackets)
616 around each @code{\parenthesize} statement. 614 around each @code{\parenthesize} statement.
617 615
618 616
619 @seealso 617 @seealso
620 Snippets: 618 Snippets:
621 @rlsr{Percussion}. 619 @rlsr{Percussion}.
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b