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

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

Issue 351780043: Doc: NR - percussion.itely - Custom Percussion staves intro
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.17.30" 10 @c \version "2.17.30"
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 \nam 391 \nam
392 } 392 }
393 >> 393 >>
394 @end lilypond 394 @end lilypond
395 @end table 395 @end table
396 396
397 397
398 @node Custom percussion staves 398 @node Custom percussion staves
399 @unnumberedsubsubsec Custom percussion staves 399 @unnumberedsubsubsec Custom percussion staves
400 400
401 If you do not like any of the predefined lists you can define your 401 It is possible to define custom percussion styles at the top of your
402 own list at the top of your file. 402 file and setting the @code{drumStyleTable} within the @code{DrumStaff}.
403 403
404 @lilypond[quote,verbatim] 404 @lilypond[quote,verbatim]
405 #(define mydrums '( 405 #(define mydrums '(
406 (bassdrum default #f -1) 406 (bassdrum default #f -1)
407 (snare default #f 0) 407 (snare default #f 0)
408 (hihat cross #f 1) 408 (hihat cross #f 1)
409 (halfopenhihat cross "halfopen" 1) 409 (halfopenhihat cross "halfopen" 1)
410 (pedalhihat xcircle "stopped" 2) 410 (pedalhihat xcircle "stopped" 2)
411 (lowtom diamond #f 3))) 411 (lowtom diamond #f 3)))
412
412 up = \drummode { hh8 hh hhho hhho hhp4 hhp } 413 up = \drummode { hh8 hh hhho hhho hhp4 hhp }
413 down = \drummode { bd4 sn bd toml8 toml } 414 down = \drummode { bd4 sn bd toml8 toml }
414 415
415 \new DrumStaff << 416 \new DrumStaff <<
416 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) 417 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
417 \new DrumVoice { \voiceOne \up } 418 \new DrumVoice { \voiceOne \up }
418 \new DrumVoice { \voiceTwo \down } 419 \new DrumVoice { \voiceTwo \down }
419 >> 420 >>
420 @end lilypond 421 @end lilypond
421 422
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 bd4 r4 bd8 8 r8 bd 614 bd4 r4 bd8 8 r8 bd
614 } 615 }
615 >> 616 >>
616 } 617 }
617 >> 618 >>
618 @end lilypond 619 @end lilypond
619 620
620 @seealso 621 @seealso
621 Snippets: 622 Snippets:
622 @rlsr{Percussion}. 623 @rlsr{Percussion}.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

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