Re: Naming multiple midi files
On 12/21/19, 10:06 AM, "kupirijo" wrote: I see. But then I need to copy the notes twice, one for the book with layout and for the book with the midi. No, you just need to put the notes in a variable. myMusic = { ... } \score { \myMusic \layout{} } \score { \myMusic \midi{} } HTH, Carl kupirijo Στις 21/12/19 6:55 pm, ο Robin Bannister έγραψε: > kupirijo wrote: >> Thanks. I am aware of this method but this is not exactly what I want. I >> need to output one .pdf file, not many. > > The \book blocks I suggested will not produce .pdf files. > They do not contain \layout sections. > > To output the .pdf file you need a single additional \book block with > \paper, \score and \layout sections (and no \midi section). > > > Cheers, > Robin > >
Re: Naming multiple midi files
I see. But then I need to copy the notes twice, one for the book with layout and for the book with the midi. kupirijo Στις 21/12/19 6:55 pm, ο Robin Bannister έγραψε: kupirijo wrote: Thanks. I am aware of this method but this is not exactly what I want. I need to output one .pdf file, not many. The \book blocks I suggested will not produce .pdf files. They do not contain \layout sections. To output the .pdf file you need a single additional \book block with \paper, \score and \layout sections (and no \midi section). Cheers, Robin
Re: Naming multiple midi files
kupirijo wrote: Thanks. I am aware of this method but this is not exactly what I want. I need to output one .pdf file, not many. The \book blocks I suggested will not produce .pdf files. They do not contain \layout sections. To output the .pdf file you need a single additional \book block with \paper, \score and \layout sections (and no \midi section). Cheers, Robin
Re: Naming multiple midi files
Thanks. I am aware of this method but this is not exactly what I want. I need to output one .pdf file, not many. Is this possible? Best, kupirijo Στις 21/12/19 1:11 pm, ο Robin Bannister έγραψε: kupirijo wrote: I would like to specify the name (or extensions) of the .midi files exported by the \midi{} command. I have multiple \scores{} in one .ly file producing one .pdf file and multiple .midi files. I do something like that by setting up a \book block for each midi output file. Each such block has a \score section and a \midi section and starts off with a \bookOutputName (or just a \bookOutputSuffix) declaration. See http://lilypond.org/doc/v2.19/Documentation/notation/output-file-names Cheers, Robin
Re: Naming multiple midi files
kupirijo wrote: I would like to specify the name (or extensions) of the .midi files exported by the \midi{} command. I have multiple \scores{} in one .ly file producing one .pdf file and multiple .midi files. I do something like that by setting up a \book block for each midi output file. Each such block has a \score section and a \midi section and starts off with a \bookOutputName (or just a \bookOutputSuffix) declaration. See http://lilypond.org/doc/v2.19/Documentation/notation/output-file-names Cheers, Robin