lilypond-user
[Top][All Lists]
Advanced

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

outputting multiple parts from a score and 1 is not is not output


From: chip
Subject: outputting multiple parts from a score and 1 is not is not output
Date: Sun, 07 Dec 2008 20:13:03 -0700
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

So as mentioned in a previous message I got this working - outputting multiple parts from a score. I just discovered that I am not getting all the parts defined. I have a 6 part score, use the \book command for 6 different instruments, but lily only creates 5 .pdf files. It is ignoring the first instance of the \book command. I tested this by changing the instrument defined in the first \book instance, and each time the first \book is ignored. My file is pasted in below.
--
Chip

-------------------------------

% LilyPond
\include "english.ly"
\version "2.11.63"
\header{
   title = "De Que Te Quejas Mi Amor"
   composer = "Recorded by: David Lee Garza"
   arranger = "Transcribed by: Chip Wiegand"
}
% macro for beamed two per two in 2/2 and 4/4 time signature
qBeam = {
 #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
}

\paper {
top-margin = 0.1\cm
page-top-space = 0.1\cm
}
#(set-global-staff-size 19)
#(set-default-paper-size "letter")
global = { \time 4/4 }
Key = { \key f \major }

% ------ Trumpet 1------
trpta = \transpose f g \relative c'' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \set Staff.midiInstrument = #"trumpet"
 \tempo 4=109
r4 f8 f f e c a~
a4 f'8 f f e c a~
a4 f'8 f f g e d~
d2 c
e16 e e  e e8. d16~ d8 c16 b! bf?4
\times 2/3 {e8 e e} e8. d16~ d8 c16 b! bf?4
r4 g8 a bf c d e
g2 f2
\set Score.skipBars = ##tR1*3
e4~ e8 d~ d4 c8 b
bf?1
R1*10
r2bf8 g d' c~
c1
R1*2
r2 r4 d8 c
b g~ g2.
R1*4
r8 e'~ e d~ d4 c8 b
bf1
R1 \bar ":|"
r4 f'8 f f e c a~
a4 f'8 f f e c a~
a4 f'8 f f g e d~
d2 c
e16 e e  e e8. d16~ d8 c16 b! bf?4
\times 2/3 {e8 e e} e8. d16~ d8 c16 b! bf?4
r4 g8 a bf c d e
f r f f e c a~
a1\fermata \bar "|."
}

trumpeta = {
 \global
 \set Staff.instrumentName = #"Trumpet 1"
 \clef treble
 <<
   \trpta
 >>
}
% ------ Trumpet 2------
trptb = \transpose f g \relative c'' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \set Staff.midiInstrument = #"trumpet"
r4 d8 d d c a f~
f4 d'8 d d c a f~
f4 d'8 d d c bf bf~
bf2 g
c16 c c c c8. bf16~ bf8 a16 af g4
\times 2/3 {c8 c c} c8. bf16~ bf8 a16 af g4
r4 e8 f g a bf c
bf2 a2
R1*3
c4~ c8 bf~ bf4 a8 af
g1
R1*10
r2 d'8 g, f' e~
e1
R1*2
r2 r4 g8 e
d b~ b2.
R1*4
r8 c~ c bf~ bf4 a8 af
g1
R1 \bar ":|"
r4 d'8 d d c a f~
f4 d'8 d d c a f~
f4 d'8 d d c bf bf~
bf2 g
c16 c c c c8. bf16~ bf8 a16 af g4
\times 2/3 {c8 c c} c8. bf16~ bf8 a16 af g4
r4 e8 f g a bf c
d r d d c a f~
f1\fermata \bar "|."
}

trumpetb = {
 \global
 \set Staff.instrumentName = #"Trumpet 2"
 \clef treble
 <<
   \trptb
 >>
}
% ----- Alto Sax ------
alto = \transpose f d \relative c'' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \set Staff.midiInstrument = #"alto sax"
r4 a'8 a a g e c~
c4 a'8 a a g e c~
c4 a'8 a a a g f~
f2 e
R1
R1
r4 bf8 c d e f g
bf2 a2
R1*3
g4~ g8 f~ f4 g8 f
e1
R1*10
r2 g,8 g bf g~
g1
R1*2
r2 r4 d'8 c
bf g~ g2.
R1*4
r8 g'~ g f~ f4 g8 f
e1
R1 \bar ":|"
r4 a8 a a g e c~
c4 a'8 a a g e c~
c4 a'8 a a a g f~
f2 e
R1
R1
r4 bf8 c d e f g
a r a a g e c~
c1\fermata \bar "|."
}

