[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: midi for many pieces
From: |
Mats Bengtsson |
Subject: |
Re: midi for many pieces |
Date: |
Fri, 04 Nov 2005 13:41:06 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 |
I seem to recall that this was a bug in version 2.4 that has been fixed
in later
versions. On possibility might be to put each \score{...} within its own
\book{...}, at least for the MIDI outputs (if you do that for the paper
output,
you will get one PDF file for each \book). Note also that the \book in your
example below is completely redundant.
/Mats
Daniel Hernandez wrote:
Hello I working with a composition with many pieces. I structure all they
in a book enviroment like this:
--- file book.ly ----------
: : Flute = \relative c'' {
: \key c \major
: \time 4/4
: a b c d f g a
: } flute = {
: \set Staff.instrument = "Flute "
: \set Staff.midiInstrument = "flute"
: \clef treble
: \context Staff << \Flute >>
: }
: : Violin = \relative c'' {
: \key c \major
: \time 4/4
: g f e d c b a g
: } violin = {
: \set Staff.instrument = "Violin "
: \set Staff.midiInstrument = "violin"
: \clef treble
: \context Staff << \Violin >>
: }
: : \book {
: \header {
: title = "Book test"
: composer = "My name"
: }
: : \score {
: \header { piece = "Piece 1" }
: <<
: \context Staff = flute \flute
: >>
: \layout { }
: \midi { \tempo 4=60 }
: }
: : \score {
: \header { piece = "Pice 2" }
: <<
: \context Staff = violin \violin
: >>
: \layout { }
: \midi { \tempo 4=60 }
: }
: }
:
---------------------------
But when I compile the *.ly file it generate only the midi for the
second score. For the compilation comments above I think that it
overwrite the first score.
address@hidden lilypond book.ly
GNU LilyPond 2.4.5
Processing `book.ly'
Analizando...
Interpreting music... [2]
Preprocessing graphical objects...
Calculating line breaks...
Interpreting music...
Salida MIDI a `book.midi'...
Track...
Interpreting music... [3]
Preprocessing graphical objects...
Calculating line breaks...
Interpreting music...
Salida MIDI a `book.midi'...
Track...
Layout output to `book.tex'...
Converting to `book.dvi'...
Converting to `book.ps'...
Converting to `book.pdf'...
I want to get one midi file, with the two consecutive scores, or two
midi files, one for each score. Do you know how can I do it?
Thanks
Daniel Hernandez
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.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
=============================================