[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: One MIDI file pr voice
From: |
Mats Bengtsson |
Subject: |
Re: One MIDI file pr voice |
Date: |
Mon, 31 Mar 2008 09:47:27 +0200 |
User-agent: |
Thunderbird 2.0.0.5 (X11/20070716) |
If you have organized your input file using variables (see
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Large-projects#Large-projects)
it's just to add a \score{...} block for every new MIDI file:
\version "2.10.0"
violin = \relative c'' {
g4 c'8. e16
}
viola = \relative c' {
c4 e
}
\score{
\violin
\midi{}
}
\score{
\viola
\midi{}
}
The only problem is the naming of the resulting MIDI files. If your file
is called
myfile.ly, then the resulting MIDI files will be named myfile.midi,
myfile-1.midi,
myfile-2.midi, ... and you will have to keep track of which one is which.
An alternative is to use separate .ly files for every instrument, that
\include
the actual music (see
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Scores-and-parts#Scores-and-parts
for more hints)
/Mats
Morten Lemvigh wrote:
Is there an easy way to produce a MIDI file per voice? Or should I do
it with several runs of Lilypond, commenting the other voiced out?
Regards,
Morten
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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
=============================================