Hi Sarah,

in the lines 114 and 169 your braces are still not right, they should be
after the \relative c command and not before.

In line 315 and 366, there is a closing brace missing (I suppose).

With these changes, LilyPond is able to compile it and the time
signatures are right (12/8). But there are some remaining issues:

* What do you intend with \repeat volta 1? Why would you want to put
something in a repeat that is not repeated.

* The octaves are probably not correctly set (up to 20 ledger lines).

* There are lots of failing bar checks, i.e. wrong durations.

* Wrong durations may be connected to full measure rests written as R1
instead of R1*12/8

* Linked to that, the durations of different staffs and voices do not
match, therefore you have a lot of additional repeat bars in the score.

* There are slurs starting but not ending.

I hope this helps you to proceed. A slightly corrected version (braces
and rests) is attached.

Cheers,
Joram
%!TEX TS-program = Lilypond

#(set-global-staff-size 17)
\paper {
  indent = 3.0\cm  % space for instrumentName
  short-indent = 1.5\cm  % space for shortInstrumentName
}
global=
{\time 12/8
\tempo 4. = 100
}
%flute section, 2 flutes

fluteMusic =
{ \relative c'  \key g \major
\global

\repeat volta 2 {
\partial 8 d8 |
\repeat percent 1 {g4 d8 b a g } 
g4 b'8 c( b a) b4( g8) g4 a8 |
\repeat percent 1 { d8 a fis e d } |
d8( fis e) g( fis e) fis4( d8) d4 a8 |
b8( a b d b gis \grace a gis a) a4 g8 |
fis8 e fis f e f f4 e8 e a g |
<<

{ \voiceOne
fis8( e fis) e( d e) d( a fis) d' a fis |
}

\new Voice
{ \voiceTwo
a4 a8  g4 g8 d a fis d' a fis |
}
>>
\oneVoice
r8 d8 d r8 d8 d r8 fis8 fis r8 d8 d |
r8 a8 a r8 a a fis4 fis8 e d cis |
d4 fis8 g( fis e) f4. r4 |
}

\repeat volta 2 {\partial 8 r8 |
<<
 \new Voice
{ \voiceOne
d8( fis a d a fis)  d4.~ d4. |
}
\new Voice
{ \voiceTwo
d4.~ d4.~ d8 fis a d a fis |
}
>>
\oneVoice
f4. fis'8( e fis g) fis4.~ fis4 r8 | } }

% Pitches as written on a manuscript for Clarinet in BFlat
% are transposed to concert pitch.
clarinetMusic = \transpose c' bes
  \relative c'' { \key g \major
\global

{\repeat volta 2 {
\partial 8 r8 |
d4. r4. } d4. r4. |
g4 b'8 c8( b a) b4. r8 r8 r8 |
R1*12/8 |
d4. g8( fis e) fis4.~ fis4 r8 | 
b4. e4. a4. a4 g8 |
fis8 e d f( e f) f4. g4. |
a4 a8 g4 g8 fis4. fis4. |
R1*12/8*3
}
\repeat volta 2 {\partial 8 r8|
<d a>4. r4 <d a>4. r4 |
d4 fis8 g( fis e) fis4 d8 d4 r8 |
<a cis>4. r4. <a cis>4. r4. |
e4. cis d r4. |
b4. fis4. d4. d4. |
<d g>4. c8( cis b fis4.~ fis4. |
c4. cis( b cis) d4.~ d4. |
<b d>4. r4. <fis a>4. r4. |
g4.~ g4.~ g4.~ g4 r8 |
g4.~ g4.~ g4.~ g4 r8 |
g4. d4. g4. r4 |
}
}

% for 2 trumpets
trumpetMusic = \relative c { \key g \major  \repeat volta 2 {
\partial 8 r8 |

R1*12/8*7
r8 d8 d r8 d8 d r8 fis8 fis r8 d8 d |
r8 a8 a r8 a8 a <d fis>4 <d fis>8 d( d cis) |

<<
{ \voiceOne
d4. fis8 g fis d4. r8 r8 |}
\new Voice
{ \voiceTwo
d4. a4. d
}
>>
\oneVoice
}
}


%for 2 bassoons
bassoonMusic =

\relative c {
 \key g\major
\global
\repeat volta 2 
{ \partial 8 r8 |
<g d>4. r4. <g d>4. r4 |
<g d>4. <d a> <g d> r4.|
<d a>4. r4. <d a>4. r4.  |
 d4 fis8( g fis e) d4.~ d4 r8 |
d'4. gis a cis |
 d4. a d r4. |
R1*12/8*3
}
\repeat volta 1 {\partial 8 r8
d4. r4. d4. r4. |
d4. a'4. d8 fis a d4. |
g4. a4. d4.~ d4. |
d4.~ d4 ais4.~ ais4. |
b4. fis b b8( cis b) |
g2~ g2~ g2 |
g2~ g2~ g2 |
g1~ g2 |
g2~ g2~ g2 |
g4. d4. d4. r4. |} }

%for 2 oboes
oboeMusic =
\relative c'
{ \key g \major
\global
\repeat volta 1 {
\partial 8 r8
R1*12/8*10}
\repeat volta 1 {\partial 8 a8 |
<a d>4. a8 fis e d <a d>4. a8 fis e d |
d4 fis'8 g fis e fis4 d8 d4 e8 |
<e a>4. e8 cis b a <e a>4. e8 cis b a |
g'8 fis e  r8 \grace g8 fis e fis r8 d8 a |
b8 d g fis a cis d a fis d4 fis |
<fis b>4 fis8 d' cis b <cis fis>4 cis a gis fis |<fis b>4  fis'8 d d cis b <ais cis>4 fis8 e d cis |
<<
{ \voiceOne
b8 ais b ais4. b fis d b4 d8 |}
\new voice
{ \voiceTwo
d4. cis b cis r2 r4 |
} >>
\oneVoice
<d g>4  d'8 b a g <d g>4 a8 fis e d |
g8( a b) a( g fis) g(d b) g( d b) |R1*12/8*2
g4 b8 c( b a) g4. r4 |
} }

% Key signature is often omitted for horns
hornMusic = \transpose c' f
 \relative c {
\global

  { \repeat volta 2 { \partial 8 d'8 |
 g4 r8 r4. g4 r8 r4 |
b8 c( b a) b4 g8 g4 a |
d'4. r4. d4. r4. |
  d4. e fis d |
b4. b4. a8( gis a) a4 g |
<<
{ \voiceOne fis8 e f) \grace f e f f4 e8 e a g |
\new Voice
{ \voiceTwo d4.~ d4 d4. cis |
}
}

>>

\oneVoice
fis4 e fis fis|
r8 d8 d fis d d r8 fis8 fis a fis fis |
<<
{ \voiceOne
 a2.~\trill  a2.\trill |
d8  a g fis e d4. r8 r8 |
}\new Voice
{ \voiceTwo d8 a a d a a d4 d8 e d cis |
d4 fis8 g fis e d4 r8 r8 |
}
>>
\oneVoice
}
\repeat volta 2 { \partial 8 a'8 |
d4. r4. d4. r4. |
d4 fis8 g( fis e) d4.~ d4 d|
a4. r4. a4. r4. |<<
{ \voiceOne
g8( f g) r8 e8 g \grace g8 fis e fis c a |}
\new Voice
{ \voiceTwo d4. d4. d4. d4.|}
>>
\oneVoice
b'4. r4. b4. r4. |
b4. ais b r4| R1*12/8 |
R1*12/8
R1*12/8
R1*12/8
r8 g8 g b g g r8 b8 b d b b |
r8 d8 d g d d r8 r8 <g b> a g fis |
g4 <b d>8 b c a g4 r4 }  } }

percussionMusic = \relative c { \key g \major 

g4. r4. g4 r4. |
g4. d g r4. |
d4. f4. d4. f4. |
d4. a d r4. |
 R1*12/8
 R1*12/8
 R1*12/8
 R1*12/8
  }
violinIMusic = \relative c' { \key g \major \repeat volta 2 {
\partial 8 d'8 |
<g d b g>4 d'8 b a g <g, d b g>4 d'8 b, a g|
g4 b'8 c( b a) b4( g8) g4 a8 |
<d a fis d>8 a fis e d  <d a fis d>8 a fis e d |
d8( fis e) g( fis e) fis4( d8) d4 a8 |
b8 a b d b gis a gis a a4 g8 |
fis8 e fis f e f f4 e8 e a g |
<<

{ \voiceOne
fis8( e fis) e( d e) d( a fis) d' a fis |
}

\new Voice
{ \voiceTwo
a4 a8  g4 g8 d a fis d' a fis |
}
>>
\oneVoice
r8 d8 d r8 d8 d r8 fis8 fis r8 d8 d |
r8 a8 a r8 a a fis4 fis8 e d cis |
d4 fis8 g( fis e) f4. r4 |
}
\repeat volta 2
{\partial 8 r8 |
<d a fis d>4. r4. <d a fis d>4. r4.  |
d4 fis'8 g fis e fis4 d8 d r8 |
b8( d g) fis( a cis) <d a fis d>4. <d a fis d>4. |
<b fis d b>4. r4 <fis cis ais>4. r4. |b4. a4. b4. b4. |<g d b g>4 d8 b, a g <d a fis>4. r4. g8( a b a g fis g d b g b d) |



 }
}
violinIIMusic = \relative c' { \key g \major
\global

