X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftempo-performer.cc;h=77058f8ee44046ecbb71c46dc743dea2a976e2a0;hb=31486ed41d761f8c8d93f595bacc0bd78aa0facb;hp=96ba3fa880739c7a58a476463e6433a0ed37a549;hpb=1b9fc29140bd1d9345f784595afd22158876dfb7;p=lilypond.git diff --git a/lily/tempo-performer.cc b/lily/tempo-performer.cc index 96ba3fa880..77058f8ee4 100644 --- a/lily/tempo-performer.cc +++ b/lily/tempo-performer.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2002 Jan Nieuwenhuizen + (c) 1997--2004 Jan Nieuwenhuizen */ @@ -44,10 +44,10 @@ Tempo_performer::create_audio_elements () if (tempo_req_) { - SCM met = tempo_req_->get_mus_property ("metronome-count"); - Duration *d = unsmob_duration (tempo_req_->get_mus_property ("duration")); + SCM met = tempo_req_->get_property ("metronome-count"); + Duration *d = unsmob_duration (tempo_req_->get_property ("tempo-unit")); - Rational r = (d->length_mom () / Moment (Rational (1, 4)) * Moment (gh_scm2int (met))).main_part_; + Rational r = (d->get_length () / Moment (Rational (1, 4)) * Moment (gh_scm2int (met))).main_part_; audio_ = new Audio_tempo (int (r)); @@ -81,5 +81,5 @@ Tempo_performer::try_music (Music* req) ENTER_DESCRIPTION (Tempo_performer, "","", - "tempo-event", + "metronome-change-event", "","","" );