A.6 Jazz-Combo

Hier ist ein ziemlich kompliziertes Beispiel für ein Jazz-Ensemble. Achtung: Alle Instrumente sind in \key c \major (C-Dur) notiert. Das bezieht sich auf die klingende Musik: LilyPond transponiert die Tonart automatisch, wenn sich die Noten innerhalb eines ranspose-Abschnitts befinden.

\header {
  title = "Song"
  subtitle = "(tune)"
  composer = "Me"
  meter = "moderato"
  piece = "Swing"
  tagline = \markup {
    \column {
      "LilyPond example file by Amelie Zapf,"
      "Berlin 07/07/2003"
    }
  }
}

%#(set-global-staff-size·16)
\include "english.ly"

%%%%%%%%%%%% Einige Makros %%%%%%%%%%%%%%%%%%%

sl = {
  \override NoteHead #'style = #'slash
  \override Stem #'transparent = ##t
}
nsl = {
  \revert NoteHead #'style
  \revert Stem #'transparent
}
crOn = \override NoteHead #'style = #'cross
crOff = \revert NoteHead #'style

%% Akkordbezeichnungen hierher

jazzAkkorde = { }

%%%%%%%%%%%% Taktart/Tonart %%%%%%%%%%%%%%%%%

global = { \time 4/4 }

Tonart = { \key c \major }

% ############·Hörner·############

% ------·Trompete·------
trpt = \transpose c d \relative c'' {
  \Tonart
  c1 | c | c |
}
trpHarmonie = \transpose c' d {
  \jazzAkkorde
}
trompete = {
  \global
  \set Staff.instrumentName = #"Trumpet"
  \clef treble
  <<
    \trpt
  >>
}

% ------·Altsaxophon·------
alt = \transpose c a \relative c' {
  \Tonart
  c1 | c | c |
}
altHarmonien = \transpose c' a {
  \jazzAkkorde
}
altSax = {
  \global
  \set Staff.instrumentName = #"Alto Sax"
  \clef treble
  <<
    \alt
  >>
}

% ------·Baritonsaxophon·------
bari = \transpose c a' \relative c {
  \Tonart
  c1
  c1
  \sl
  d4^"Solo" d d d
  \nsl
}
bariHarmonie = \transpose c' a \chordmode {
  \jazzAkkorde s1 s d2:maj e:m7
}
bariSax = {
  \global
  \set Staff.instrumentName = #"Bari Sax"
  \clef treble
  <<
    \bari
  >>
}

% ------ Posaune ------
pos = \relative c {
  \Tonart
  c1 | c | c
}
PosHarmonie = \chordmode {
  \jazzAkkorde
}
posaune = {
  \global
  \set Staff.instrumentName = #"Trombone"
  \clef Bass
  <<
    \pos
  >>
}

% ############·Rhythmus-Abschnitt·#############

% ------ Gitarre ------
gtr = \relative c'' {
  \Tonart
  c1
  \sl
  b4 b b b
  \nsl
  c1
}
gtrHarmonie = \chordmode {
  \jazzAkkorde
  s1 c2:min7+ d2:maj9
}
Gitarre = {
  \global
  \set Staff.instrumentName = #"Guitar"
  \clef treble
  <<
    \gtr
  >>
}

%% ------ Klavier ------
rhOben = \relative c'' {
  \voiceOne
  \Tonart
  c1 | c | c
}
rhUnten = \relative c' {
  \voiceTwo
  \Tonart
  e1 | e | e
}

lhOben = \relative c' {
  \voiceOne
  \Tonart
  g1 | g | g
}
lhUnten = \relative c {
  \voiceTwo
  \Tonart
  c1 | c | c
}

KlavierRH = {
  \clef treble
  \global
  \set Staff.midiInstrument = #"acoustic grand"
  <<
    \new Voice = "eins" \rhOben
    \new Voice = "zwei" \rhUnten
  >>
}
KlavierLH = {
  \clef Bass
  \global
  \set Staff.midiInstrument = "acoustic grand"
  <<
    \new Voice = "eins" \lhOben
    \new Voice = "zwei" \lhUnten
  >>
}

Klavier = {
  <<
    \set PianoStaff.instrumentName = #"Piano"
    \new Staff = "oben" \KlavierRH
    \new Staff = "unten" \KlavierLH
  >>
}

% ------ Bassgitarre ------
Bass = \relative c {
  \Tonart
  c1 | c | c
}
Bass = {
  \global
  \set Staff.instrumentName = #"Bass"
  \clef Bass
  <<
    \Bass
  >>
}

% ------ Schlagzeugt ------
oben = \drummode {
  \voiceOne
  hh4 <hh sn> hh <hh sn>
  hh4 <hh sn> hh <hh sn>
  hh4 <hh sn> hh <hh sn>
}
unten = \drummode {
  \voiceTwo
  bd4 s bd s
  bd4 s bd s
  bd4 s bd s
}

SchlagInhalt = {
  \global
  <<
    \set DrumStaff.instrumentName = #"Drums"
    \new DrumVoice \oben
    \new DrumVoice \unten
  >>
}

%%%%%%%%% Alles zusammengefügt: %%%%%%%%%%%%%%%%%%%%%%

\score {
  <<
    \new StaffGroup = "Horn" <<
      \new Staff = "trompete" \trompete
      \new Staff = "altsax" \altSax
      \new ChordNames = "bariakk" \bariHarmonie
      \new Staff = "barsisax" \bariSax
      \new Staff = "posaune" \posaune
    >>
    
    \new StaffGroup = "Rhythmus" <<
      \new ChordNames = "Akkorde" \gtrHarmonie
      \new Staff = "Gitarre" \Gitarre
      \new PianoStaff = "Klavier" \Klavier
      \new Staff = "Bass" \Bass
      \new DrumStaff \SchlagInhalt
    >>
  >>
  
  \layout {
    \context { \RemoveEmptyStaffContext }
    \context {
      \Score
      \override BarNumber #'padding = #3
      \override RehearsalMark #'padding = #2
      skipBars = ##t
    }
  }
  
  \midi { }
}

[image of music]


Andere Sprachen: English, español.

Handbuch zum Lernen