lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

News for Typesetting Drumsets with Lily [example]


From: Wolfgang Schnitker
Subject: News for Typesetting Drumsets with Lily [example]
Date: Wed, 12 Sep 2001 12:24:47 +0200


Hi developers,

here is the ly-File:


% Hallo, dies ist ein Kommentar


\include "a4.ly"
\include "deutsch.ly"

\include "paper16.ly"

\version "1.4.2"

\header{
        title = "Get Up, Stand Up"
        composer = "B. Marley"
        arranger = ""
        % instrument = "E-Bass"
        }

EBassNotes = \notes { 
        \relative b      
        \key c \minor
        
        c4 r4 r16 g16 es8 r16 d16 es d
        c4  r8. d16 g,8  g,8 ( )g,8 b,8 | \break

% Variation 1
        c4^"Var. 1" r4 r16 g16 es8 r16 d16 es d
        c4 r8. d16 g8 g,16 g,16( )g,8 b,8 \break

% Variation2 
        c4^"Var. 2" r4 r16 g16 es8 r16 d16 es d
        c4 c16 c8 d16 g8 f16 g16 r8 b,8 | \break

% Variation Verse
        \times 2/3 {es8^"Verse"( f )g} es'2 r8. b16 |
        \times 2/3 {es8( f )g} b,8 c, r4 r8. c16 \break
        
}

HiHatNotes = \notes {
        \relative c''
        fes,,8 fes,, r4 r2 
        fes,,8 fes,, r4 r2
        fes,,8 fes,, r4 r2
        fes,,8 fes,, r4 r2
        fes,,8 fes,, r4 r2
        fes,,8 fes,, r4 r2
        fes,,8 fes,, r4 r2
        fes,,8 fes,, r4 r2
}
BassDrumNotes = \notes {
        \relative c''
        r4 c,,4 r c
        r4 c,,4 r c
        r4 c,,4 r c
        r4 c,,4 r c
        r4 c,,4 r c
        r4 c,,4 r c
        r4 c,,4 r c
        r4 c,,4 r c
}
accompaniement = \chords {
        c1:min c1:min
        c1:min c1:min   
        c1:min c1:min
        c1:min c1:min
        }

\score {
        
                <
                \context Staff = staffa {
                        
                        \property Staff.midiInstrument = "electric Bass 
(finger)"
                        \property Staff.instrument = "E-Bass"
                        \clef "bass"
                        \times 4/4
                        \EBassNotes 
                        }
                
                \context Staff = staffb { %Rhythmic
                        
                        \property Staff.midiInstrument = "drums"
                        \clef "percussion"
                        \time 4/4
                        <       
                        \context Voice=voa {
                                \stemUp 
                                % \property Staff.instrument = "Snare"
                                
                                \HiHatNotes
                                }

                        \context Voice=vob {
                                \stemDown 
                                \BassDrumNotes
                                % \property Staff.midiInstrument = "trumpet"
                                }
                        >
                        
                        }
                >
                
        
        \paper { 
                linewidth = 18.0 \cm
                \translator {
                        \RhythmicStaffContext
                        \consists "Clef_engraver"
                }               
        }

        

        \midi { \tempo 4 = 78 }

}







reply via email to

[Prev in Thread] Current Thread [Next in Thread]