bug-lilypond
[Top][All Lists]
Advanced

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

Re: \midi plays straight through repeat marks


From: Reinhold Kainhofer
Subject: Re: \midi plays straight through repeat marks
Date: Sun, 19 Jun 2011 17:36:06 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.4; i686; ; )

Am Sonntag, 19. Juni 2011, 16:55:25 schrieben Sie:
> On Sun, Jun 19, 2011 at 04:21:55PM +0200, Reinhold Kainhofer wrote:
> > Still, it would often be useful to have a global flag to switch on/off
> > repeat expansion for midi globally. That would be extremely useful in
> > particular for tremolo repeats (but also for ordinary volta repeats
> > sometimes)!
> 
> Didn't somebody add that in
>   704b06c2bbaebd2ce83e7c04481c12e8fbdf9363
> ?  :)

Not that I can see. That command-line option would only give you the chance to 
easily set such a global switch.
But AFAICS, there is currently no such flag to cause repeat expansion without 
explicitly prepending \unfoldRepeats in the midi block...

E.g. suppose you have a file like

%%%%%%%%%%%%%%%%%%%%%
\version "2.15.0" 

\layout {}
\midi {}
\score {
  \relative c'' {
    \repeat tremolo 8 { c32 e }
    \repeat percent 2 { c8 d }
  }
}
\score {
  \relative c'' {
    \repeat tremolo 8 { c32 e }
    \repeat percent 2 { c8 d }
  }
}
%%%%%%%%%%%%%%%%%%%%%

Is there any current way to switch on/off expansion of the repeats in both 
scores for the midi output, other than manually prepending \unfoldRepeats in 
BOTH scores?

Cheers,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org



reply via email to

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