Julien Salort wrote:
Julien Salort <[EMAIL PROTECTED]> wrote:


It outputs correctly in the dvi file but not in the MIDI file...


I'm responding to myself.

According to
<http://lilypond.org/doc/v2.3/input/test/out-www/lily-477134323.ly> it
seems that one needs to use « \applymusic #unfold-repeats » to get
correct MIDI output.

I suppose this means that I should have two lilypond source files, one
for the printed output and one for the MIDI output.

Almost the right conclusion! Just add two \score{...} blocks in the same file. If you make good use of identifiers, it doesn't add many lines. For example:

fullScore = \new StaffGroup <<
  \violin
  \cello
  \piano
>>

% Printed output:
\score{
  \fullScore
  \paper{...}
}

% MIDI output, with unwrapped repeats:
\score{
  \applymusic #unfold-repeats \fullScore
  \midi{\tempo 4 = 180 }
}


/Mats


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to