lilypond-devel
[Top][All Lists]
Advanced

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

Re: Lily 2.7.7 and MIDI


From: Michael Welsh Duggan
Subject: Re: Lily 2.7.7 and MIDI
Date: Sun, 28 Aug 2005 17:21:05 -0400
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Michael Welsh Duggan <address@hidden> writes:

> Here is an additional patch needed for proper tempi:

and another:

Index: lily/tempo-performer.cc
===================================================================
RCS file: /cvsroot/lilypond/lilypond/lily/tempo-performer.cc,v
retrieving revision 1.41
diff -u -p -u -r1.41 tempo-performer.cc
--- lily/tempo-performer.cc     20 Aug 2005 23:20:18 -0000      1.41
+++ lily/tempo-performer.cc     28 Aug 2005 21:19:53 -0000
@@ -49,7 +49,7 @@ Tempo_performer::process_music ()
 
       Rational r = (d->get_length () / Moment (Rational (1, 4)) * Moment 
(scm_to_int (met))).main_part_;
 
-      audio_ = new Audio_tempo (int (r));
+      audio_ = new Audio_tempo (r.to_int ());
 
       Audio_element_info info (audio_, tempo_event_);
       announce_element (info);
-- 
Michael Welsh Duggan
(address@hidden)

reply via email to

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