Sophie

Sophie

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

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 383
#(define mydrums '(
         (hiwoodblock     default   #t        3)
         (lowoodblock       default   #t        -2)))
	 %% These lines define the position of the woodblocks in the stave, if You like, You can change it 
	 % or You can use  special note heads for the woodblocks.
	 woodstaff = { \override Staff.StaffSymbol #'line-positions = #'(-2 3)  
% this defines a staff with only two lines. It also defines the positions of the two lines
	 \override Staff.BarLine #'bar-size  = #3 }
	 %% this is neccessary. If not entered, the barline wuld be too short!
 
 \new DrumStaff  {
	 \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) 
	 %% with this You load Your new drum style table
	 \woodstaff 
	 \drummode {
	\time 2/4
	wbl8 wbl16 wbl wbh 8 -> wbl |
	wbl 8 wbl16  wbh ~ -> wbh wbl 16 r8 |
	 }
}



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