> 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


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to