A.6 Combo de jazz
Ésta es una plantilla bastante avanzada, para un conjunto de
jazz. Observe que la notación de todos los instrumentos está en
\key c \major
(Do mayor). Esto se refiere al tono de
concierto; la armadura se transporta automáticamente si la música está
dentro de una sección \transpose
.
\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"
%%%%%%%%%%%% Algunos macros %%%%%%%%%%%%%%%%%%%
sl = {
\override NoteHead #'style = #'slash
\override Stem #'transparent = ##t
}
nsl = {
\revert NoteHead #'style
\revert Stem #'transparent
}
crSi = \override NoteHead #'style = #'cross
crNo = \revert NoteHead #'style
%% insertar aquí el código para el estilo de nombres de acorde
acordesJazz = { }
%%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
global = { \time 4/4 }
Tono = { \key c \major }
% ############ Trompas ############
% ------ Trompeta ------
trpt = \transpose c d \relative c'' {
\Tono
c1 | c | c |
}
acordesTrp = \transpose c' d {
\acordesJazz
}
trompeta = {
\global
\set Staff.instrumentName = #"Trumpet"
\clef treble
<<
\trpt
>>
}
% ------ Saxofón alto ------
alto = \transpose c a \relative c' {
\Tono
c1 | c | c |
}
acordesAlto = \transpose c' a {
\acordesJazz
}
saxoAlto = {
\global
\set Staff.instrumentName = #"Alto Sax"
\clef treble
<<
\alto
>>
}
% ------ Saxofón barítono ------
bari = \transpose c a' \relative c {
\Tono
c1
c1
\sl
d4^"Solo" d d d
\nsl
}
acordesBari = \transpose c' a \chordmode {
\acordesJazz s1 s d2:maj e:m7
}
saxoBari = {
\global
\set Staff.instrumentName = #"Bari Sax"
\clef treble
<<
\bari
>>
}
% ------ Trombón ------
tbon = \relative c {
\Tono
c1 | c | c
}
acordesTbon = \chordmode {
\acordesJazz
}
trombon = {
\global
\set Staff.instrumentName = #"Trombone"
\clef bajo
<<
\tbon
>>
}
% ############ Sección rítmica #############
% ------ Guitarra ------
guit = \relative c'' {
\Tono
c1
\sl
b4 b b b
\nsl
c1
}
acordesGuit = \chordmode {
\acordesJazz
s1 c2:min7+ d2:maj9
}
guitarra = {
\global
\set Staff.instrumentName = #"Guitar"
\clef treble
<<
\guit
>>
}
%% ------ Piano ------
mdArriba = \relative c'' {
\voiceOne
\Tono
c1 | c | c
}
mdAbajo = \relative c' {
\voiceTwo
\Tono
e1 | e | e
}
miArriba = \relative c' {
\voiceOne
\Tono
g1 | g | g
}
miAbajo = \relative c {
\voiceTwo
\Tono
c1 | c | c
}
PianoMD = {
\clef treble
\global
\set Staff.midiInstrument = #"acoustic grand"
<<
\new Voice = "uno" \mdArriba
\new Voice = "dos" \mdAbajo
>>
}
PianoMI = {
\clef bajo
\global
\set Staff.midiInstrument = "acoustic grand"
<<
\new Voice = "uno" \miArriba
\new Voice = "dos" \miAbajo
>>
}
piano = {
<<
\set PianoStaff.instrumentName = #"Piano"
\new Staff = "superior" \PianoMD
\new Staff = "inferior" \PianoMI
>>
}
% ------ Guitarra bajo ------
Bajo = \relative c {
\Tono
c1 | c | c
}
bajo = {
\global
\set Staff.instrumentName = #"Bass"
\clef bajo
<<
\Bajo
>>
}
% ------ Percusión ------
arriba = \drummode {
\voiceOne
hh4 <hh sn> hh <hh sn>
hh4 <hh sn> hh <hh sn>
hh4 <hh sn> hh <hh sn>
}
abajo = \drummode {
\voiceTwo
bd4 s bd s
bd4 s bd s
bd4 s bd s
}
contenidoPercusion = {
\global
<<
\set DrumStaff.instrumentName = #"Drums"
\new DrumVoice \arriba
\new DrumVoice \abajo
>>
}
%%%%%%%%% Aquí va todo junto %%%%%%%%%%%%%%%%%%%%%%
\score {
<<
\new StaffGroup = "trompas" <<
\new Staff = "trompeta" \trompeta
\new Staff = "saxoalto" \saxoAlto
\new ChordNames = "acordesbari" \acordesBari
\new Staff = "saxobari" \saxoBari
\new Staff = "trombon" \trombon
>>
\new StaffGroup = "duraciones" <<
\new ChordNames = "acordes" \acordesGuit
\new Staff = "guitarra" \guitarra
\new PianoStaff = "piano" \piano
\new Staff = "bajo" \bajo
\new DrumStaff \contenidoPercusion
>>
>>
\layout {
\context { \RemoveEmptyStaffContext }
\context {
\Score
\override BarNumber #'padding = #3
\override RehearsalMark #'padding = #2
skipBars = ##t
}
}
\midi { }
}
Otros idiomas: English, deutsch.