altosax = {
 \global
 \set Staff.instrumentName = #"Alto Sax"
 \clef treble
 <<
   \alto
 >>
}
% -----Tenor Sax------
tenor = \transpose f g \relative c'' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \set Staff.midiInstrument = #"tenor sax"
r4 f8 f f e c a~
a4 f'8 f f e c a~
a4 f'8 f f g e d~
d2 c
R1
R1
r4 bf8 c d e f g
bf2 a2
R1*3
e4~ e8 d~ d4 c8 b!
bf?1
R1*10
r2 bf8 g d' c~
c1
R1*2
r2 r4 g8 e
d' b~ b2.
R1*4
r8 e~ e d~ d4 c8 b!
bf1
R1 \bar ":|"
r4 f'8 f f e c a~
a4 f'8 f f e c a~
a4 f'8 f f g e d~
d2 c
R1
R1
r4 bf8 c d e f g
a r a a g e c~
c1\fermata \bar "|."
}

tenorsax = {
 \global
 \set Staff.instrumentName = #"Tenor Sax"
 \clef treble
 <<
   \tenor
 >>
}
% ------ Bari Sax ------
bari = \transpose f d \relative c'' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \set Staff.midiInstrument = #"baritone sax"
r4 d8 d d c a f~
f4 d'8 d d c a f~
f4 d'8 d d c bf bf~
bf2 g
R1
R1
r4 g8 a bf c d e
g2 f2
R1*3
c4~ c8 bf~ bf4 a8 af
g1
R1*10
r2 d'8 g, f' d~
d1
R1*2
r2 r4 b8 g
g d~ d2.
R1*4
r8 c'~ c bf~ bf4 a8 af
g1
R1 \bar ":|"
r4 d'8 d d c a f~
f4 d'8 d d c a f~
f4 d'8 d d c bf bf~
bf2 g
R1
R1
r4 g8 a bf c d e
f r f f e c a~
a1\fermata \bar "|."
}

barisax = {
 \global
 \set Staff.instrumentName = #"Bari Sax"
 \clef treble
 <<
   \bari
 >>
}
% ------ Trombone ------
bone = \relative c {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \set Staff.midiInstrument = #"trombone"
r4 a'8 a a g e c~
c4 a'8 a a g e c~
c4 a'8 a a a g f~
f2 e
R1
R1
r4 e8 f g a bf c
g2 f2
R1*3
g4~ g8 f~ f4 g8 f
e1
R1*10
r2 g8 g bf g~
g1
R1*2
r2 r4 d8 c
bf g~ g2.
R1*4
r8 g'~ g f~ f4 g8 f
e1
R1 \bar ":|"
r4 a8 a a g e c~
c4 a'8 a a g e c~
c4 a'8 a a a g f~
f2 e
R1
R1
r4 e8 f g a bf c
d r d d c a f~
f1\fermata \bar "|."
}

trombone = {
 \global
 \set Staff.instrumentName = #"Trombone"
 \clef bass
 <<
   \bone
 >>
}

\book {
   \score {
     <<
         \new Staff = "trumpetb" \trumpetb
   >>
       }
   }
\book {
   \score {
<< \new Staff = "trumpeta" \trumpeta
   >>
       }
   }
\book {
   \score {
     <<
     \new Staff = "alto" \altosax
   >>
       }
   }
\book {
   \score {
     <<
     \new Staff = "tenor" \tenorsax
   >>
       }
   }
\book {
   \score {
     <<
     \new Staff = "bari" \barisax
   >>
       }
   }
\book {
   \score {
     <<
     \new Staff = "trombone" \trombone
   >>
       }
   }

 \layout {
   \context { \RemoveEmptyStaffContext }
   \context {
     \Score
     \override BarNumber #'padding = #3
     \override RehearsalMark #'padding = #2
skipBars = ##t }
          }

 \midi {
   \context {
     \Score
     tempoWholesPerMinute = #(ly:make-moment 109 4)
               }
          }




reply via email to

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