gnu-music-discuss
[Top][All Lists]
Advanced

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

Re: Repeats on paper and on MIDI output


From: Rune Zedeler
Subject: Re: Repeats on paper and on MIDI output
Date: Mon, 11 Jun 2001 20:11:24 +0200

Jose Romildo Malaquias wrote:

> 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?


mynotes.ly:

melody = \context Staff{
  \notes \repeat \volta 2 {c d e f}
}


myscore.ly:

volta = "volta"
\include "mynotes.ly"
\score{
  \melody
  \paper{}
}

volta = "unfold"
\include "mynotes.ly"
\score{
  \melody
  \midi{}
}


ly2dvi myscore


-Rune



reply via email to

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