]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-performer.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / staff-performer.cc
index 54a57b94515fa72d5be2ce7d7e51fcdba307e478..b8facd23645e3abbad7fe2bb0a625ff08097a0ac 100644 (file)
@@ -64,13 +64,7 @@ Staff_performer::initialize ()
 {
   audio_staff_ = new Audio_staff;
   name_ = new Audio_text (Audio_text::TRACK_NAME, context ()->id_string ());
-
-  Rational r = robust_scm2moment (get_property ("tempoWholesPerMinute"),
-                                 Moment (15,1)).main_part_;
-
-  r *= Rational (4,1);
-  
-  tempo_ = new Audio_tempo (r.to_int ());
+  tempo_ = new Audio_tempo (get_tempo ());
 
   audio_staff_->add_audio_item (name_);
   audio_staff_->add_audio_item (tempo_);