\repeat volta 2 {\partial 8 d'8 |
g'4 d8 b a g g'4 d8 b a g |
g'4. fis g4.~ g4. |
d'4 a8 fis, e d d'4 a8 fis e d |
d4 cis d r4. |
g fis g g4 gis  a4. g |
d4. d d cis |
r8 d8 d fis( d) d r8 fis8 fis a fis fis |
 d8 a a d( a) a d8 e fis e d cis |
 d4 a8 g( fis e) d4. r8 | }
 \repeat volta 2 {\partial 8 r8 |
 d'4 a8 fis e d d'4 a8 fis e d |
 d4. cis d cis |
 a'4 e8 cis, b a a'4 e8 cis b a |
g4. r4. d4. d4. |
b4 r4 cis r4 |
d4. cis b r4 d8 |<g=, g'>4. r4. <d d'>4. r4. b8( a b a g a g d b g b d) |
g4.~ g4.~ g4.~ g4.~ |
g4.~ g4.~ g4.~ g4. |
d4. r4. d4. r4. |
g4 d8( c b a g4 r4 |
}

}

violaMusic = \relative c { \clef alto \key g \major g'1 b }
celloMusic = \relative c { \clef bass \key g \major g1 b }
bassMusic = \relative c { \clef "bass_8" \key g \major g,1 b }

\score {
  <<
    \new StaffGroup = "StaffGroup_woodwinds" <<
      \new Staff = "Staff_flute" {
        \set Staff.instrumentName = #"Flute"
        % shortInstrumentName, midiInstrument, etc.
        % may be set here as well
        \fluteMusic
      }
      \new Staff = "Staff_clarinet" {
        \set Staff.instrumentName =
        \markup { \concat { "Clarinet in B" \flat } }
        % Declare that written Middle C in the music
        %  to follow sounds a concert B flat, for
        %  output using sounded pitches such as MIDI.
        \transposition bes
        % Print music for a B-flat clarinet
        \transpose bes c' \clarinetMusic }
              \new Staff = "Staff_bassoon" {
        \set Staff.instrumentName = #"Bassoon"
        % shortInstrumentName, midiInstrument, etc.
        % may be set here as well
        \bassoonMusic

}
>>
    \new StaffGroup = "StaffGroup_brass" <<
      \new Staff = "Staff_hornI" {
        \set Staff.instrumentName = #"Horn in F"
        \transposition f
        \transpose f c' \hornMusic
      }
      \new Staff = "Staff_trumpet" {
        \set Staff.instrumentName = #"Trumpet in  C"
        \trumpetMusic
      }
    >>
    \new RhythmicStaff = "RhythmicStaff_percussion" <<
      \set RhythmicStaff.instrumentName = #"Percussion"
      \percussionMusic
    >>

       \new StaffGroup = "StaffGroup_strings" <<
      \new GrandStaff = "GrandStaff_violins" <<
        \new Staff = "Staff_violinI" {
          \set Staff.instrumentName = #"Violin I"
          \violinIMusic
        }
        \new Staff = "Staff_violinII" {
          \set Staff.instrumentName = #"Violin II"
          \violinIIMusic
        }
      >>
      \new Staff = "Staff_viola" {
        \set Staff.instrumentName = #"Viola"
        \violaMusic
      }
      \new Staff = "Staff_cello" {
        \set Staff.instrumentName = #"Cello"
        \celloMusic
      }
      \new Staff = "Staff_bass" {
        \set Staff.instrumentName = #"Double Bass"
        \bassMusic
      }
    >>
  >>
  \layout { }
}

\version "2.16.2"
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to