OLD | NEW |
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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 down = \drummode { bd4 sn bd toml8 toml } | 414 down = \drummode { bd4 sn bd toml8 toml } |
415 | 415 |
416 \new DrumStaff << | 416 \new DrumStaff << |
417 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) | 417 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) |
418 \new DrumVoice { \voiceOne \up } | 418 \new DrumVoice { \voiceOne \up } |
419 \new DrumVoice { \voiceTwo \down } | 419 \new DrumVoice { \voiceTwo \down } |
420 >> | 420 >> |
421 @end lilypond | 421 @end lilypond |
422 | 422 |
423 | 423 |
424 @snippets | |
425 | |
426 @c TODO: MOVE ALL THESE TO LSR! -gp | |
427 | |
428 Here are some examples: | |
429 | |
430 Two Woodblocks, entered with wbh (high woodblock) and wbl (low woodblock) | |
431 | |
432 @lilypond[quote,verbatim] | |
433 % These lines define the position of the woodblocks in the stave; | |
434 % if you like, you can change it or you can use special note heads | |
435 % for the woodblocks. | |
436 #(define mydrums '((hiwoodblock default #t 3) | |
437 (lowoodblock default #t -2))) | |
438 | |
439 woodstaff = { | |
440 % This defines a staff with only two lines. | |
441 % It also defines the positions of the two lines. | |
442 \override Staff.StaffSymbol.line-positions = #'(-2 3) | |
443 | |
444 % This is necessary; if not entered, the barline would be too short! | |
445 \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) | |
446 } | |
447 | |
448 \new DrumStaff { | |
449 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) | |
450 | |
451 % with this you load your new drum style table | |
452 \woodstaff | |
453 | |
454 \drummode { | |
455 \time 2/4 | |
456 wbl8 16 16 8-> 8 | | |
457 wbl8 16 16-> ~ 16 16 r8 | | |
458 } | |
459 } | |
460 @end lilypond | |
461 | |
462 Note that in this special case the length of the barline must | |
463 altered with @code{\override Staff.BarLine.bar-extent #'(from . to)}. | |
464 Otherwise it would be too short. And you have also to define the | |
465 positions of the two stafflines. For more information about these | |
466 delicate things have a look at @ref{Staff symbol}. | |
467 | |
468 A tambourine, entered with @q{tamb}: | |
469 | |
470 @lilypond[verbatim,quote] | |
471 #(define mydrums '((tambourine default #t 0))) | |
472 | |
473 \new DrumStaff \with { instrumentName = #"Tambourine" } | |
474 | |
475 \drummode { | |
476 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) | |
477 \override Staff.StaffSymbol.line-positions = #'( 0 ) | |
478 \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) | |
479 | |
480 \time 6/8 | |
481 tamb8. 16 8 8 8 8 | | |
482 tamb4. 8 8 8 | | |
483 % the trick with the scaled duration and the shorter rest | |
484 % is neccessary for the correct ending of the trill-span! | |
485 tamb2.*5/6 \startTrillSpan s8 \stopTrillSpan | | |
486 } | |
487 @end lilypond | |
488 | |
489 Music for Tam-Tam (entered with @q{tt}): | |
490 | |
491 @lilypond[quote,verbatim] | |
492 #(define mydrums '((tamtam default #t 0))) | |
493 | |
494 \new DrumStaff \with { instrumentName = #"Tamtam" } | |
495 | |
496 \drummode { | |
497 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) | |
498 \override Staff.StaffSymbol.line-positions = #'( 0 ) | |
499 \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) | |
500 | |
501 tt 1 \pp \laissezVibrer | |
502 } | |
503 @end lilypond | |
504 | |
505 Two different bells, entered with @q{cb} (cowbell) and @q{rb} (ridebell) | |
506 | |
507 @lilypond[quote,verbatim] | |
508 #(define mydrums '((ridebell default #t 3) | |
509 (cowbell default #t -2))) | |
510 | |
511 \new DrumStaff \with { instrumentName = #"Different Bells" } | |
512 | |
513 \drummode { | |
514 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) | |
515 \override DrumStaff.StaffSymbol.line-positions = #'(-2 3) | |
516 \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) | |
517 | |
518 \time 2/4 | |
519 rb8 8 cb8 16 rb16-> ~ | | |
520 16 8 16 cb8 8 | | |
521 } | |
522 @end lilypond | |
523 | |
524 Here a short example taken from Stravinsky's @q{L'histoire du Soldat}. | |
525 | |
526 @lilypond[quote,verbatim] | |
527 #(define mydrums '((bassdrum default #t 4) | |
528 (snare default #t -4) | |
529 (tambourine default #t 0))) | |
530 | |
531 global = { | |
532 \time 3/8 s4. | |
533 \time 2/4 s2*2 | |
534 \time 3/8 s4. | |
535 \time 2/4 s2 | |
536 } | |
537 | |
538 drumsA = { | |
539 \context DrumVoice << | |
540 { \global } | |
541 { \drummode { | |
542 \autoBeamOff | |
543 \stemDown sn8 \stemUp tamb s8 | | |
544 sn4 \stemDown sn4 | | |
545 \stemUp tamb8 \stemDown sn8 \stemUp sn16 \stemDown sn \stemUp sn8 | | |
546 \stemDown sn8 \stemUp tamb s8 | | |
547 \stemUp sn4 s8 \stemUp tamb | |
548 } | |
549 } | |
550 >> | |
551 } | |
552 | |
553 drumsB = { | |
554 \drummode { | |
555 s4 bd8 s2*2 s4 bd8 s4 bd8 s8 | |
556 } | |
557 } | |
558 | |
559 \layout { | |
560 indent = #40 | |
561 } | |
562 | |
563 \score { | |
564 \new StaffGroup << | |
565 \new DrumStaff \with { | |
566 instrumentName = \markup { | |
567 \column { | |
568 "Tambourine" | |
569 "et" | |
570 "caisse claire s. timbre" | |
571 } | |
572 } | |
573 drumStyleTable = #(alist->hash-table mydrums) | |
574 } | |
575 \drumsA | |
576 \new DrumStaff \with { | |
577 instrumentName = #"Grosse Caisse" | |
578 drumStyleTable = #(alist->hash-table mydrums) | |
579 } | |
580 \drumsB | |
581 >> | |
582 } | |
583 @end lilypond | |
584 | |
585 @seealso | 424 @seealso |
586 Snippets: | 425 Snippets: |
587 @rlsr{Percussion}. | 426 @rlsr{Percussion}. |
588 | 427 |
589 Internals Reference: | 428 Internals Reference: |
590 @rinternals{DrumStaff}, | 429 @rinternals{DrumStaff}, |
591 @rinternals{DrumVoice}. | 430 @rinternals{DrumVoice}. |
592 | 431 |
593 | 432 |
594 @node Ghost notes | 433 @node Ghost notes |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 } | 466 } |
628 >> | 467 >> |
629 @end lilypond | 468 @end lilypond |
630 | 469 |
631 @seealso | 470 @seealso |
632 Notation Reference: | 471 Notation Reference: |
633 @ref{Parentheses}. | 472 @ref{Parentheses}. |
634 | 473 |
635 Snippets: | 474 Snippets: |
636 @rlsr{Percussion}. | 475 @rlsr{Percussion}. |
OLD | NEW |