lilypond-user
[Top][All Lists]
Advanced

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

Re: number of measures per staff


From: Urs Liska
Subject: Re: number of measures per staff
Date: Sun, 23 Dec 2012 15:54:42 +0100
User-agent: K-9 Mail for Android

Use a separate voice (or e.g. a Dynamics context) and fill that with spacer rests.
If you write for example

\repeat unfold 16 {
S1*4 \break
}

You will get 16 staves a 4 4/4 measures
HTH
Urs
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.



d paddy <address@hidden> schrieb:
I would like to have four measures per staff (but more generally, how to control when to go to the next staff?).
The following does not work, for two reasons:  First, it inserts a mess of empty measures rather than
putting music in the measures.  Second, it would seem to require that I know in advance what argument to
supply to "unfold", but I am looking for a solution which will simply but four measures per staff without the
necessity of me having to count measures...

Thanks

dpaddy



\version "2.16.0"
\score {
  \new Staff
    \new Voice  {
       \set midiInstrument = #"acoustic guitar (steel)"
       \voiceOne
    \clef treble
    \key g \major
    \time 4/4


        \repeat unfold 7 {
                 s1 \noBreak s1 \noBreak
                 s1 \noBreak s1 \break }

    \partial 8

%          1th staves 1th measure: 1 track
        <<
\override Stem #'direction = #DOWN
         { g''8  }\\
         >> |
%          1th staves 2th measure: 1 track
        <<
\override Stem #'direction = #DOWN
         { < c''' d''' >4  \times 2/3 { < c''' d''' >4  e''8  } < c''' g'' >4  \times 2/3 { < c''' g'' >4  g''8 }  }\\
         >> |
%          1th staves 3th measure: 1 track
        <<
\override Stem #'direction = #DOWN
         { \times 2/3 { < c''' d''' >4  < e''' c''' >8 } \times 2/3 { d'''4  e''8 } < c''' g'' >4  \times 2/3 { < c''' g'' >4  g''8 }  }\\
         >> |
%          1th staves 4th measure: 1 track
        <<
\override Stem #'direction = #DOWN
         { < c''' d''' >4  \times 2/3 { < c''' d''' >4  e''8  } < c''' g'' >4  \times 2/3 { < c''' g'' >4  g''8 }  }\\
         >> |
%          1th staves 5th measure: 1 track
        <<
         { < c''' d''' >2 e'4  g'4 }\\
         >> |
%          2th staves 1th measure: 2 track
        <<
         { d''2  \times 2/3 { d''4  c''8~ } \times 2/3 { c''8  d''8  e''8 }  }\\
         { < g' e' c'~  >4  \times 2/3 { < g' e' c' >4  g8~ } < g g' e'>4  < g' e' >4  }\\
         >> |
%          2th staves 2th measure: 3 track
        <<
         { b'2~  b'8  b'8~  \times 2/3 { b'8  d''8  fis''8~ }  }\\
         { < a' e' >4  < a' e' >4  < a' ees' >4  a'8 r8 }\\
\override Stem #'direction = #DOWN
         { b4  \times 2/3 { b4  b8~  } b2 }\\
         >> |
%          2th staves 3th measure: 3 track
        <<
         { fis''2~  \times 2/3 { fis''4  b'8 } \times 2/3 { d''4  g''8~ } }\\
         {  a'4  a'4 r2 }\\
\override Stem #'direction = #DOWN
         { < d' b~  >4  \times 2/3 { < d' b >4  a8  } fis4  r4  }\\
         >> |
%          2th staves 4th measure: 3 track
        <<
         { g''1  }\\
         { < d'' b' >4  < d'' b' >4  < e'' b' >4  < e'' b' >4  }\\
\override Stem #'direction = #DOWN
         { e4.  e8  e4.  a8  }\\
         >> |

%          3th staves 1th measure: 2 track
        <<
         { e'8  g'4  d''8~  d''2  }\\
         { c'4  e'4  < a' e' g >4  < a' e' >8  a8  }\\
         >> |
%          3th staves 2th measure: 2 track
        <<
         { e'8  g'4  e''16  d''16~  d''2  }\\
         { c'4  e'4  < a' e' g >4  < a' e' >8  d'8  }\\
         >> |
%          3th staves 3th measure: 2 track
%          Error Measure Duration: 450
        <<
         { e'8  g'4  d''8~  d''2~  }\\
         { g4  d'8  r8  < g' fis' b >4  < fis' g' >8  < g~ >8 }\\
         >> |
%          3th staves 4th measure: 2 track
        <<
         { d''2  e'4  g'4  }\\
         { < g' fis' g >4  < fis' g' >8  r8  e'4~  \times 2/3 { e'8  d'8 cis'8 } }\\
         >> |
%          4th staves 1th measure: 2 track
        <<
         { d''2 \times 2/3 { d''4  c''8~ } \times 2/3 { c''8  d''8 e''8 } }\\
         { < g' e' c'~ >4  \times 2/3 { < g' e' c' >4 g8~ } < g g' e' >4 < g' e' >4 }\\
         >> |
%          4th staves 2th measure: 3 track
        <<
         { b'2~  b'8  b'8  \times 2/3 { b'8  d''8  fis''8~ }  }\\
         { < a' e' >4  < a' e' >4  b2  }\\
         { b4.  b8  < a' e' >4  a'8  r8  }\\
         >> |
%          4th staves 3th measure: 3 track
        <<
         { fis''2  fis''8  b'8  d''8  g''8~  }\\
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { < a' d' >4  < a' d' >4  fis4 s1*120/480 }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { b4.  a8 s1*240/480 }\\
         >> |
%          4th staves 4th measure: 3 track
        <<
         { g''1  }\\
         { < d'' b' >8  < d'' b' >4  e8~  e4.  a8  }\\
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { e4.  < e'' b' >8  < e'' b' >4 s1*120/480 }\\
         >> |

%          5th staves 1th measure: 2 track
        <<
         { e'8  g'4  d''8  d''2  }\\
         { c'4  e'4  < a' e' g >4  < a' e' >8  a8  }\\
         >> |
%          5th staves 2th measure: 2 track
        <<
         { e'8  g'4  e''16  d''16  d''2  }\\
         { c'4  e'4  < a' e' g >4  < a' e' >8  d'8  }\\
         >> |
%          5th staves 3th measure: 2 track
        <<
         { e'8  g'4  d''8  d''2  }\\
         { g4  d'8  r8  < g' fis' b >4  < fis' g' >8  g8~  }\\
         >> |
%          5th staves 4th measure: 2 track
        <<
         { d''2  fis'8  < g' b >4  < fis' g' >8  }\\
         { < g' fis' g >4  < fis' g' >8  b8  r4.  g'8  }\\
         >> |

%          1th staves 1th measure: 2 track
        <<
         { \times 2/3 { g'4  g'8  a'4  a'8  b'4  b'8  a'4  a'8 }  }\\
         { c'4  e'4  g4  e'4  }\\
         >> |
%          1th staves 2th measure: 2 track
        <<
         { \times 2/3 { g'4  g'8  a'4  a'8  b'4  b'8  r8  a'8  g'8 }  }\\
         { c'4  e'4  g4  e'4  }\\
         >> |
%          1th staves 3th measure: 2 track
        <<
         { \times 2/3 { < d'' a' fis' >4  < fis' a' d'' >8  < e'' b' g' >4  < g' e'' b' >8  < fis'' d'' a' >4  < a'~  fis'' d'' >8  < fis'' a' >8  e''8  d''8 }  }\\
         { b4  r4  b4  fis'4  }\\
         >> |

%          2th staves 1th measure: 4 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 240, adding a rest time 180.
         { < fis'' e'' >4  < fis' d'' a' >4  e8~ s1*180/480 }\\  %  e2
%          the duration 300 is shorter than expected 480, adding a rest time 180
         { < a' d'' >4  e'4  fis''8 s1*180/480 }\\
%          the duration 300 is shorter than expected 480, adding a rest time 180
         { e4.  e''4 s1*180/480 }\\
%          the duration 300 is shorter than expected 480, adding a rest time 180
         { r8  < b' g' >4  < e' g' >4 s1*180/480 }\\
         >> |
%          2th staves 2th measure: 2 track
%          Error Measure Duration: 440
        <<
%          the duration 500 is longer than expected 480, remove 60, adding a rest time 40.
         { \times 2/3 { < g'' d'' b' >4  } r8  e'8  r8  a8  \times 2/3 { < g'' c'' a' >8  < g'' c'' a' >4 } s1*40/480 }\\  %  } r8
%          the duration 460 is shorter than expected 480, adding a rest time 20
         { a8  \times 2/3 { < g'' d'' b' >8  < g'' d'' b' >4  < g'' d'' b' >8  < g'' c'' a' >8  < c'' g'' a' >8  } r8  e'8  \times 2/3 { < g'' c'' a' >8 } s1*20/480 }\\
         >> |
%          2th staves 3th measure: 2 track
%          Error Measure Duration: 420
        <<
%          the duration 500 is longer than expected 480, remove 120, adding a rest time 100.
         { \times 2/3 { < g'' b' g' >4  } r8  e'8  r8  a8  r8 s1*100/480 }\\  %  r4
%          the duration 460 is shorter than expected 480, adding a rest time 20
         { a8  \times 2/3 { < g'' b' g' >8  < g'' b' g' >4  < g'' b' g' >8  < g'' c'' a' >4  e''8  fis''4  g''8 } s1*20/480 }\\
         >> |

%          3th staves 1th measure: 2 track
        <<
         { < a'' d'' a' >4  r8  \times 2/3 { d'''16  c'''16  b''16  } a''4  r8  \times 2/3 { a''16  g''16  fis''16 }  }\\
         { d'1  }\\
         >> |
%          3th staves 2th measure: 2 track
        <<
         { d''4  r4  e'4  g'4  }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { d'4  r4 s1*240/480 }\\
         >> |
%          3th staves 3th measure: 2 track
        <<
%          the duration 540 is longer than expected 480, remove 120, adding a rest time 60.
         { d''2  g8~  < g' e' g >4 s1*60/480 }\\  %  < g' e' >4
         { < g' e' c'~  >4  < g' e' c' >4  \times 2/3 { d''4  c''8  c''8  d''8  e''8 }  }\\
         >> |
%          3th staves 4th measure: 3 track
        <<
         { b'2~  b'8  b'8  \times 2/3 { b'8  d''8  fis''8 }  }\\
         { < a' e' >4  < e' a' >4  b2  }\\
         { b4.  b8  < a' e' >4  < a' e' >8  r8  }\\
         >> |

%          4th staves 1th measure: 3 track
        <<
         { fis''2~  fis''8  b'8  d''8  g''8~  }\\
         { d'4  < a' d' >4  < a' d' fis >4  r4  }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { < a' b >4.  fis8 s1*240/480 }\\
         >> |
%          4th staves 2th measure: 3 track
        <<
         { g''2  < e'' b' >4  < b' e'' >4  }\\
         { < d'' b' >4  < b' d'' >4  e4.  a8  }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { e4.  e8 s1*240/480 }\\
         >> |
%          4th staves 3th measure: 2 track
        <<
         { e'8  g'4  d''8  d''2  }\\
         { c'4  e'4  < a' e' g >4  < e' a' >8  a8  }\\
         >> |
%          4th staves 4th measure: 2 track
        <<
         { e'8  g'4  e''16  d''16  d''2  }\\
         { c'4  e'4  < a' e' g >4  < e' a' >8  g8  }\\
         >> |

%          5th staves 1th measure: 2 track
%          Error Measure Duration: 450
        <<
%          the duration 450 is shorter than expected 480, adding a rest time 30
         { < fis'' d'' g' >8  < b'~  d''~  >8  < d'' b' >8  < b' a' fis' >8  b4  b16  g8~ s1*30/480 }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { g4  g4 s1*240/480 }\\
         >> |
%          5th staves 2th measure: 2 track
        <<
         { < a' fis' b' >4  r4  < b' a' >4  d''4  }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { g4  r4 s1*240/480 }\\
         >> |
%          5th staves 3th measure: 3 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 80, adding a rest time 20.
         { a''4  < g' d'' b' >4  d'8  a''8  g''8  \times 2/3 { g''8 } s1*20/480 }\\  %  a''8  b''8
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { r4  < d'' b' d' >2 s1*120/480 }\\
%          the duration 300 is shorter than expected 480, adding a rest time 180
         { g4.  < d'' b' >4 s1*180/480 }\\
         >> |
%          5th staves 4th measure: 3 track
%          Error Measure Duration: 540
        <<
         { g''2  fis8  r8  fis4  }\\
%          the duration 540 is longer than expected 480, remove 120, adding a rest time 60.
         { c''4  < b' c'' >4  fis''8  r4 s1*60/480 }\\  %  r4
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { fis4  < c'' a' >4  a''8  c'''8 s1*120/480 }\\
         >> |

%          1th staves 1th measure: 3 track
        <<
%          the duration 420 is shorter than expected 480, adding a rest time 60
         { c'''4  < fis'' c'' a'' >4  fis'8  b''8  fis''8 s1*60/480 }\\
%          the duration 255 is shorter than expected 480, adding a rest time 225
         { r4  < a'' fis' >32  a''8  d'''8 s1*225/480 }\\
%          the duration 180 is shorter than expected 480, adding a rest time 300
         { fis'4. s1*300/480 }\\
         >> |
%          1th staves 2th measure: 2 track
        <<
         { r4  < b' fis'' d'' >4  < b' b fis'' d'' >4  < b' fis'' d'' >4  }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { b4.  b8 s1*240/480 }\\
         >> |
%          1th staves 3th measure: 2 track
        <<
         { b'8  d''8~  d''8  a''8  a''4  < d'' b' >4  }\\
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { < b' g' >4  < d'' b' d' >2 s1*120/480 }\\
         >> |
%          1th staves 4th measure: 3 track
        <<
%          the duration 540 is longer than expected 480, remove 240, adding a rest time 180.
         { b'8  d''8~  d''8  b''8  a''8 s1*180/480 }\\  %  d'2
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { < b' g' >4  r4 s1*240/480 }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { a''4  < b' d'' >4 s1*240/480 }\\
         >> |

%          2th staves 1th measure: 3 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 60, adding a rest time 0.
         { b'8  d''8  d''8  a''8  a''4  < e'' b' fis' >4  }\\  %  d'8
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { d'2  < e'' b' >4 s1*120/480 }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { < b' fis' >4  a4 s1*240/480 }\\
         >> |
%          2th staves 2th measure: 1 track
%          Error Measure Duration: 360
        <<
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { r8  b'8  \times 2/3 { d''8  b'8  d''8  fis''8  d''8  fis''8 } s1*120/480 }\\
         >> |
%          2th staves 3th measure: 3 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 120, adding a rest time 60.
         { a''2  a''8  g''4 s1*60/480 }\\  %  < b' d'' >4
%          the duration 540 is longer than expected 480, remove 60, adding a rest time 0.
         { r4  < g' d'' b' >4  < d'' b' d' >2  }\\  %  a''16  b''16
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { g4.  d'8 s1*240/480 }\\
         >> |
%          2th staves 4th measure: 3 track
%          Error Measure Duration: 540
        <<
         { g''2  fis8  r8  fis4  }\\
%          the duration 540 is longer than expected 480, remove 120, adding a rest time 60.
         { c''4  < c'' b' >4  fis''8  r4 s1*60/480 }\\  %  r4
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { fis4  < c'' a' >4  a''8  c'''8 s1*120/480 }\\
         >> |

%          3th staves 1th measure: 3 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 60, adding a rest time 0.
         { c'''4  < a'' fis'' c'' >4  fis'8  fis'8  fis''8  a''8  }\\  %  d'''8
%          the duration 120 is shorter than expected 480, adding a rest time 360
         { r4 s1*360/480 }\\
%          the duration 180 is shorter than expected 480, adding a rest time 300
         { fis'4. s1*300/480 }\\
         >> |
%          3th staves 2th measure: 2 track
        <<
         { r4  < d'' b' fis'' >4  < b' b fis'' d'' >4  < d'' b' fis'' >4  }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { b4.  b8 s1*240/480 }\\
         >> |
%          3th staves 3th measure: 2 track
        <<
         { b'8  d''8~  d''8  a''8  a''4  < d'' b' >4  }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { < b' g' >4  < d'' b' d' >4 s1*240/480 }\\
         >> |
%          3th staves 4th measure: 3 track
        <<
%          the duration 540 is longer than expected 480, remove 240, adding a rest time 180.
         { b'8  d''8~  d''8  b''8  g''8 s1*180/480 }\\  %  d'2
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { < b' g' >4  r4 s1*240/480 }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { a''4  < b' d'' >4 s1*240/480 }\\
         >> |

%          4th staves 1th measure: 3 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 60, adding a rest time 0.
         { b'8  d''8  d''8  a''8  a''4  < fis' e'' b' >4  }\\  %  d'8
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { d'2  < e'' b' >4 s1*120/480 }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { < fis' b' >4  a4 s1*240/480 }\\
         >> |
%          4th staves 2th measure: 2 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 60, adding a rest time 0.
         { < d'' b' fis' >4  < fis' d'' b' >4  < c'' fis' d'' >4  < d'' c'' fis' >4  }\\  %  g8
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { d'4.  a8  a4 s1*120/480 }\\
         >> |
%          4th staves 3th measure: 1 track
        <<
         { \times 2/3 { < b' d'' >4  < b' d'' >8  < e'' d'' b' >4  < e'' d'' b' >8  < b' fis'' d'' >4  < b' fis'' d'' >8  < e'' d'' b' >4  < e'' d'' b' >8 }  }\\
         >> |
%          4th staves 4th measure: 1 track
        <<
         { \times 2/3 { c'8  b'8  d''8  } e''8  < b' fis'' d'' >8  < c' fis'' d'' b' >8  e''4.  }\\
         >> |

%          5th staves 1th measure: 1 track
        <<
         { \times 2/3 { r4  < d'' a' fis' >4  < d'' g' e'' >4  < fis'' d'' a' >4  < d'' g' e'' >4  < d'' fis' a' >4 }  }\\
         >> |
%          5th staves 2th measure: 2 track
        <<
         { < fis'' d'' a' >4  < d'' fis' a' >4  < b' g' d' >8  e''4  fis''8  }\\
         { b4.  e8  e2  }\\
         >> |
%          5th staves 3th measure: 2 track
%          Error Measure Duration: 500
        <<
%          the duration 620 is longer than expected 480, remove 180, adding a rest time 40.
         { \times 2/3 { < g'' d'' b' >4  } r8  e'8  r8  a8  < a' g'' c'' >4 s1*40/480 }\\  %  r8  e'8  r8
%          the duration 580 is longer than expected 480, remove 120, adding a rest time 20.
         { a8  \times 2/3 { < g'' d'' b' >8  < g'' d'' b' >4  < g'' d'' b' >8  } < g'' c'' a' >4  < g'' c'' a' >4 s1*20/480 }\\  %  \times 2/3 { < g'' c'' a' >4  < g'' c'' a' >8
         >> |
%          5th staves 4th measure: 2 track
%          Error Measure Duration: 420
        <<
%          the duration 500 is longer than expected 480, remove 120, adding a rest time 100.
         { \times 2/3 { < g'' b' g' >4  } r8  e'8  r8  a8  r8 s1*100/480 }\\  %  r4
%          the duration 460 is shorter than expected 480, adding a rest time 20
         { a8  \times 2/3 { < g'' b' g' >8  < g'' b' g' >4  < g'' b' g' >8  < g'' c'' a' >4  e''8  fis''4  g''8 } s1*20/480 }\\
         >> |

%          1th staves 1th measure: 2 track
        <<
         { < a'' d'' a' >4  r8  \times 2/3 { d'''16  c'''16  b''16  } a''4  r8  \times 2/3 { a''16  g''16  fis''16 }  }\\
         { d'1  }\\
         >> |
%          1th staves 2th measure: 2 track
        <<
         { d''4  r4  e'4  g'4  }\\
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { d'4  r4  e'8  c'8 s1*120/480 }\\
         >> |
%          1th staves 3th measure: 2 track
        <<
%          the duration 540 is longer than expected 480, remove 120, adding a rest time 60.
         { d''2  g8~  < g' e' g >4 s1*60/480 }\\  %  < g' e' >4
         { < g' e' c'~  >4  < e' c' g' >4  \times 2/3 { d''4  c''8  c''8  d''8  e''8 }  }\\
         >> |

%          2th staves 1th measure: 3 track
        <<
         { b'2~  b'8  b'8~  \times 2/3 { b'8  d''8  fis''8~ }  }\\
         { < a' e' >4  < a' e' >4  < a' e' >4  < a' e' >8  r8  }\\
         { b4.  b8~  b2  }\\
         >> |
%          2th staves 2th measure: 2 track
%          Error Measure Duration: 540
        <<
%          the duration 600 is longer than expected 480, remove 120, adding a rest time 0.
         { fis''2  fis''8  b'8  d''8  g''8~  }\\  %  r4
         { < a' d' b >4.  < d' a' >4  fis8~  < a' d' fis >4  }\\
         >> |
%          2th staves 3th measure: 3 track
        <<
         { g''2  < e'' b' >4  < e'' b' >4  }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { < d'' b' >4  < d'' b' >4 s1*240/480 }\\
         { e4.  e8~  e4.  a8  }\\
         >> |

%          3th staves 1th measure: 2 track
        <<
         { e'8  g'4  d''8  d''2  }\\
         { c'4  e'4  < a' e' g >4  < a' e' >8  a8  }\\
         >> |
%          3th staves 2th measure: 2 track
        <<
         { e'8  g'4  e''16  d''16  d''2  }\\
         { c'4  e'4  < a' e' g >4  < a' e' >8  g8~  }\\
         >> |
%          3th staves 3th measure: 2 track
%          Error Measure Duration: 450
        <<
%          the duration 450 is shorter than expected 480, adding a rest time 30
         { < fis'' d'' g' >8  < d'' b' >8  < d'' b' >8  < a' fis' b' >8  b4  b16  g8~ s1*30/480 }\\
%          the duration 180 is shorter than expected 480, adding a rest time 300
         { g4  g8 s1*300/480 }\\
         >> |
%          3th staves 4th measure: 2 track
        <<
         { < b' g' fis' >8  r8  \times 2/3 { fis'16  fis'16  fis'16  } fis'8  r4  r4  }\\
%          the duration 360 is shorter than expected 480, adding a rest time 120
         { g8  r8  r4  a'4 s1*120/480 }\\
         >> |

%          4th staves 1th measure: 2 track
        <<
         { e'8  g'4  d''8  d''2  }\\
         { c'4  e'4  < a' e' g >4  < e' a' >8  a8  }\\
         >> |
%          4th staves 2th measure: 3 track
        <<
         { e'8  g'4  e''8  d''4.  d''8  }\\
%          the duration 510 is longer than expected 480, remove 270, adding a rest time 240.
         { c'4  e'4 s1*240/480 }\\  %  < a' e' >4.
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { g4.  r8 s1*240/480 }\\
         >> |
%          4th staves 3th measure: 1 track
%          Error Measure Duration: 440
        <<
%          the duration 440 is shorter than expected 480, adding a rest time 40
         { < g'' a'' >4  \times 2/3 { < g'' a'' >4  } < g'' d'' >4  \times 2/3 { < g'' d'' >4  d''8 } s1*40/480 }\\
         >> |
%          4th staves 4th measure: 1 track
%          Error Measure Duration: 440
        <<
%          the duration 440 is shorter than expected 480, adding a rest time 40
         { \times 2/3 { < g'' a'' >4  < b'' g'' >8  a''4  } < g'' d'' >4  \times 2/3 { < g'' d'' >4  d''8 } s1*40/480 }\\
         >> |

%          5th staves 1th measure: 2 track
        <<
%          the duration 620 is longer than expected 480, remove 180, adding a rest time 40.
         { < g'' a'' >4  \times 2/3 { < g'' a'' >4  } < g'' d'' >4  \times 2/3 { g''4. } s1*40/480 }\\  %  d''4.
%          the duration 40 is shorter than expected 480, adding a rest time 440
         { \times 2/3 { d''8 } s1*440/480 }\\
         >> |
%          5th staves 3th measure: 2 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 60, adding a rest time 0.
         { c'4  < e'' b' g' >4  g4  < fis'' c''~  a' >8  < b' c'' g'' >8  }\\  %  < a' c'' fis'' >8
%          the duration 120 is shorter than expected 480, adding a rest time 360
         { r4 s1*360/480 }\\
         >> |
%          5th staves 4th measure: 2 track
        <<
         { e''1  }\\
         { c'4  < g' e' b' >4  g4  < g' e' b' >4  }\\
         >> |

%          1th staves 1th measure: 2 track
        <<
%          the duration 300 is shorter than expected 480, adding a rest time 180
         { < fis'' d'' g' >8  < d'' b' >8  r8  fis'''8  < fis' b' a' >8 s1*180/480 }\\
%          the duration 960 is longer than expected 480, remove 720, adding a rest time 240.
         { g4  d'4 s1*240/480 }\\  %  fis'''1  b4  fis'4
         >> |
%          1th staves 2th measure: 2 track
%          Error Measure Duration: 630
        <<
%          the duration 540 is longer than expected 480, remove 180, adding a rest time 120.
         { g4  < fis' g' b' >4  b4 s1*120/480 }\\  %  b'4.
%          the duration 270 is shorter than expected 480, adding a rest time 210
         { < fis' g' >4. s1*210/480 }\\
         >> |
%          1th staves 3th measure: 2 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 60, adding a rest time 0.
         { c'4  < b' g' e'' >4  g4  < fis'' c''~  a' >8  < c'' g'' b' >8  }\\  %  < a' fis'' c'' >8
%          the duration 120 is shorter than expected 480, adding a rest time 360
         { r4 s1*360/480 }\\
         >> |
%          1th staves 4th measure: 2 track
        <<
         { e''1  }\\
         { c'4  < e' b' g' >4  g4  < e' b' g' >4  }\\
         >> |

%          2th staves 1th measure: 2 track
%          Error Measure Duration: 960
        <<
%          the duration 300 is shorter than expected 480, adding a rest time 180
         { < fis'' d'' g' >8  < d'' b' >8  r8  fis'''8  < b' a' fis' >8 s1*180/480 }\\
%          the duration 960 is longer than expected 480, remove 720, adding a rest time 240.
         { g4  d'4 s1*240/480 }\\  %  fis'''1  b4  fis'4
         >> |
%          2th staves 2th measure: 2 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 180, adding a rest time 120.
         { g4  < b' fis' g' >4  b4 s1*120/480 }\\  %  < b' g' >4.
%          the duration 120 is shorter than expected 480, adding a rest time 360
         { fis'4 s1*360/480 }\\
         >> |
%          2th staves 3th measure: 2 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 60, adding a rest time 0.
         { c'4  < e'' b' g' >4  b4  < fis'' c''~  a' >8  < b' c'' g'' >8  }\\  %  < c'' a' fis'' >8
%          the duration 120 is shorter than expected 480, adding a rest time 360
         { r4 s1*360/480 }\\
         >> |
%          2th staves 4th measure: 2 track
        <<
         { e''1  }\\
         { a4  < g' e' c'' >4  g4  < c'' g' >4  }\\
         >> |

%          3th staves 1th measure: 2 track
        <<
         { < fis'' d'' g' >8  < d'' b' >4  a''8  \times 2/3 { g''4  d''8  b''4  a''8 }  }\\
         { g4  d'4  < d'' a' c' >2  }\\
         >> |
%          3th staves 2th measure: 2 track
        <<
         { d'''2  < a'' d'' b' >4  < d'' b' g'' >4  }\\
         { b4  \times 2/3 { < d'' a' fis'' >4  e'8  } e'2  }\\
         >> |
%          3th staves 3th measure: 4 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 60, adding a rest time 0.
         { \times 2/3 { a''4  g''8  a''4  b''8  } c'''4  c'4  }\\  %  e'8
         { e''4  < e'' c'' g' >4  g''4  < g'' d'' >4  }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { c''4  d''4 s1*240/480 }\\
%          the duration 120 is shorter than expected 480, adding a rest time 360
         { a4 s1*360/480 }\\
         >> |
%          3th staves 4th measure: 2 track
%          Error Measure Duration: 540
        <<
%          the duration 540 is longer than expected 480, remove 60, adding a rest time 0.
         { < g'' c'' a' >4  < a' c'' g'' >4  d'8  < fis'' c'' a' >4  < a' c'' fis'' >8  }\\  %  d''8
%          the duration 300 is shorter than expected 480, adding a rest time 180
         { e'4  d'4. s1*180/480 }\\
         >> |

%          4th staves 1th measure: 1 track
%          Error Measure Duration: 440
        <<
%          the duration 440 is shorter than expected 480, adding a rest time 40
         { < g'' a'' >4  \times 2/3 { < g'' a'' >4  } < g'' d'' >4  \times 2/3 { < g'' d'' >4  d''8 } s1*40/480 }\\
         >> |
%          4th staves 2th measure: 1 track
%          Error Measure Duration: 440
        <<
%          the duration 440 is shorter than expected 480, adding a rest time 40
         { \times 2/3 { < g'' a'' >4  < b'' g'' >8  a''4  } < g'' d'' >4  \times 2/3 { < g'' d'' >4  d''8 } s1*40/480 }\\
         >> |
%          4th staves 3th measure: 1 track
%          Error Measure Duration: 440
        <<
%          the duration 440 is shorter than expected 480, adding a rest time 40
         { < g'' a'' >4  \times 2/3 { < g'' a'' >4  } < g'' d'' >4  \times 2/3 { < g'' d'' >4  g'8 } s1*40/480 }\\
         >> |
%          4th staves 4th measure: 3 track
%          Error Measure Duration: 660
        <<
%          the duration 720 is longer than expected 480, remove 480, adding a rest time 240.
         { g16  fis'16  a'16  d''16  fis''4 s1*240/480 }\\  %  c'''1
%          the duration 420 is shorter than expected 480, adding a rest time 60
         { a'4.  a'2 s1*60/480 }\\
%          the duration 240 is shorter than expected 480, adding a rest time 240
         { b4  c'''4 s1*240/480 }\\
         >> |

    }%new voice
    \layout { }
    \midi {
     \context {
      \Staff
      \remove "Staff_performer"
     }
     \context {
      \Voice
      \consists "Staff_performer"
     }
     \context {
      \Score
      tempoWholesPerMinute = #(ly:make-moment 120 4)
     } %context
    }% midi
}% new score


reply via email to

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