2015-01-26 0:20 GMT+01:00 Thomas Morley <thomasmorle...@gmail.com>: > 2015-01-25 17:52 GMT+01:00 Michael Hendry <hendry.mich...@gmail.com>: >> Does anyone have a solution for this issue? >> >> Like Michael Ellis, I like to use both "|" and \barNumberCheck to pick up >> rhythm errors and missing or duplicated bar that I've made, and I use MIDI >> output to pick up wrong notes in my transcriptions. >> >> I can usually pick out the erroneous \barNumberCheck warnings because the >> bar number reported usually exceeds the number of bars in the piece, but I >> prefer to see no error messages. >> >> Temporarily disabling MIDI output also works, but I'd prefer to leave >> working code alone, and not be constantly commenting it out and then back in >> again. > > > > Maybe: > > mymusic = { > \time 4/4 > \repeat volta 2 { > g'1 > \barNumberCheck #2 > } > c'1 > \displayMusic ^^^^^^^^^^^^^^^^^^^ delete this line ofcourse > \barNumberCheck #3 > } > > \book { > \score { > \mymusic > \layout {} > } > \score { > { \unfoldRepeats \set Score.currentBarNumber = #1 \mymusic } > \midi {} > } > } > > No idea why it's needed or why it works at all. > > Cheers, > Harm
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user