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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to