lilypond-user
[Top][All Lists]
Advanced

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

Re: Naming midi files


From: Leo Correia de Verdier
Subject: Re: Naming midi files
Date: Thu, 17 Feb 2022 12:35:18 +0100

You would have to structure your files and variables differently, for instance 
something like (in pseudocode):

— foo.ly
\include "bar.ily"
\include ”baz.ily”

\book {
  \bookpart {
    \header {
      title = "Bar One"
    }
    \score {
      \barMusic
      \layout{}
    } 
  }
  \bookpart {
    \header {
      title = "BaZ"
    }
    \score {
      \bazMusic
      \layout{}
    }
  }
}

\book {
  \bookOutputName "bar"
  \score {
    \barMusic
    \midi {}
  }
}

\book {
  \bookOutputName "baz"
  \score {
    \bazMusic
    \midi {}
  }
}

— bar.ily
barMusic = %music
— baz.ily
bazMusic = %music

%%%%%%%%%%%%%%%%

> 17 feb. 2022 kl. 11:43 skrev Mark Probert <mark@archsys.net>:
> 
> You wrote:
>>> It’s not that simple, since in the example all the scores are in the 
>>> same book.
>> 
>> It is that simple.
>> Put the score in one book and the midis separate books and done.
>> 
> My understanding is a \midi{} block is contained within a \score{} 
> block.
> 
> The structure I have is
> 
> \book foo
> \bookpart bar
>  \score
>   \midi => foo.mid
> \bookpart baz
>  \score
>   \midi => foo-1.mid
> 
> How do I separate the \midi from the \score putting the score into a 
> \book and the \midi into separate books?
> 
> Thanks,
> ..m.




reply via email to

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