bug-lilypond
[Top][All Lists]
Advanced

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

Re: MIDI files are overwritten when using \book


From: Mats Bengtsson
Subject: Re: MIDI files are overwritten when using \book
Date: Wed, 24 Nov 2004 11:08:02 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

I forward it to bug-lilypond as it at least is an incompatibility
with earlier versions.

One way to get midi files with different names is to include each \score
in a separate \book{...}. However, then you will also get a separate
.pdf file for each score, which maybe is not what you want.

   /Mats

Maurizio Tomasi wrote:
Consider the following file `test.ly':

\book {
    \score {
    \relative c' { c4 d e f g1 }
    \midi {}
    }

    \score {
    \relative g' { g4 f e d c1 }
    \midi {}
    }
}

The output of Lilypond is the following:

$ lilypond --no-layout test.ly
GNU LilyPond 2.4.2
Processing `test.ly'
Parsing...
Interpreting music...
MIDI output to `test.midi'...
Track...
Interpreting music...
MIDI output to `test.midi'...
Track...

The resulting `test.midi' file contains only the second score: to me this seems a bug.

I remember that older Lilypond versions created test.midi, test-1.midi and so on. How can I force such a behaviour with \book?

Regards,
  Maurizio.


--
=============================================
        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]