Hi Manuel,
You'll need to arrange your project so you can generate output for your
overall main score and for individual players' parts, using variables
and \include files.
You'll need to generate the midi files from the compilations when you
generate the individual parts, so these files will look something like this:
% DjembeOne.ly
% Part for Djembe 1 player
\version "2.12.1"
\include "DjembeOneMusic.ily"
%%
%% DO NOT PUT ACCENTED CHARACTERS IN THE STRING FOR
%% output-suffix or your file-names (trackers 714 and 832)
%% OR LILYPOND WILL CRASH WHEN IT GENERATES THE PDF FILES
%%
#(define output-suffix "Rhythm")
\book {
\midi{}
\layout{}
\score {
\DjembeOneRhythm % You'll have defined this in
% DjembeOneMusic.ily
}
}
#(define output-suffix "Echauffement")
\book {
\midi{}
\layout{}
\score {
\DjembeOneEchauffement % You'll have defined this in
% DjembeOneMusic.ily
}
}
This should produce midi files named DjembeOne-Rhythm-1.mid and
DjembeOne-Echauffement-1.mid. You'll also get separate pdfs
DjembeOne-Rhythm-1.pdf and DjembeOne-Echauffement-1.pdf.
There are patches waiting to be reviewed in the development system to
sort out the accented characters issue and the numbering in the output
filenames.
I'm looking at developing a property for the midi code to use in the
development version but I'm on a steep learning curve so it may take a
while.
Cheers,
Ian Hulin
Manuel Bernhardt wrote:
Dear Lilypond team,
there seems to be no possibility to influence the output of the MIDI files, is
there?
As I notate many percussion staves, I often have the problem that one MIDI file
for a whole African rhythm is much too less. Therefore, I additionally add some
scores which only contain the MIDI output for all the pure voices.
Now, imagine you have singing, 2 accompaning Djembé, 3 basses and 1 solo Djembe
for the normal rhythm. Additionally, the basses go into something called
echauffment very often, where the solo Djembe calls the basses and they change
their rhythm.
If the singing and the other Djembé also change (="worst case"), you have 14
MIDI files for the pure voices. I think work was much easier if I could give
the MIDI file an additional property "filename" (or simply use the Staff's
instrumentname, whatever) and the resulting MIDI files were like:
- MyAfricanRhythm-DjembeOne-Rhythm.mid
- MyAfricanRhythm-DjembeTwo-Rhythm.mid
.
.
.
- MyAfricanRhythm-DjembeOne-Echauffment.mid
- MyAfricanRhythm-DjembeTwo-Echauffment.mid
.
.
.
instead of
- MyAfricanRhythm.mid
- MyAfricanRhythm-1.mid
- MyAfricanRhythm-2.mid
.
.
.
Is there a possibility to do that?
Or, if not, to make it possible in future versions?
Best regards,
Manuel
P.S.: I noticed the same for more than one \bookpart: the created PDFs are
called MyAfricanRhythm.pdf, MyAfricanRhythm-1.pdf, MyAfricanRhythm-2.pdf etc.
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond