lilypond-user
[Top][All Lists]
Advanced

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

Need to suppress bar number checking in midi block


From: Michael Ellis
Subject: Need to suppress bar number checking in midi block
Date: Sat, 24 Mar 2012 19:31:34 -0400

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


reply via email to

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