The NR advises using \unfoldRepeats to produce a midi file that plays
all the repeats.  I use a lot of \barNumberChecks in my work because
it saves time spotting errors.  In pieces with repeats, this produces
many "Barcheck failed" warnings.  Is there a way to suppress bar
checking within the midi score block?

% Tiny example
mymusic = {
   \time 4/4
   \repeat volta 2 {
 g'1
      \barNumberCheck #2
   }
   c'1
   \barNumberCheck #3
}

\book {
  \score {
     \mymusic
     \layout {}
  }
  \score {
     % Causes "Barcheck failed" warnings
     \unfoldRepeats \mymusic
     \midi {}
  }
}

\version "2.14.1"

Thanks,
Mike

Attachment: unfold.pdf
Description: Adobe PDF document

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

Reply via email to