[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to change the name of the MIDI file ?
From: |
Marc Hohl |
Subject: |
Re: How to change the name of the MIDI file ? |
Date: |
Tue, 27 Dec 2011 22:21:57 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16 |
Am 27.12.2011 20:10, schrieb Louis Bettens:
Hello everybody,
Tiny example : try.ly :
\version "2.12.3"
\book {
\score {
%first arpeggio
\relative c' { c e g c }
\midi { }
}
\score {
%second arpeggio
\relative c' { d fis a d }
\midi { }
}
}
The midi output of the first arpeggio goes in "try.midi" and the second in
"try-1.midi".
I would like to specify a filename for each of these outputs ( for example
"arpeggio-C.midi" and "arpeggio-D.midi" )
Perhaps something in the midi block ?
If you save this as arpeggio.ly, then you get
arpeggio-C.midi and arpeggio-D.midi
\book {
\bookOutputSuffix "C"
\score {
%first arpeggio
\relative c' { c e g c }
\midi { }
}
}
\book {
\bookOutputSuffix "D"
\score {
%second arpeggio
\relative c' { d fis a d }
\midi { }
}
}
See
http://lilypond.org/doc/v2.14/Documentation/notation/output-file-names
( think it works with 2.12, too, but not tested)
HTH
Marc
Is it possible ?
Thank you for help !
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user