lilypond-user
[Top][All Lists]
Advanced

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

Re: MIDI repetition


From: Mats Bengtsson
Subject: Re: MIDI repetition
Date: Fri, 16 Jan 2004 11:12:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Why making it so complicated, see
http://lilypond.org/doc/v2.0/input/test/out-www/collated-files.html#unfold-all-repeats.ly
for a simpler solution.

   /Mats

Erik Sandberg wrote:
On Thursday 15 January 2004 20.55, Alberto Manuel Brandão Simões wrote:

In the other hand, to unfold them makes the paper output to be unfolded
too :(



There is a dirty trick:
1. Put your notes in their own file (say notes.ly, which puts all the notes of your score into the variable YourNotes). 2. Instead of repeat "unfold" 2, use a variable for "unfold" in this file. Like
repeat \foo 2
3. In the file with your \score definitions, do two separate score blocks for paper & midi, including the notes.ly twice with different definitions of foo:

foo = "times"
\include "notes.ly"
\score {
\YourNotes
\paper {..}
}
foo = "unfold"
\include "notes.ly"
\score {
\YourNotes
\midi {tempo 4=100}
}

Hope it works,
Erik



_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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