Jazz combo template: Difference between revisions
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
This is quite an advanced template, for a jazz ensemble. Note that all instruments | This is quite an advanced template, for a jazz ensemble. Note that all instruments use <code>\key c \major</code>. This refers to the key in concert pitch; the key will be automatically transposed if the music is within a <code>\transpose</code> section. | ||
<lilypond version="2.24" full> | <lilypond version="2.24" full> | ||
| Line 8: | Line 8: | ||
meter = "moderato" | meter = "moderato" | ||
piece = "Swing" | piece = "Swing" | ||
tagline = \markup | tagline = \markup \column { | ||
"LilyPond example file by Amelie Zapf," | |||
"Berlin 07/07/2003" } | |||
} | } | ||
% To make the example display in the documentation | |||
% To make the example display properly in the documentation. | |||
\paper { | \paper { | ||
paper-width = 130 | paper-width = 130\mm | ||
paper-height = 205\mm | |||
} | } | ||
%#(set-global-staff-size 16) | |||
% #(set-global-staff-size 16) | |||
\include "english.ly" | \include "english.ly" | ||
%%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%% | %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%% | ||
sl = { | sl = { \override NoteHead.style = #'slash | ||
\hide Stem } | |||
nsl = { \revert NoteHead.style | |||
} | \undo \hide Stem } | ||
nsl = { | |||
} | |||
crOn = \override NoteHead.style = #'cross | crOn = \override NoteHead.style = #'cross | ||
crOff = \revert NoteHead.style | crOff = \revert NoteHead.style | ||
% | % Insert chord name style stuff here. | ||
jazzChords = { } | jazzChords = { } | ||
%%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%% | %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%% | ||
| Line 58: | Line 57: | ||
\global | \global | ||
\clef treble | \clef treble | ||
\trpt | |||
} | } | ||
| Line 74: | Line 71: | ||
\global | \global | ||
\clef treble | \clef treble | ||
\alto | |||
} | } | ||
| Line 82: | Line 77: | ||
bari = \transpose c a' \relative c { | bari = \transpose c a' \relative c { | ||
\Key | \Key | ||
c1 | c1 | c1 | | ||
\sl d4^"Solo" d d d \nsl | | |||
\sl | |||
} | } | ||
bariHarmony = \transpose c' a \chordmode { | bariHarmony = \transpose c' a \chordmode { | ||
\jazzChords s1 s d2:maj e:m7 | \jazzChords | ||
s1 | s | | |||
d2:maj e:m7 | | |||
} | } | ||
bariSax = { | bariSax = { | ||
\global | \global | ||
\clef treble | \clef treble | ||
\bari | |||
} | } | ||
| Line 102: | Line 94: | ||
tbone = \relative c { | tbone = \relative c { | ||
\Key | \Key | ||
c1 | c | c | c1 | c | c | | ||
} | } | ||
tboneHarmony = \chordmode { | tboneHarmony = \chordmode { | ||
| Line 110: | Line 102: | ||
\global | \global | ||
\clef bass | \clef bass | ||
\tbone | |||
} | } | ||
| Line 120: | Line 110: | ||
gtr = \relative c'' { | gtr = \relative c'' { | ||
\Key | \Key | ||
c1 | c1 | | ||
\sl | \sl b4 b b b \nsl | | ||
c1 | | |||
c1 | |||
} | } | ||
gtrHarmony = \chordmode { | gtrHarmony = \chordmode { | ||
\jazzChords | \jazzChords | ||
s1 c2:min7+ d2:maj9 | s1 | c2:min7+ d2:maj9 | s1 | | ||
} | } | ||
guitar = { | guitar = { | ||
\global | \global | ||
\clef treble | \clef treble | ||
\gtr | |||
} | } | ||
| Line 142: | Line 128: | ||
\voiceOne | \voiceOne | ||
\Key | \Key | ||
c1 | c | c | c1 | c | c | | ||
} | } | ||
rhLower = \relative c' { | rhLower = \relative c' { | ||
\voiceTwo | \voiceTwo | ||
\Key | \Key | ||
e1 | e | e | e1 | e | e | | ||
} | } | ||
| Line 153: | Line 139: | ||
\voiceOne | \voiceOne | ||
\Key | \Key | ||
g1 | g | g | g1 | g | g | | ||
} | } | ||
lhLower = \relative c { | lhLower = \relative c { | ||
\voiceTwo | \voiceTwo | ||
\Key | \Key | ||
c1 | c | c | c1 | c | c | | ||
} | } | ||
| Line 178: | Line 164: | ||
} | } | ||
piano = | piano = << | ||
\new Staff = "upper" \PianoRH | |||
\new Staff = "lower" \PianoLH | |||
>> | |||
% ------ Bass Guitar ------ | % ------ Bass Guitar ------ | ||
Bass = \relative c { | Bass = \relative c { | ||
\Key | \Key | ||
c1 | c | c | c1 | c | c | | ||
} | } | ||
bass = { | bass = { | ||
\global | \global | ||
\clef bass | \clef bass | ||
\Bass | |||
} | } | ||
| Line 201: | Line 184: | ||
up = \drummode { | up = \drummode { | ||
\voiceOne | \voiceOne | ||
hh4 <hh sn> hh <hh sn> | hh4 <hh sn> hh <hh sn> | | ||
hh4 <hh sn> hh <hh sn> | hh4 <hh sn> hh <hh sn> | | ||
hh4 <hh sn> hh <hh sn> | hh4 <hh sn> hh <hh sn> | | ||
} | } | ||
down = \drummode { | down = \drummode { | ||
\voiceTwo | \voiceTwo | ||
bd4 s bd s | bd4 s bd s | | ||
bd4 s bd s | bd4 s bd s | | ||
bd4 s bd s | bd4 s bd s | | ||
} | } | ||
| Line 222: | Line 205: | ||
%%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%% | %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%% | ||
\score { | \book { % For the LilyPond documentation. | ||
\score { | |||
<< | |||
\new StaffGroup = "horns" << | |||
\new Staff = "trumpet" \with { instrumentName = "Trumpet" } | |||
\trumpet | |||
\new Staff = "altosax" \with { instrumentName = "Alto Sax" } | |||
\altoSax | |||
\new ChordNames = "barichords" \with { instrumentName = "Bari Sax" } | |||
\bariHarmony | |||
\new Staff = "barisax" \with { instrumentName = "Bari Sax" } | |||
\bariSax | |||
\ | \new Staff = "trombone" \with { instrumentName = "Trombone" } | ||
\trombone | |||
>> | |||
\new StaffGroup = "rhythm" << | |||
\new ChordNames = "chords" \with { instrumentName = "Guitar" } | |||
\gtrHarmony | |||
\new Staff = "guitar" \with { instrumentName = "Guitar" } | |||
\guitar | |||
\new PianoStaff = "piano" \with { | |||
instrumentName = "Piano" | |||
midiInstrument = "acoustic grand" | |||
} \piano | |||
\new Staff = "bass" \with { instrumentName = "Bass" } | |||
\bass | |||
\new DrumStaff \with { instrumentName = "Drums" } | |||
\drumContents | |||
>> | |||
>> | >> | ||
\ | \layout { | ||
\ | \context { | ||
\Staff | |||
\ | \RemoveEmptyStaves | ||
} | |||
\context { | |||
\Score | |||
\override BarNumber.padding = 3 | |||
\override RehearsalMark.padding = 2 | |||
skipBars = ##t | |||
} | } | ||
} | } | ||
\midi { } | |||
} | } | ||
} | } | ||
</lilypond> | </lilypond> | ||
[[Category: | [[Category:Fretted strings]] | ||
[[Category:Keyboards]] | [[Category:Keyboards]] | ||
[[Category:Percussion]] | [[Category:Percussion]] | ||
[[Category: | [[Category:Template]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category: | [[Category:Snippet]] | ||