On Sep 1, 2012, at 1:48 PM, Andreas Pavlogiannis wrote: > Hi, > > I 'm a new lilypond user, pretty excited so far. I 'm having the following > difficulties, on the following code. > > [1] In order to align scores on a line, I use the \markup environment, which > seems to suppress the midi output. When removing the \markup (and \line), > midi output is produced. > > [2] Even in that case, the midi is empty. I suspect this has to do with the > multiple voices, as once I remove the "\\", the midi sounds correct. > > Any help is appreciated. > Andreas
I'm going to reply to this post because the mixture of top-posting and bottom posting is annoying. You'll probably be better off if you use variables. With variables, you can define the musical material separately, and then have separate instances for creating a print score and a midi score. \version "2.16.0" topPart = \drums { \time 2/4 \bar "|:"<<{hh8 hh <hh sn> hh }\\ { bd4 r16 bd8. }>> \bar":|" } bottomPart = \drums { \time 2/4 \bar "|:"<<{hh8 hh <hh sn> hh }\\ { bd4 r16 bd8. }>> \bar":|" } \markup{ \line{ \score{ \topPart \layout{} } \score{ \bottomPart \layout{} }%Score }%Line }%Markup \score{ \topPart \midi{} } \score{ \bottomPart \midi{} }%MIDI _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user