lilypond-user
[Top][All Lists]
Advanced

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

unfoldRepeats for midi


From: Paul Scott
Subject: unfoldRepeats for midi
Date: Fri, 05 Jun 2009 12:16:59 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081204 Iceape/1.1.14 (Debian-1.1.14-1)

2.13.1

I have read all of NR 3.5

If I have this structure:
global = { \repeat volta 2 s1*6 \alternative { { s1*2 } { s1*2 } } }

Should the following work to unfold the above repeats for a MIDI file?

\score{
 \new Score{ << { \unfoldRepeats \global } \melody >> }
 \midi{
   \context{ \Score tempoWholesPerMinute = #(ly:make-moment 120 4) }
 }
}

Thanks,

Paul Scott











reply via email to

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