[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bar line check is wrong with partial note and voltas
From: |
Kenneth Wolcott |
Subject: |
Re: Bar line check is wrong with partial note and voltas |
Date: |
Mon, 12 Oct 2020 10:10:07 -0700 |
Thank you Aaron! I learned today, thanks to you, why my repeats fail
when creating midi files with Lilypond!
On Mon, Oct 12, 2020 at 10:03 AM Aaron Hill <lilypond@hillvisions.com> wrote:
>
> On 2020-10-12 9:56 am, Knute Snortum wrote:
> > Hi everyone.
> >
> > I think I've run into a bug. It's hard to explain so I will post the
> > MWE (it's as minimal as I could make it):
> >
> > %%% Start
> > \version "2.20.0"
> >
> > rightHand = \relative c' {
> > \partial 4 c4
> > c4 c c
> >
> > \repeat volta 2 {
> > c4 |
> > c4 c c c |
> > }
> > \alternative {
> > { c4 c c }
> > { c4 c c c }
> > }
> >
> > c1 |
> > }
> >
> > \score {
> > \new Staff \rightHand
> > \midi {
> > }
> > }
> > %%% End
> >
> > The c1 at the end of the music produces a bar line check warning. It
> > only happens when creating a MIDI file. It only happens when the volta
> > is in the middle of the measure. It only happens when an alternate
> > ending doesn't contain a full measure of notes.
> >
> > Any thoughts? I really appreciate you guys.
>
> Don't you need to \unfoldRepeats when doing MIDI output?
>
> %%%%
> \score {
> \new Staff \unfoldRepeats \rightHand
> \midi { }
> }
> %%%%
>
>
> -- Aaron Hill
>