lilypond-user
[Top][All Lists]
Advanced

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

Re: MIDI and tremolo


From: Mats Bengtsson
Subject: Re: MIDI and tremolo
Date: Mon, 24 May 2004 11:40:03 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113



Julien Salort wrote:
Julien Salort <address@hidden> 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




reply via email to

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