[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repeats on paper and on MIDI output
From: |
Jose Romildo Malaquias |
Subject: |
Re: Repeats on paper and on MIDI output |
Date: |
Mon, 11 Jun 2001 15:49:04 -0300 |
User-agent: |
Mutt/1.2.5i |
On Mon, Jun 11, 2001 at 08:11:24PM +0200, Rune Zedeler wrote:
> 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
Is there a way to accomplish this trick with only one
file. That is, is it possible to have the equivalent
of mynotes.ly and myscore.ly in a single file, in the
above example?
Thanks,
Romildo
--
Prof. José Romildo Malaquias <address@hidden>
Departamento de Computação
Universidade Federal de Ouro Preto
Brasil