X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftempo-performer.cc;h=c699aea225fdd6ebf922d1a5b0b65ede9648dd44;hb=955f829883aa125b2b633b1e71f6256da5b773fa;hp=96ba3fa880739c7a58a476463e6433a0ed37a549;hpb=1b9fc29140bd1d9345f784595afd22158876dfb7;p=lilypond.git diff --git a/lily/tempo-performer.cc b/lily/tempo-performer.cc index 96ba3fa880..c699aea225 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--2003 Jan Nieuwenhuizen */ @@ -45,9 +45,9 @@ Tempo_performer::create_audio_elements () { SCM met = tempo_req_->get_mus_property ("metronome-count"); - Duration *d = unsmob_duration (tempo_req_->get_mus_property ("duration")); + Duration *d = unsmob_duration (tempo_req_->get_mus_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", "","","" );