lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: midifile output name


From: Simon Albrecht
Subject: Re: midifile output name
Date: Thu, 29 Sep 2016 20:28:31 +0200

Hi Bart,

you can try something like

\book {
  \score {
    …
    \midi { … }
  }
  \bookOutputName "andante"
}

for each of the etudes, and one \book{} for all the pdf output.

HTH, Simon


On 29.09.2016 20:19, bart deruyter wrote:
Hi all,

I've got a collection of etudes for my students here, included in one file, to create one pdf. I've enabled midi, but now I've got a bunch of midi files which all have the name of the lilypond document, like this:

The .ly file with the collection is called "Study collection.ly <http://collection.ly>"
The midi files then are named:
Study collection.midi
Study collection-1.midi
Study collection-2.midi,
etc.. (up to 30 for now).

When I render one etude separately, the midi file gets the name of that separate file (e.g. andante.ly <http://andante.ly> gives andante.midi), but when rendered in the collection file it would be named "Study collection-25.midi" because it is the 25th included file.

All etudes are in separate lilypond files with a "\score", so I was wondering if there is a way to define a custom filename for the midi-file, for each score, which gets passed through to the collection file.

Is this possible?

thx,

Bart

http://www.bartart3d.be/
On Twitter <https://twitter.com/Bart_Issimo>
On Identi.ca <http://identi.ca/bartart3d>
On Google+ <https://plus.google.com/u/0/b/116379400376517483499/>


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]