]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/input-music.cc
release: 0.0.43
[lilypond.git] / lily / input-music.cc
index 8ccc9071b8813b8b28d874f1498a3c61f0ad4b28..5c8aa72472c0fd186eefd380f627c5c3df39e14f 100644 (file)
@@ -21,6 +21,12 @@ Input_music::check_plet(Voice_element* velt_l)
         }
 }
 
+void
+Simple_music::transpose(Melodic_req const &d)const
+{
+    voice_.transpose(d);
+}
+
 void
 Simple_music::add(Voice_element*v)
 {
@@ -67,6 +73,12 @@ Simple_music::set_plet_backwards(Moment& now_moment_r, Moment until_moment, int
 
 /* *************** */
 
+void
+Complex_music::transpose(Melodic_req const& d) const
+{
+     for (iter_top(elts,i); i.ok(); i++)
+        i->transpose(d);
+}
 void
 Complex_music::add(Input_music*v)
 {