Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 3a7b4dfc766af1222d90c7f03a0844e6 > files > 688

lilypond-doc-2.11.57-1mdv2009.0.i586.rpm

%% Generated by lilypond-book.py
%% Options: [quote,alt=[image of music],indent=0\mm,verbatim]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section 
% ****************************************************************



\paper {
  #(define dump-extents #t)
  
  line-width = 160\mm - 2.0 * 0.4\in
  indent = 0\mm
  force-assignment = #""
  line-width = #(- line-width (* mm  3.000000))
}

\layout {
  
}



% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefileline 475
 #(define mydrums '(
	  (bassdrum         default #t 4 ) 
	 (snare              default #t -4 )
         (tambourine     default   #t      0) ) )
	 
 global = { \time 3/8 s 4. \time 2/4 s 2 *2 \time 3/8 s 4. \time 2/4 s 2 }
	 
drumsA = { \context DrumVoice << {  \global }
	{\drummode { 
  \autoBeamOff 
\stemDown sn 8 \stemUp tamb s8 |
		 sn4 \stemDown sn4  |
\stemUp tamb 8 \stemDown sn8 \stemUp sn16 \stemDown sn \stemUp sn8   |
\stemDown sn 8 \stemUp tamb s8 |
\stemUp sn4 s8 \stemUp tamb |
	} } >> }
drumsB = { \drummode { s 4 bd 8 s 2*2 s 4 bd8 s 4 bd8 s 8 } }
	 
\layout {
		indent = #40
} 

 \score { 
 \new StaffGroup
 <<
 \new DrumStaff 
 {  \set DrumStaff.instrumentName= \markup { \column { "Tambourine" "et" "caisse claire s. timbre" } }
 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) \drumsA } 
 \new DrumStaff 
 { \set DrumStaff.instrumentName= "Grosse Caisse"
 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) \drumsB } 
 >> 

 }



% ****************************************************************
% end ly snippet
% ****************************************************************