lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeat midi using "repeat volta"


From: Gilles
Subject: Re: Repeat midi using "repeat volta"
Date: Thu, 17 Nov 2005 01:28:29 +0100
User-agent: Mutt/1.5.11

> How is it posible to create a midi file repeating a bar 20 times, but still 
> using the command
> 
>    \repeat volta 20 {
>    }
> ?
> 
> If i write unfold, it generates 20 bars in the layout, and thats not what i 
> need.
> Until now I have created 2 files, a layout file, and a midi....but isnĀ“t 
> it possible to do it in one file?
>

Yes, it is:

%---
\version "2.6.0"

themusic = \new Staff
\relative c'' {
  \repeat volta 20 {
    a b c d |
  }
}

\score {
  \themusic
  \layout {}
}

\score {
  \unfoldRepeats \themusic
  \midi { \tempo 4 = 60 }
}
%---


Best,
Gilles




reply via email to

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