On Wed, May 5, 2010 at 12:17 AM, Mats Bengtsson <[email protected]> wrote: > > > Martin Tarenskeen wrote: >> >> >> On Tue, 4 May 2010, Bill Moorier wrote: >> >>> Hello, >>> >>> I need to generate one pdf file for each track of an input midi file. >>> Is this already possible using midi2ly and lilypond? I couldn't find >>> an option to do it. Or do I need to start by writing a preprocessor >>> that splits the input midi file into multiple midi files, each >>> containing a single track? >> >> Don't expect yoo much from midi2ly. To be honest, it isn't much good >> currently. Maybe Rosegarden can export separate tracks as lilypond ? > > Actually, if you look at the code generated by midi2ly, you will notice that > each track ends up as a separate variable (see > http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Organizing-pieces-with-variables#index-assigning-variables) > which means that you only have to change the lines that put these into a > \score, in order to obtain separate scores for each track. In order to get a > separate PDF file for each, you can add a \book block around each \score.
Great, thanks Mats, I'll see if I can get that working. Cheers, Bill. -- Bill Moorier abstractnonsense.com | @billmoorier VP Software Development justin.tv _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
