Hello.

What is a good way to write a lilypond file for a music with
"repeat volta" that typesets correctly and generates a MIDI
that unfolds the repeat?

For example, consider the attached file, which typesets
correctly, but does not generate a MIDI file with the
repeat unfolded. How could it be modified so that it
still typesets correctly and unfold the repeat in the
generated MIDI file?

Regards,

Romildo
-- 
Prof. José Romildo Malaquias <[EMAIL PROTECTED]>
Departamento de Computação
Universidade Federal de Ouro Preto
Brasil
\score {
  \notes \relative c' {
    \time 4/4
    \key c \major
    \partial 4
    \repeat volta 2 {
      \partial 4
       e8 f8 | g8. a16 g8 e g4 \breathe g8 g | a8. b16 a8 f a4 \breathe
       a8 a | b8. b16 b8 a
    }
    \alternative { {g8 a f g | e2. } {\partial 2 g8 g a b | c2.} }
    g8 c8 | b8. b16 b8 b8 b8 f8 f8 a8 | g2.
  }

  \paper {
  }

  \midi {
    \tempo 4=80
  }
}

Reply via email to