The following produces a barcheck warning:

\version "2.19.82"

\layout {
  \context {
    \Score
    \remove "Timing_translator"
    \remove "Default_bar_line_engraver"
  }
  \context {
    \Staff
    \consists "Timing_translator"
    \consists "Default_bar_line_engraver"
  }
}

\score { 
  << 
    \new Staff { 
      \time 4/4 
      a1 |
    }
    \new Staff {
      \time 7/8
      a4. a4 a |
    } 
  >>
  \layout { }
  \midi { }
}

-> 21:10: warning: barcheck failed at: 1/8
      a1 
         |

There's no warning if I comment out the midi block.
Despite the warning, the midi file plays correctly, following the time 
signature of the lowest staff.
AFAIK the midi standard may not allow for independent meters in different 
channels. If this is the reason for the barcheck warning, maybe a more specific 
(single) message would be appropriate? It took me a long time to find out why 
the barcheck warnings were being produced...

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to