lilypond-user
[Top][All Lists]
Advanced

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

Re: my score is messed up but the parts it creates are ok


From: chip
Subject: Re: my score is messed up but the parts it creates are ok
Date: Mon, 15 Dec 2008 12:41:30 -0700
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

I've pasted the piece in below.
--
Chip

Neil Thornock wrote:
I think we'd need to browse your code to answer this question... timing problems can sometimes be a trick to isolate.

% LilyPond
\include "english.ly"
\version "2.11.65"
\header{
   title = "Por Esa Calle Vive"
   composer = "Recorded by: Roger Velasquez"
   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
ragged-bottom = ##t
ragged-last-bottom = ##t
}
#(set-global-staff-size 18)
#(set-default-paper-size "letter")
global = { \time 4/4 }
Key = { \key f \major }

% ------ Trumpet 1------
trpta = \relative c''' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \tempo 4=107
 \numericTimeSignature
 \override Glissando #'thickness = #3
 \override Glissando #'style = #'zigzag
 \override Glissando #'minimum-length = #6
 \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
 \set Score.skipBars = ##t
 \set Staff.midiInstrument = #"trumpet"
a4 g8 f a4 f8 fs
g1
R1
gs8. gs16 r16 gs8 gs16 gs8. gs16 r16 gs8 gs16
a1
f8 e f fs g-. a bf b?
c1
R1
r2 r4 f,16 f a c
bf8 g e bf' a f d f
c'16 c bf8 a g f4 r
R1*2
\time 2/4 r2
\time 4/4 R1*8
\time 2/4 r2
\time 4/4 R1
r2 r8 a bf b
c4. bf8 g2~
g2 r2

}

trumpeta = {
 \global
 \set Staff.instrumentName = #"Trumpet 1"
 \clef treble
 << \trpta >>
}

% ------ Trumpet 2------
trptb = \relative c'' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \tempo 4=107
 \numericTimeSignature
 \override Glissando #'thickness = #3
 \override Glissando #'style = #'zigzag
 \override Glissando #'minimum-length = #6
 \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
 \set Score.skipBars = ##t
 \set Staff.midiInstrument = #"trumpet"
f4 e8 d f4 d8 ds
e1
R1
ds8. ds16 r16 ds8 ds16 ds8. ds16 r16 ds8 ds16
e1
c8 b c cs d-. e f fs
g1
R1
r2 r4 f,16 f a c
f8 d bf g' e c a c
g'16 g f8 e d c4 r
R1*2
\time 2/4 r2
\time 4/4 R1*8
\time 2/4 r2
\time 4/4 R1
r2 r8 e f fs
g4. f8 d2~
d2 r2

}

trumpetb = {
 \global
 \set Staff.instrumentName = #"Trumpet 2"
 \clef treble
 << \trptb >>
}

% ------ Alto Sax------
alto = \relative c'' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \tempo 4=107
 \numericTimeSignature
 \override Glissando #'thickness = #3
 \override Glissando #'style = #'zigzag
 \override Glissando #'minimum-length = #6
 \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
 \set Score.skipBars = ##t
 \set Staff.midiInstrument = #"alto sax"
d4 c8 bf d4 bf8 b?
c1
R1
b8. b16 r16 b8 b16 b8. b16 r16 b8 b16
c1
a8 gs a bf b-. c d ds
e1
R1

r2 r4 f,16 f a c
d8 bf g d' c a f a
e'16 e d8 c bf a4 r
R1*2
\time 2/4 r2
\time 4/4 R1*8
\time 2/4 r2
\time 4/4 R1
r2 r8 c cs d
e4. e8 bf2~
bf2 r2

}

altosax = {
 \global
 \set Staff.instrumentName = #"Alto Sax"
 \clef treble
 << \alto >>
}


% ------ Tenor------
tenor = \relative c'' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \tempo 4=107
 \numericTimeSignature
 \override Glissando #'thickness = #3
 \override Glissando #'style = #'zigzag
 \override Glissando #'minimum-length = #6
 \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
 \set Score.skipBars = ##t
 \set Staff.midiInstrument = #"tenor sax"
a4 g8 f a4 f8 fs
g1
R1
gs8. gs16 r16 gs8 gs16 gs8. gs16 r16 gs8 gs16
a1
f8 e f fs g-. a bf b?
c1
r4 bf8. a16 g8 a16 g f8 g16 f
e8 f16 e d8 e16 d c4 r
R1*2
\time 2/4 r2
\time 4/4 R1*8
\time 2/4 r2
\time 4/4 R1
f8 d f fs g2
r2 r8 c, r c
c1

}

tenorsax = {
 \global
 \set Staff.instrumentName = #"Tenor Sax"
 \clef treble
 << \tenor >>
}

% ------ Bari------
bari = \relative c'' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \tempo 4=107
 \numericTimeSignature
 \override Glissando #'thickness = #3
 \override Glissando #'style = #'zigzag
 \override Glissando #'minimum-length = #6
 \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
 \set Score.skipBars = ##t
 \set Staff.midiInstrument = #"baritone sax"
f4 e8 d f4 d8 ds
e1
R1
ds8. ds16 r16 ds8 ds16 ds8. ds16 r16 ds8 ds16
e1
c8 b c cs d-. e f fs
g2. bf,,8 b
c4 g''8. f16 e8 f16 e d8 e16 d
c8 d16 c bf8 c16 bf a4 r
R1*2
\time 2/4 r2
\time 4/4 R1*8
\time 2/4 r2
\time 4/4 R1
c8 bf c cs d2
r2 r8 c, r c
c1

}

barisax = {
 \global
 \set Staff.instrumentName = #"Bari Sax"
 \clef treble
 << \bari >>
}

% ------ Trombone------
bone = \relative c' {
 \override MultiMeasureRest #'expand-limit = 1
 \Key
 \qBeam
 \tempo 4=107
 \numericTimeSignature
 \override Glissando #'thickness = #3
 \override Glissando #'style = #'zigzag
 \override Glissando #'minimum-length = #6
 \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
 \set Score.skipBars = ##t
 \set Staff.midiInstrument = #"trombone"
d4 c8 bf d4 bf8 b?
c1
R1
b8. b16 r16 b8 b16 b8. b16 r16 b8 b16
c1
a8 gs a bf b-. c d ds
e1
r4 e8. d16 c8 d16 c bf8 c16 bf
a8 bf16 a g8 a16 g f4 r
R1*2
\time 2/4 r2
\time 4/4 R1*8
\time 2/4 r2
\time 4/4 R1
a8 f g a bf2
r2 r8 c, r c
c1

}

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

\book {
   \score {
       <<
       \new Staff = "trumpeta" \trumpeta
       \new Staff = "trumpetb" \trumpetb
       \new Staff = "alto" \altosax
       \new Staff = "tenor" \tenorsax
       \new Staff = "bari" \barisax
       \new Staff = "trombone" \trombone
       >>
       }
    }
\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 107 4)
               }
          }




reply via email to

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