% Based on "LilyPond example file by Amelie Zapf, Berlin 07/07/2003" \version "2.10.10" \header { dedication = "" title = "" subtitle = "" subsubtitle = "" composer = "" opus = "" piece = "" instrument = "" arranger = "the P.O.J.S." poet = "" texttranslator = "" copyright = "" source = "" enteredby = "Jan Kohnert" maintainerEmail = "address@hidden" texidoc = "Music of 'the P.O.J.S.'" meter = "" piece = "" } #(set-global-staff-size 16) \include "deutsch.ly" %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%% sl = { \override NoteHead #'style = #'slash \override Stem #'transparent = ##t } nsl = { \revert NoteHead #'style \revert Stem #'transparent } cr = \override NoteHead #'style = #'cross ncr = \revert NoteHead #'style %% insert chord name style stuff here. jzchords = { \semiGermanChords } %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%% global = { \time 4/4 } Key = { \key a \major } % ############ Voice Section ############ % ----- Melody -------- melodya = \relative c'' { \Key \autoBeamOff \stemUp \set Staff.instrumentName = #"Voice" \set Staff.voltaSpannerDuration = #(ly:make-moment 4 4) r1*4 \break } } melodyb = \relative c'' { \Key \autoBeamOff \stemDown \set Staff.instrumentName = #"Voice" \set Staff.voltaSpannerDuration = #(ly:make-moment 4 4) } } melodyc = \relative c'' { \Key \autoBeamOff \stemUp \set Staff.instrumentName = #"Voice" \set Staff.voltaSpannerDuration = #(ly:make-moment 4 4) } } % ----- Text ------ stza = \lyricmode { \set stanza = "1. " } stzb = \lyricmode { \set stanza = "2. " } stzc = \lyricmode { \set stanza = "3. " } % ############ Rhythm Section ############# % ------ Chords ------ gtrharmony = \chordmode { \jzchords } } % ------ Guitar1 ------ gtra = \relative c'' { \Key } guitara = { \global \set Staff.instrumentName = #"Guitar 1" \set Staff.midiInstrument = "acoustic guitar (nylon)" \clef "treble_8" \context Staff << \gtra >> } % ------ Guitar2 ------ gtrb = \relative c'' { \Key } guitarb = { \global \set Staff.instrumentName = #"Guitar 2" \set Staff.midiInstrument = "acoustic guitar (steel)" \clef "treble_8" \context Staff << \gtrb >> } %% ------ Piano ------ rhUpper = \relative c'' { \voiceOne \Key } rhLower = \relative c' { \voiceTwo \Key } lhUpper = \relative c' { \voiceOne \Key } lhLower = \relative c { \voiceTwo \Key } PianoRH = { \clef treble \global \set Staff.midiInstrument = "rock organ" \context Staff << \context Voice = "one" \rhUpper \context Voice = "two" \rhLower >> } PianoLH = { \clef bass \global \set Staff.midiInstrument = "rock organ" \context Staff << \context Voice = "one" \lhUpper \context Voice = "two" \lhLower >> } piano = { \context PianoStaff << \set PianoStaff.instrumentName = #"Piano" \context Staff = "upper" \PianoRH \context Staff = "lower" \PianoLH >> } % ------ Bass Guitar ------ Bass = \relative c { \Key } bass = { \global \set Staff.instrumentName = #"Bass" \set Staff.midiInstrument = "acoustic bass" \clef "bass_8" \context Staff << \Bass >> } % ------ Drums ------ up = \drummode { } down = \drummode { } drumContents = { \global << \set DrumStaff.instrumentName = #"Drums" \new DrumVoice { \voiceOne \up } \new DrumVoice { \voiceTwo \down } >> } %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%% \score { << \context ChordNames = "chords" \gtrharmony \context Staff = "voice" << \new Voice { \voiceOne \melodya } \addlyrics { \stza } \addlyrics { \stzb } \addlyrics { \stzc } \new Voice { \voiceTwo \melodyb } \new Voice { \voiceThree \melodyc } >> \context StaffGroup = "rhythm" << \context Staff = "guitara" \guitara \context Staff = "guitarb" \guitarb \context PianoStaff = "piano" \piano \context Staff = "bass" \bass \new DrumStaff { \drumContents } >> >> \layout { \context { \RemoveEmptyStaffContext } \context { \Score \override BarNumber #'padding = #3 \override RehearsalMark #'padding = #2 skipBars = ##t } } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 83 4) } } }