[EMAIL PROTECTED] said:
> I put the key transposition in .78 

OK! I'll take another look at the octaviation.
Please include the following two changes, anyhow.
The old code in key-item was a real cludge that just
happens to work for our current clefs.

   /Mats

diff -urN ../lilypond-0.1.77/lily/key-item.cc ./lily/key-item.cc
--- ../lilypond-0.1.77/lily/key-item.cc Tue Jul  7 12:47:56 1998
+++ ./lily/key-item.cc  Wed Jul  8 23:28:18 1998
@@ -46,10 +46,10 @@
 Key_item::set_c_position (int c0)
 {
   c0_position = c0;
-  // Find the c within the range of the staff:
-  int from_bottom_pos = c0 + 4;        // ugh
-  int octaves =(from_bottom_pos / 7) +1 ;
-  from_bottom_pos =(from_bottom_pos + 7*octaves)%7;
+  // Find the c in the range -4 through 2
+  int from_bottom_pos = c0 + 4;        
+  from_bottom_pos = from_bottom_pos%7;
+  from_bottom_pos = (from_bottom_pos + 7)%7; // Precaution to get positive.
   c_position  = from_bottom_pos - 4;
 }

diff -urN ../lilypond-0.1.77/mutopia/gallina.ly ./mutopia/gallina.ly
--- ../lilypond-0.1.77/mutopia/gallina.ly       Mon Jul  6 16:08:13 1998
+++ ./mutopia/gallina.ly        Tue Jul  7 22:10:49 1998
@@ -183,7 +183,7 @@
 }
 
 
-bc=\melodic\transpose c''{
+bc=\melodic\transpose c'{
   \clef "bass";
   \meter 4/4;
 

 

Reply via email to